]> git.pld-linux.org Git - packages/perl-MDV-Packdrakeng.git/blame - perl-MDV-Packdrakeng.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-MDV-Packdrakeng.git] / perl-MDV-Packdrakeng.spec
CommitLineData
e577a5d2 1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
4%bcond_without tests # do not perform "make test"
5#
e577a5d2 6%define pnam Packdrakeng
7%define pdir MDV
8Summary: MDV::Packdrakeng - simple archive extractor/builder
ae67e3e0 9Summary(pl.UTF-8): MDV::Packdrakeng - prosta rozpakowywarka archiwów/builder
e577a5d2 10Name: perl-MDV-Packdrakeng
dc3392b3 11Version: 1.13
e577a5d2 12Release: 1
13License: GPL
14Group: Development/Languages/Perl
dc3392b3
JR
15Source0: http://search.cpan.org/CPAN/authors/id/N/NA/NANARDON/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 8dc16111304c486557ec94e26e8fa86c
17Patch0: %{name}-xz.patch
95f4a1bc 18URL: http://search.cpan.org/dist/MDV-Packdrakeng/
e577a5d2 19BuildRequires: perl-devel >= 1:5.8.0
20%if %{with autodeps}
21BuildRequires: perl-Compress-Zlib
22%endif
23BuildRequires: rpm-devel >= 4.2.3
24BuildRequires: rpm-perlprov >= 4.1-13
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29MDV::Packdrakeng is a simple indexed archive builder and extractor
30using standard compression methods.
31
83f66e37
JR
32%description -l pl.UTF-8
33MDV::Packdrakeng jest prostym builderem indeksowanych archiwów oraz
34rozpakowywarką korzystającą ze standardowych metod kompresji.
e577a5d2 35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
dc3392b3 38%patch0 -p1
e577a5d2 39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} pure_install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc ChangeLog
58%{perl_vendorlib}/MDV
This page took 0.098622 seconds and 4 git commands to generate.