]> git.pld-linux.org Git - packages/perl-VCP.git/blame - perl-VCP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-VCP.git] / perl-VCP.spec
CommitLineData
c1839951
AM
1#
2# Conditional build:
6cf533ea 3%bcond_with tests # do perform "make test"
ff4da7c4 4# [why it was disabled instead of fixing?]
c1839951 5#
02e18b35 6%define pnam VCP
c1839951 7Summary: Data::VCP - Versioned Copy, copying hierarchies of versioned files
27fb4b85 8Summary(pl.UTF-8): Data::VCP - wersjonowane kopie - kopiowanie hierarchii wersjonowanych plików
c1839951 9Name: perl-VCP
ff16b5be 10%define _snap 20050110
11%define _ver 0.9
12Version: %{_ver}_%{_snap}
c8b65b4a 13Release: 4
c1839951
AM
14# same as perl
15License: GPL v1+ or Artistic
16Group: Development/Languages/Perl
ff16b5be 17Source0: http://www.cpan.org/authors/id/A/AU/AUTRIJUS/VCP-autrijus-snapshot-%{_ver}-%{_snap}.tar.gz
18# Source0-md5: c01249d810904f5b4f6080979673a514
19URL: http://search.cpan.org/~autrijus/VCP-autrijus-snapshot/
03df4382 20BuildRequires: perl-BFD
c1839951
AM
21BuildRequires: perl-IPC-Run3
22BuildRequires: perl-PodToHTML
102087b2 23BuildRequires: perl-Regexp-Shellish >= 0.93
167aba6e 24BuildRequires: perl-Text-Diff
1a27ec73 25BuildRequires: perl-Text-Table
c1839951 26BuildRequires: perl-XML-AutoWriter
03df4382
JB
27BuildRequires: perl-devel >= 1:5.8.0
28BuildRequires: rpm-perlprov >= 4.1-13
c1839951
AM
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
ff16b5be 32%define _noautoreq 'perl(mkss)' 'perl(VCP::.*)' 'perl(RevML::.*)'
c1839951
AM
33
34%description
35Versioned Copy, copying hierarchies of versioned files.
36
03f2a664
JR
37%description -l pl.UTF-8
38Wersjonowane kopie - kopiowanie hierarchii wersjonowanych plików.
03df4382 39
c1839951 40%prep
ff16b5be 41%setup -q -n VCP-autrijus-snapshot-%{_ver}-%{_snap}
c1839951
AM
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make} -j1
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc CHANGE*
62%attr(755,root,root) %{_bindir}/*
63%{perl_vendorlib}/RevML
64%{perl_vendorlib}/VCP
65%{perl_vendorlib}/VCP.pm
66%{_mandir}/man[13]/*
This page took 0.084233 seconds and 4 git commands to generate.