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