]> git.pld-linux.org Git - packages/perl-Inline.git/blame - perl-Inline.spec
- updated test dependencies
[packages/perl-Inline.git] / perl-Inline.spec
CommitLineData
2f7d2b33 1%include /usr/lib/rpm/macros.perl
a4c464ec 2%define pdir Inline
c6a4e7f6
JB
3Summary: Inline Perl module - write Perl subroutines in other programming languages
4Summary(pl.UTF-8): Moduł Perla Inline - tworzenie funkcji perlowych w innych językach programowania
2f7d2b33 5Name: perl-Inline
d1ce47ef 6Version: 0.50
5ccf8c31 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
c6a4e7f6 12Source0: http://www.cpan.org/modules/by-module/Inline/%{pdir}-%{version}.tar.gz
d1ce47ef 13# Source0-md5: cb9377b494819924bddf2de20c90f3ab
c6a4e7f6 14URL: http://search.cpan.org/dist/Inline/
34125fca 15BuildRequires: perl-devel >= 1:5.8.0
2f7d2b33 16BuildRequires: perl-Digest-MD5 >= 2.09
752a4011
JB
17BuildRequires: perl-Parse-RecDescent >= 1.80
18BuildRequires: perl-Test-Warn >= 0.21
11dd8f44 19BuildRequires: rpm-perlprov >= 4.1-13
2f7d2b33
JB
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
730a0baf 23# false requires found by rpm
24%define _noautoreq 'perl(of)'
25
2f7d2b33 26%description
c6a4e7f6
JB
27The Inline module allows you to put source code from other programming
28languages directly "inline" in a Perl script or module. The code is
29automatically compiled as needed, and then loaded for immediate access
30from Perl.
2f7d2b33 31
4e209d72 32%description -l pl.UTF-8
c6a4e7f6
JB
33Moduł Inline pozwala umieszczać kod źródłowy w innych językach
34programowania bezpośrednio wewnątrz skryptu lub modułu perlowego. Kod
35jest w razie potrzeby automatycznie kompilowany, a następnie ładowany
36w celu bezpośredniego dostępu z poziomu Perla.
2f7d2b33
JB
37
38%package C
c6a4e7f6
JB
39Summary: Inline::C Perl module - write Perl subroutines in C
40Summary(pl.UTF-8): Moduł Perla Inline::C - tworzenie funkcji Perla w C
2f7d2b33 41Group: Development/Languages/Perl
93842731 42License: Artistic
e36c5290 43Requires: %{name} = %{epoch}:%{version}
2f7d2b33
JB
44Requires: gcc
45
46%description C
c6a4e7f6 47Inline::C is a module that allows you to write Perl subroutines in C.
2f7d2b33 48
4e209d72 49%description C -l pl.UTF-8
c6a4e7f6 50Inline::C to moduł pozwalający pisać funkcje Perla w C.
2f7d2b33
JB
51
52%prep
53%setup -q -n %{pdir}-%{version}
54
55%build
3be0f700 56echo "y" | perl Makefile.PL \
57 INSTALLDIRS=vendor
2f7d2b33
JB
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
c6a4e7f6
JB
66%{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/*.pod \
67 $RPM_BUILD_ROOT%{perl_vendorlib}/Inline/*.pod
68
2f7d2b33
JB
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
74%doc Changes README
11dd8f44 75%{perl_vendorlib}/Inline.pm
76%{perl_vendorlib}/Inline/denter.pm
77%{perl_vendorlib}/Inline/Foo.pm
78%{perl_vendorlib}/Inline/MakeMaker.pm
79%{perl_vendorlib}/auto/Inline
2f7d2b33
JB
80%{_mandir}/man3/Inline.3pm*
81%{_mandir}/man3/Inline-*.3pm*
82
83%files C
84%defattr(644,root,root,755)
85%doc C/Changes C/README
11dd8f44 86%{perl_vendorlib}/Inline/C.pm
87%{perl_vendorlib}/Inline/C
2f7d2b33 88%{_mandir}/man3/Inline::C*.3pm*
This page took 0.067459 seconds and 4 git commands to generate.