]> git.pld-linux.org Git - packages/perl-Inline.git/blob - perl-Inline.spec
- massive attack: source-md5
[packages/perl-Inline.git] / perl-Inline.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Inline
3 Summary:        Inline perl module
4 Summary(pl):    Modu³ perla Inline
5 Name:           perl-Inline
6 Version:        0.44
7 Release:        2
8 Epoch:          1
9 License:        Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
12 # Source0-md5:  840f47d9b6cef39e68370faf9dceab2c
13 BuildRequires:  perl-devel >= 5.6
14 BuildRequires:  perl-Digest-MD5 >= 2.09
15 BuildRequires:  perl-Parse-RecDescent >= 1.78
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 # false requires found by rpm
21 %define         _noautoreq      'perl(of)'
22
23 %description
24 Inline.pm - Write Perl subroutines in other programming languages.
25
26 %description -l pl
27 Modu³ Inline.pm - pozwala tworzyæ procedury Perla w innych jêzykach
28 programowania.
29
30 %package C
31 Summary:        Inline::C perl module
32 Summary(pl):    Modu³ perla Inline::C
33 Group:          Development/Languages/Perl
34 Requires:       %{name} = %{version}
35 Requires:       gcc
36
37 %description C
38 Inline::C - Write Perl subroutines in C.
39
40 %description C -l pl
41 Modu³ Inline::C - pozwalaj±cy pisaæ funkcje Perla w C.
42
43 %prep
44 %setup -q -n %{pdir}-%{version}
45
46 %build
47 echo "y" | perl Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc Changes README
63 %{perl_vendorlib}/Inline.pm
64 %{perl_vendorlib}/Inline/denter.pm
65 %{perl_vendorlib}/Inline/Foo.pm
66 %{perl_vendorlib}/Inline/MakeMaker.pm
67 %{perl_vendorlib}/auto/Inline
68 %{_mandir}/man3/Inline.3pm*
69 %{_mandir}/man3/Inline-*.3pm*
70
71 %files C
72 %defattr(644,root,root,755)
73 %doc C/Changes C/README
74 %{perl_vendorlib}/Inline/C.pm
75 %{perl_vendorlib}/Inline/C
76 %{_mandir}/man3/Inline::C*.3pm*
This page took 0.089438 seconds and 4 git commands to generate.