]> git.pld-linux.org Git - projects/template-specs.git/blame - perl.spec
- cut off changelog
[projects/template-specs.git] / perl.spec
CommitLineData
26510aed 1#
2# Conditional build:
0473ffe6 3# _without_tests - do not perform "make test"
eb469848 4#
2fd42c2b 5%include /usr/lib/rpm/macros.perl
b0ec8988 6%define pdir -
7%define pnam -
3299adc7
SZ
8Summary: -
9Summary(de): -
c38fb6bc 10Summary(es): -
3299adc7
SZ
11Summary(fr): -
12Summary(pl): -
c38fb6bc 13Summary(ru): -
ede9f904 14Name: perl-
3299adc7
SZ
15Version: -
16Release: -
17Epoch: -
c38fb6bc 18License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
2fd42c2b 19Group: Development/Languages/Perl
3299adc7 20Icon: -
8f53b5bf 21Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
cf06d904 22Source1: %{name}
23Source2: %{name}
24Patch0: %{name}
25Patch1: %{name}
26Patch2: %{name}
3299adc7 27URL: -
2fd42c2b 28BuildRequires: perl >= 5.6
ede9f904 29BuildRequires: rpm-perlprov >= 3.0.3-16
3299adc7
SZ
30BuildRequires: -
31Requires: -
32Prereq: -
33Provides: -
34Obsoletes: -
2fd42c2b
SZ
35BuildArch: noarch
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
c38fb6bc 38%define _noautoreq "perl(anything_fake_or_conditional)"
39
2fd42c2b 40%description
3299adc7
SZ
41
42%description -l de
43
c38fb6bc 44%description -l es
45
3299adc7 46%description -l fr
2fd42c2b
SZ
47
48%description -l pl
3299adc7 49
c38fb6bc 50%description -l ru
2fd42c2b
SZ
51
52%prep
9b30721b 53%setup -q -n %{pdir}-%{pnam}-%{version}
2fd42c2b
SZ
54%patch0 -p1
55%patch1 -p1
3299adc7 56%patch2 -p1
2fd42c2b
SZ
57
58%build
c38fb6bc 59# Don't use pipes here: they generally don't work. Apply a patch.
193c54ad 60%{__perl} Makefile.PL \
61 INSTALLDIRS=vendor
2fd42c2b 62%{__make}
ede9f904
JB
63# if module isn't noarch, use:
64# %{__make} OPTIMIZE="%{rpmcflags}"
0473ffe6 65
0473ffe6 66%{!?_without_tests:%{__make} test}
2fd42c2b
SZ
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
2fd42c2b
SZ
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
2fd42c2b 73
2fd42c2b
SZ
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
ede9f904
JB
79%doc Changes README
80# use macros:
0dfc2862 81#%%{perl_vendorlib}/...
82#%%{perl_vendorarch}/...
193c54ad 83%{_mandir}/man3/*
This page took 0.075721 seconds and 4 git commands to generate.