Rev | Line | |
---|
[521] | 1 | %define module IO-Compress-Bzip2 |
---|
| 2 | %define name perl-%{module} |
---|
| 3 | %define version 2.008 |
---|
| 4 | %define release 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | Name: %{name} |
---|
| 7 | Version: %{version} |
---|
| 8 | Release: %{release} |
---|
| 9 | Summary: A Perl interface to allow reading and writing bzip2 files/buffers |
---|
| 10 | License: GPL or Artistic |
---|
| 11 | Group: Development/Languages |
---|
| 12 | Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/%{module}-%{version}.tar.gz |
---|
| 13 | Url: http://search.cpan.org/dist/%{module}/ |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version} |
---|
| 15 | BuildRequires: perl(Compress::Raw::Zlib) >= %version |
---|
| 16 | BuildRequires: perl(IO::Compress::Base) >= %version |
---|
| 17 | BuildArch: noarch |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | A Perl interface to allow reading and writing of |
---|
| 24 | bzip2 files/buffers. |
---|
| 25 | |
---|
| 26 | %prep |
---|
| 27 | %setup -q -n %{module}-%{version} |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
---|
| 31 | %{__make} |
---|
| 32 | |
---|
| 33 | # %check |
---|
| 34 | # %{__make} test |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | rm -rf %{buildroot} |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | rm -rf %{buildroot} |
---|
| 41 | %makeinstall |
---|
| 42 | rm -f %{buildroot}%{perl_archlib}/perllocal.pod |
---|
| 43 | rm -rf %{buildroot}%{perl_vendorarch} |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root) |
---|
| 47 | %doc README Changes |
---|
| 48 | %{_mandir}/*/* |
---|
| 49 | %{perl_vendorlib}/* |
---|
| 50 | |
---|
| 51 | %changelog |
---|
| 52 | * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 2.008-1vl5 |
---|
| 53 | - applied vine5 versioning policy |
---|
| 54 | |
---|
| 55 | * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl1 |
---|
| 56 | - built for release |
---|
| 57 | |
---|
| 58 | * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl0.1 |
---|
| 59 | - test package for VineSeed |
---|
Note: See
TracBrowser
for help on using the repository browser.