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