Author: radek                        Date: Fri Feb 20 09:58:31 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-DBIx-Class-IntrospectableM2M.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-DBIx-Class-IntrospectableM2M.spec
diff -u /dev/null SPECS/perl-DBIx-Class-IntrospectableM2M.spec:1.1
--- /dev/null   Fri Feb 20 10:58:31 2009
+++ SPECS/perl-DBIx-Class-IntrospectableM2M.spec        Fri Feb 20 10:58:26 2009
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DBIx
+%define        pnam    Class-IntrospectableM2M
+Summary:       DBIx::Class::IntrospectableM2M - Introspect many-to-many 
shortcuts
+#Summary(pl.UTF-8):    
+Name:          perl-DBIx-Class-IntrospectableM2M
+Version:       0.001001
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/DBIx/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9c05959fdb632062ec827ec0c7335eae
+URL:           http://search.cpan.org/dist/DBIx-Class-IntrospectableM2M/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-DBIx-Class
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Because the many-to-many relationships are not real relationships, they can not
+be introspected with DBIx::Class. Many-to-many relationships are actually just
+a collection of convenience methods installed to bridge two relationships.
+This DBIx::Class component can be used to store all relevant information
+about these non-relationships so they can later be introspected and examined.
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/DBIx/Class/*.pm
+%{_mandir}/man3/*
+
+%define        date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/02/20 09:58:26  radek
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to