Author: qboosh Date: Fri Dec 22 19:17:38 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-IO-Compress-Lzop.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-IO-Compress-Lzop.spec diff -u /dev/null SPECS/perl-IO-Compress-Lzop.spec:1.1 --- /dev/null Fri Dec 22 20:17:38 2006 +++ SPECS/perl-IO-Compress-Lzop.spec Fri Dec 22 20:17:33 2006 @@ -0,0 +1,75 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir IO +%define pnam Compress-Lzop +Summary: Modules to read/write lzop files/buffers +Summary(pl): Moduły do odczytu/zapisu plików/buforów lzop +Name: perl-IO-Compress-Lzop +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: 00ac1a8fcf74c15952947ad541c31c49 +URL: http://search.cpan.org/dist/IO-Compress-Lzop/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Compress-LZO +BuildRequires: perl-IO-Compress-Base +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +IO::Compress::Lzop and IO::Uncompress::UnLzop modules provide a Perl +interface that allows reading and writing lzop compressed data from/to +files or buffer. + +%description -l pl +Moduły IO::Compress::Lzop i IO::Uncompress::UnLzop udostępniają +perlowy interfejs umożliwiający odczyt i zapis danych skompresowanych +algorytmem lzop 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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/IO/Compress/Adapter/LZO.pm +%{perl_vendorlib}/IO/Compress/Lzop.pm +%{perl_vendorlib}/IO/Compress/Lzop +%{perl_vendorlib}/IO/Uncompress/Adapter/LZO.pm +%{perl_vendorlib}/IO/Uncompress/UnLzop.pm +%{_mandir}/man3/IO::* + +%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 2006/12/22 19:17:33 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
