[svn] r6181 - in trunk/rpms: . perl-DBD-PgLite

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Thu Feb 28 00:55:18 CET 2008


Author: dag
Date: 2008-02-27 23:55:17 +0000 (Wed, 27 Feb 2008)
New Revision: 6181

Added:
   trunk/rpms/perl-DBD-PgLite/
   trunk/rpms/perl-DBD-PgLite/perl-DBD-PgLite.spec
Log:
Updates

Added: trunk/rpms/perl-DBD-PgLite/perl-DBD-PgLite.spec
===================================================================
--- trunk/rpms/perl-DBD-PgLite/perl-DBD-PgLite.spec	2008-02-27 11:39:41 UTC (rev 6180)
+++ trunk/rpms/perl-DBD-PgLite/perl-DBD-PgLite.spec	2008-02-27 23:55:17 UTC (rev 6181)
@@ -0,0 +1,55 @@
+# $Id$
+# Authority: dag
+# Upstream: Baldur Kristinsson <bk$mbl,is>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name DBD-PgLite
+
+Summary: PostgreSQL emulation mode for SQLite
+Name: perl-DBD-PgLite
+Version: 0.09
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/DBD-PgLite/
+
+Source: http://www.cpan.org/modules/by-module/DBD/DBD-PgLite-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl
+
+%description
+PostgreSQL emulation mode for SQLite.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes LICENSE MANIFEST META.yml README Todo
+%doc %{_mandir}/man3/DBD::PgLite.3pm*
+%doc %{_mandir}/man3/DBD::PgLite::*.3pm*
+%dir %{perl_vendorlib}/DBD/
+%{perl_vendorlib}/DBD/PgLite/
+%{perl_vendorlib}/DBD/PgLite.pm
+
+%changelog
+* Thu Feb 28 2008 Dag Wieers <dag at wieers.com> - 0.09-1
+- Initial package. (using DAR)


Property changes on: trunk/rpms/perl-DBD-PgLite/perl-DBD-PgLite.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native



More information about the svn-commits mailing list