]> git.pld-linux.org Git - projects/template-specs.git/blame - perl.spec
- s/pname/pnam/, as in most perl specs
[projects/template-specs.git] / perl.spec
CommitLineData
2fd42c2b 1%include /usr/lib/rpm/macros.perl
ede9f904 2%define pdir -
9b30721b 3%define pnam -
3299adc7
SZ
4Summary: -
5Summary(de): -
6Summary(fr): -
7Summary(pl): -
8Summary(tr): -
ede9f904 9Name: perl-
3299adc7
SZ
10Version: -
11Release: -
12Epoch: -
13License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
2fd42c2b 14Group: Development/Languages/Perl
cf06d904 15Vendor: -
3299adc7 16Icon: -
9b30721b 17Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
cf06d904 18Source1: %{name}
19Source2: %{name}
20Patch0: %{name}
21Patch1: %{name}
22Patch2: %{name}
3299adc7 23URL: -
2fd42c2b 24BuildRequires: perl >= 5.6
ede9f904 25BuildRequires: rpm-perlprov >= 3.0.3-16
3299adc7
SZ
26BuildRequires: -
27Requires: -
28Prereq: -
29Provides: -
30Obsoletes: -
2fd42c2b
SZ
31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
3299adc7
SZ
35
36%description -l de
37
38%description -l fr
2fd42c2b
SZ
39
40%description -l pl
3299adc7
SZ
41
42%description -l tr
2fd42c2b
SZ
43
44%prep
9b30721b 45%setup -q -n %{pdir}-%{pnam}-%{version}
2fd42c2b
SZ
46%patch0 -p1
47%patch1 -p1
3299adc7 48%patch2 -p1
2fd42c2b
SZ
49
50%build
51perl Makefile.PL
52%{__make}
ede9f904
JB
53# if module isn't noarch, use:
54# %{__make} OPTIMIZE="%{rpmcflags}"
2fd42c2b
SZ
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
2fd42c2b
SZ
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
2fd42c2b 61
2fd42c2b
SZ
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
ede9f904
JB
67%doc Changes README
68# use macros:
69#%{perl_sitelib}/...
70#%{perl_sitearch}/...
This page took 0.085367 seconds and 4 git commands to generate.