[packages/perl-Parse-DebControl] new, version 2.005
glen
glen at pld-linux.org
Wed Jan 15 12:46:47 CET 2014
commit 497fb8ae33ed5c9b2f23c67f8cabf00b531f84dc
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Jan 15 13:46:20 2014 +0200
new, version 2.005
based on fedora package
dffc11375fb0bf3278a2dd4a1ee3257e7e76fc30
perl-Parse-DebControl.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
---
diff --git a/perl-Parse-DebControl.spec b/perl-Parse-DebControl.spec
new file mode 100644
index 0000000..5e4ce15
--- /dev/null
+++ b/perl-Parse-DebControl.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define pdir Parse
+%define pnam DebControl
+%include /usr/lib/rpm/macros.perl
+Summary: Easy OO parsing of debian control-like files
+Name: perl-Parse-DebControl
+Version: 2.005
+Release: 1
+License: GPL+ or Artistic
+Group: Applications/File
+Source0: http://search.cpan.org/CPAN/authors/id/J/JA/JAYBONCI/Parse-DebControl-%{version}.tar.gz
+# Source0-md5: 4fbf2e0b28a471a5e94394615303daf6
+URL: http://search.cpan.org/dist/Parse-DebControl/
+BuildRequires: perl-Test-Simple
+BuildRequires: perl-base
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Compress::Zlib)
+BuildRequires: perl(IO::Scalar)
+BuildRequires: perl(LWP::UserAgent)
+BuildRequires: perl(strict)
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Easy OO parsing of debian control-like files.
+
+%prep
+%setup -q -n Parse-DebControl-%{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
+
+# Remove empty directory tree
+rm -r $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES
+%{perl_vendorlib}/Parse/DebControl.pm
+%{_mandir}/man3/Parse::DebControl.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Parse-DebControl.git/commitdiff/497fb8ae33ed5c9b2f23c67f8cabf00b531f84dc
More information about the pld-cvs-commit
mailing list