]>
Commit | Line | Data |
---|---|---|
600d8a4c | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4ef05954 | 4 | |
b85dc0d1 | 5 | %define pdir File |
6 | %define pnam Archive | |
4ef05954 | 7 | %include /usr/lib/rpm/macros.perl |
6c27ab2d | 8 | Summary: File::Archive - figure out what is in an archive file |
3850f35f | 9 | Summary(pl.UTF-8): File::Archive - przeglądanie, co jest w pliku archiwum |
7fe3dc4d | 10 | Name: perl-File-Archive |
5af1abb5 | 11 | Version: 0.53 |
9b34fae8 | 12 | Release: 10 |
6c27ab2d | 13 | License: unknown |
7fe3dc4d | 14 | Group: Development/Languages/Perl |
b25e93c9 | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
c4d745aa | 16 | # Source0-md5: 6d61787275af3627af4eb92bae6f7527 |
4ef05954 | 17 | URL: http://search.cpan.org/dist/File-Archive/ |
b3958195 | 18 | BuildRequires: perl-Archive-Tar >= 1.08-2 |
7fe3dc4d | 19 | BuildRequires: perl-Compress-Zlib |
4ef05954 ER |
20 | BuildRequires: perl-devel >= 1:5.8.0 |
21 | BuildRequires: rpm-perlprov >= 4.1-13 | |
931a40d1 | 22 | BuildArch: noarch |
253aa40a | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7fe3dc4d | 24 | |
25 | %description | |
6c27ab2d | 26 | File::Archive Perl module for figuring out what is in an archive file. |
7fe3dc4d | 27 | |
a9c1fd1b JR |
28 | %description -l pl.UTF-8 |
29 | Moduł Perla File::Archive umożliwia przeglądanie zawartości archiwów. | |
7fe3dc4d | 30 | |
31 | %prep | |
24931c39 | 32 | %setup -q -n %{pdir}-%{pnam}-%{version} |
7fe3dc4d | 33 | |
34 | %build | |
8427257e | 35 | %{__perl} Makefile.PL \ |
1bac2e1b | 36 | INSTALLDIRS=vendor |
8ad15946 | 37 | %{__make} |
7fe3dc4d | 38 | |
600d8a4c | 39 | %{?with_tests:%{__make} test} |
40 | ||
7fe3dc4d | 41 | %install |
42 | rm -rf $RPM_BUILD_ROOT | |
7fe3dc4d | 43 | |
600d8a4c | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
7fe3dc4d | 46 | |
7fe3dc4d | 47 | %clean |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
3916b853 | 52 | %doc Changes *txt |
8427257e | 53 | %{perl_vendorlib}/File/Archive.pm |
7fe3dc4d | 54 | %{_mandir}/man3/* |