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