SPECS: perl-Compress-Raw-Bzip2.spec (NEW), perl-Compress-Raw-Zlib....
qboosh
qboosh at pld-linux.org
Fri Dec 22 18:55:35 CET 2006
Author: qboosh Date: Fri Dec 22 17:55:35 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-Compress-Raw-Bzip2.spec (NONE -> 1.1) (NEW), perl-Compress-Raw-Zlib.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Compress-Raw-Bzip2.spec
diff -u /dev/null SPECS/perl-Compress-Raw-Bzip2.spec:1.1
--- /dev/null Fri Dec 22 18:55:35 2006
+++ SPECS/perl-Compress-Raw-Bzip2.spec Fri Dec 22 18:55:29 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 Compress
+%define pnam Raw-Bzip2
+Summary: Compress::Raw::Bzip2 - Low-Level Interface to bzip2 compression library
+Summary(pl): Niskopoziomowy interfejs do biblioteki kompresji bzip2
+Name: perl-Compress-Raw-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/Compress/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 4d153d4c3eadf6d68c75f78dcc427cff
+Patch0: %{name}-system-bzip2.patch
+URL: http://search.cpan.org/dist/Compress-Raw-Bzip2/
+BuildRequires: bzip2-devel >= 1.0.3
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+Requires: perl-dirs >= 1.0-10
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Compress::Raw::Bzip2 provides an interface to the in-memory
+compression/uncompression functions from the bzip2 compression
+library.
+
+Although the primary purpose for the existence of Compress::Raw::Bzip2
+is for use by the IO::Compress::Bzip2 and IO::Compress::Bunzip2
+modules, it can be used on its own for simple
+compression/uncompression tasks.
+
+%description -l pl
+Compress::Raw::Bzip2 udostępnia interfejs do funkcji
+kompresji/dekompresji w pamięci z biblioteki kompresji bzip2.
+
+Choć głównym celem istnienia Compress::Raw::Bzip2 jest wykorzystywanie
+przez moduły IO::Compress::Bzip2 i IO::Compress::Bunzip2, można tego
+modułu użyć samodzielnie do prostych zadań kompresji/dekompresji.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?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_vendorarch}/Compress/Raw/Bzip2.pm
+%dir %{perl_vendorarch}/auto/Compress/Raw/Bzip2
+%{perl_vendorarch}/auto/Compress/Raw/Bzip2/Bzip2.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Compress/Raw/Bzip2/Bzip2.so
+%{perl_vendorarch}/auto/Compress/Raw/Bzip2/autosplit.ix
+%{_mandir}/man3/Compress::Raw::Bzip2.3*
+
+%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 17:55:29 qboosh
+- new
================================================================
Index: SPECS/perl-Compress-Raw-Zlib.spec
diff -u /dev/null SPECS/perl-Compress-Raw-Zlib.spec:1.1
--- /dev/null Fri Dec 22 18:55:35 2006
+++ SPECS/perl-Compress-Raw-Zlib.spec Fri Dec 22 18:55:29 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 Compress
+%define pnam Raw-Zlib
+Summary: Compress::Raw::Zlib - Low-Level Interface to zlib compression library
+Summary(pl): Compress::Raw::Zlib - niskopoziomowy interfejs do biblioteki kompresji zlib
+Name: perl-Compress-Raw-Zlib
+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/Compress/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: fb7ab206a7de67bd0c999edc31d63f97
+URL: http://search.cpan.org/dist/Compress-Raw-Zlib/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: zlib-devel >= 1.2.3
+Requires: perl-dirs >= 1.0-10
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Compress::Raw::Zlib module provides a Perl interface to the zlib
+compression library.
+
+%description -l pl
+Moduł Compress::Raw::Zlib udostępnia perlowy interfejs do biblioteki
+kompresji zlib.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+cat > config.in <<EOF
+BUILD_ZLIB = False
+INCLUDE = /usr/include
+LIB = %{_libdir}
+OLD_ZLIB = False
+GZIP_OS_CODE = AUTO_DETECT
+EOF
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?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_vendorarch}/Compress/Raw/Zlib.pm
+%dir %{perl_vendorarch}/auto/Compress/Raw/Zlib
+%{perl_vendorarch}/auto/Compress/Raw/Zlib/Zlib.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Compress/Raw/Zlib/Zlib.so
+%{perl_vendorarch}/auto/Compress/Raw/Zlib/autosplit.ix
+%{_mandir}/man3/Compress::Raw::Zlib.3*
+%{_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 17:55:29 qboosh
+- new
================================================================
More information about the pld-cvs-commit
mailing list