]> git.pld-linux.org Git - packages/perl-Inline.git/blame - perl-Inline.spec
- updated to 0.45
[packages/perl-Inline.git] / perl-Inline.spec
CommitLineData
2f7d2b33 1%include /usr/lib/rpm/macros.perl
a4c464ec 2%define pdir Inline
2f7d2b33 3Summary: Inline perl module
5c41ca10 4Summary(pl.UTF-8): Moduł perla Inline
2f7d2b33 5Name: perl-Inline
5ccf8c31 6Version: 0.45
7Release: 1
4dbb6069 8Epoch: 1
93842731 9# same as perl (but C-Cookbook is Artistic-only)
10License: GPL v1+ (except C-Cookbook) or Artistic
2f7d2b33 11Group: Development/Languages/Perl
3682afeb 12Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
5ccf8c31 13# Source0-md5: 63140a6c911f1576fdee71ba4457610f
34125fca 14BuildRequires: perl-devel >= 1:5.8.0
2f7d2b33
JB
15BuildRequires: perl-Digest-MD5 >= 2.09
16BuildRequires: perl-Parse-RecDescent >= 1.78
11dd8f44 17BuildRequires: rpm-perlprov >= 4.1-13
2f7d2b33
JB
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
730a0baf 21# false requires found by rpm
22%define _noautoreq 'perl(of)'
23
2f7d2b33
JB
24%description
25Inline.pm - Write Perl subroutines in other programming languages.
26
4e209d72
JR
27%description -l pl.UTF-8
28Moduł Inline.pm - pozwala tworzyć procedury Perla w innych językach
2f7d2b33
JB
29programowania.
30
31%package C
32Summary: Inline::C perl module
5c41ca10 33Summary(pl.UTF-8): Moduł perla Inline::C
2f7d2b33 34Group: Development/Languages/Perl
93842731 35License: Artistic
e36c5290 36Requires: %{name} = %{epoch}:%{version}
2f7d2b33
JB
37Requires: gcc
38
39%description C
40Inline::C - Write Perl subroutines in C.
41
4e209d72
JR
42%description C -l pl.UTF-8
43Moduł Inline::C - pozwalający pisać funkcje Perla w C.
2f7d2b33
JB
44
45%prep
46%setup -q -n %{pdir}-%{version}
47
48%build
3be0f700 49echo "y" | perl Makefile.PL \
50 INSTALLDIRS=vendor
2f7d2b33
JB
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc Changes README
11dd8f44 65%{perl_vendorlib}/Inline.pm
66%{perl_vendorlib}/Inline/denter.pm
67%{perl_vendorlib}/Inline/Foo.pm
68%{perl_vendorlib}/Inline/MakeMaker.pm
69%{perl_vendorlib}/auto/Inline
2f7d2b33
JB
70%{_mandir}/man3/Inline.3pm*
71%{_mandir}/man3/Inline-*.3pm*
72
73%files C
74%defattr(644,root,root,755)
75%doc C/Changes C/README
11dd8f44 76%{perl_vendorlib}/Inline/C.pm
77%{perl_vendorlib}/Inline/C
2f7d2b33 78%{_mandir}/man3/Inline::C*.3pm*
This page took 0.065635 seconds and 4 git commands to generate.