]>
Commit | Line | Data |
---|---|---|
a4c464ec | 1 | %define pdir Inline |
c6a4e7f6 JB |
2 | Summary: Inline Perl module - write Perl subroutines in other programming languages |
3 | Summary(pl.UTF-8): Moduł Perla Inline - tworzenie funkcji perlowych w innych językach programowania | |
2f7d2b33 | 4 | Name: perl-Inline |
dd548bc1 | 5 | Version: 0.80 |
5ccf8c31 | 6 | Release: 1 |
4dbb6069 | 7 | Epoch: 1 |
dd548bc1 JB |
8 | # same as perl |
9 | License: GPL v1+ or Artistic | |
2f7d2b33 | 10 | Group: Development/Languages/Perl |
c6a4e7f6 | 11 | Source0: http://www.cpan.org/modules/by-module/Inline/%{pdir}-%{version}.tar.gz |
dd548bc1 | 12 | # Source0-md5: 510bbac46e727bcaf240b7feac2646c9 |
c6a4e7f6 | 13 | URL: http://search.cpan.org/dist/Inline/ |
dd548bc1 JB |
14 | BuildRequires: perl-devel >= 1:5.8.1 |
15 | BuildRequires: perl(File::Spec) >= 0.8 | |
2f7d2b33 | 16 | BuildRequires: perl-Digest-MD5 >= 2.09 |
752a4011 | 17 | BuildRequires: perl-Parse-RecDescent >= 1.80 |
dd548bc1 JB |
18 | BuildRequires: perl-Test-Simple >= 0.88 |
19 | BuildRequires: perl-Test-Warn >= 0.23 | |
11dd8f44 | 20 | BuildRequires: rpm-perlprov >= 4.1-13 |
2f7d2b33 JB |
21 | BuildArch: noarch |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
c6a4e7f6 JB |
25 | The Inline module allows you to put source code from other programming |
26 | languages directly "inline" in a Perl script or module. The code is | |
27 | automatically compiled as needed, and then loaded for immediate access | |
28 | from Perl. | |
2f7d2b33 | 29 | |
4e209d72 | 30 | %description -l pl.UTF-8 |
c6a4e7f6 JB |
31 | Moduł Inline pozwala umieszczać kod źródłowy w innych językach |
32 | programowania bezpośrednio wewnątrz skryptu lub modułu perlowego. Kod | |
33 | jest w razie potrzeby automatycznie kompilowany, a następnie ładowany | |
34 | w celu bezpośredniego dostępu z poziomu Perla. | |
2f7d2b33 | 35 | |
2f7d2b33 JB |
36 | %prep |
37 | %setup -q -n %{pdir}-%{version} | |
38 | ||
dd548bc1 JB |
39 | %{__mv} lib/Inline/MakeMaker/Changes Changes.Inline_MakeMaker |
40 | ||
2f7d2b33 | 41 | %build |
3be0f700 | 42 | echo "y" | perl Makefile.PL \ |
43 | INSTALLDIRS=vendor | |
2f7d2b33 JB |
44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
c6a4e7f6 JB |
52 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/*.pod \ |
53 | $RPM_BUILD_ROOT%{perl_vendorlib}/Inline/*.pod | |
54 | ||
2f7d2b33 JB |
55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
dd548bc1 | 60 | %doc Changes Changes.Inline_MakeMaker README |
11dd8f44 | 61 | %{perl_vendorlib}/Inline.pm |
62 | %{perl_vendorlib}/Inline/denter.pm | |
63 | %{perl_vendorlib}/Inline/Foo.pm | |
64 | %{perl_vendorlib}/Inline/MakeMaker.pm | |
2f7d2b33 | 65 | %{_mandir}/man3/Inline.3pm* |
dd548bc1 JB |
66 | %{_mandir}/man3/Inline::API.3pm* |
67 | %{_mandir}/man3/Inline::FAQ.3pm* | |
68 | %{_mandir}/man3/Inline::Support.3pm* |