]> git.pld-linux.org Git - packages/perl-IO-Compress-Lzop.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 Dec 2006 19:17:33 +0000 (19:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-IO-Compress-Lzop.spec -> 1.1

perl-IO-Compress-Lzop.spec [new file with mode: 0644]

diff --git a/perl-IO-Compress-Lzop.spec b/perl-IO-Compress-Lzop.spec
new file mode 100644 (file)
index 0000000..62106cf
--- /dev/null
@@ -0,0 +1,65 @@
+#
+# 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::*
This page took 0.072704 seconds and 4 git commands to generate.