SPECS: perl-IO-Compress-Bzip2.spec (NEW) - new
qboosh
qboosh at pld-linux.org
Fri Dec 22 19:57:36 CET 2006
Author: qboosh Date: Fri Dec 22 18:57:36 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-IO-Compress-Bzip2.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-IO-Compress-Bzip2.spec
diff -u /dev/null SPECS/perl-IO-Compress-Bzip2.spec:1.1
--- /dev/null Fri Dec 22 19:57:36 2006
+++ SPECS/perl-IO-Compress-Bzip2.spec Fri Dec 22 19:57:31 2006
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir IO
+%define pnam Compress-Bzip2
+Summary: Modules to read/write bzip2 files/buffers
+Summary(pl): Moduły do odczytu/zapisu plików/buforów bzip2
+Name: perl-IO-Compress-Bzip2
+Version: 2.001
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: f9b2721506081eecc70de8f934df68ea
+URL: http://search.cpan.org/dist/IO-Compress-Bzip2/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Compress-Raw-Bzip2
+BuildRequires: perl-IO-Compress-Base
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+IO::Compress::Bzip2 and IO::Uncompress::Bunzip2 modules provide a Perl
+interface that allows reading and writing bzip2 compressed data from/to
+files or buffer.
+
+%description -l pl
+Moduły IO::Compress::Bzip2 i IO::Uncompress::Bunzip2 udostępniają
+perlowy interfejs umożliwiający odczyt i zapis danych skompresowanych
+algorytmem bzip2 z/do plików lub buforów.
+
+%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} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/IO/Compress/Adapter/Bzip2.pm
+%{perl_vendorlib}/IO/Compress/Bzip2.pm
+%{perl_vendorlib}/IO/Uncompress/Adapter/Bunzip2.pm
+%{perl_vendorlib}/IO/Uncompress/Bunzip2.pm
+%{_mandir}/man3/IO::*
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/12/22 18:57:31 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list