Author: qboosh Date: Fri Dec 22 19:10:50 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-IO-Compress-Lzf.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-IO-Compress-Lzf.spec diff -u /dev/null SPECS/perl-IO-Compress-Lzf.spec:1.1 --- /dev/null Fri Dec 22 20:10:50 2006 +++ SPECS/perl-IO-Compress-Lzf.spec Fri Dec 22 20:10:45 2006 @@ -0,0 +1,83 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir IO +%define pnam Compress-Lzf +Summary: Modules to read/write lzf files/buffers +Summary(pl): Moduły do odczytu/zapisu plików/buforów lzf +Name: perl-IO-Compress-Lzf +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: 3fcedabd13be7526abd17a107d61b450 +URL: http://search.cpan.org/dist/IO-Compress-Lzf/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Compress-LZF +BuildRequires: perl-IO-Compress-Base +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +IO::Compress::Lzf and IO::Uncompress::UnLzf modules provide a Perl +interface that allows reading and writing lzf compressed data from/to +files or buffer. + +Note that although this module uses Compress::LZF for compression, it +uses a different file format. The lzf file format used here is the +same as the lzf command-line utility that ships with the lzf library. + +%description -l pl +Moduły IO::Compress::Lzf i IO::Uncompress::UnLzf udostępniają perlowy +interfejs umożliwiający odczyt i zapis danych skompresowanych +algorytmem lzf z/do plików lub buforów. + +Należy zauważyć, że choć ten moduł wykorzystuje do kompresji moduł +Compress::LZF, używa innego formatu plików. Używany tutaj format +plików jest taki sam jak narzędzia lzf uruchamianego z linii poleceń, +dostarczanego wraz z biblioteką lzf. + +%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/Lzf.pm +%{perl_vendorlib}/IO/Compress/Lzf.pm +%{perl_vendorlib}/IO/Uncompress/Adapter/Lzf.pm +%{perl_vendorlib}/IO/Uncompress/UnLzf.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:10:45 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
