]> git.pld-linux.org Git - projects/template-specs.git/blob - perl.spec
- added man3 pages (most of Perl modules contain them)
[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(es):    -
7 Summary(fr):    -
8 Summary(pl):    -
9 Summary(ru):    -
10 Name:           perl-
11 Version:        -
12 Release:        -
13 Epoch:          -
14 License:        (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
15 Group:          Development/Languages/Perl
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 %define         _noautoreq      "perl(anything_fake_or_conditional)"
35
36 %description
37
38 %description -l de
39
40 %description -l es
41
42 %description -l fr
43
44 %description -l pl
45
46 %description -l ru
47
48 %prep
49 %setup -q -n %{pdir}-%{pnam}-%{version}
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53
54 %build
55 # Don't use pipes here: they generally don't work. Apply a patch.
56 perl Makefile.PL
57 %{__make}
58 # if module isn't noarch, use:
59 # %{__make} OPTIMIZE="%{rpmcflags}"
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc Changes README
73 # use macros:
74 #%{perl_sitelib}/...
75 #%{perl_sitearch}/...
76 %{_mandir}/man3/*
This page took 0.028935 seconds and 4 git commands to generate.