]>
Commit | Line | Data |
---|---|---|
4d40f346 | 1 | # |
2 | # Conditional build: | |
5665d4c7 | 3 | %bcond_without tests # do not perform "make test" |
cf86344f | 4 | |
f9d084ce | 5 | %define pdir Inline |
6 | %define pnam Basic | |
cf86344f | 7 | %include /usr/lib/rpm/macros.perl |
4d40f346 | 8 | Summary: Inline::Basic Perl module |
c2bda367 ER |
9 | Summary(cs.UTF-8): Modul Inline::Basic pro Perl |
10 | Summary(da.UTF-8): Perlmodul Inline::Basic | |
11 | Summary(de.UTF-8): Inline::Basic Perl Modul | |
12 | Summary(es.UTF-8): Módulo de Perl Inline::Basic | |
13 | Summary(fr.UTF-8): Module Perl Inline::Basic | |
14 | Summary(it.UTF-8): Modulo di Perl Inline::Basic | |
15 | Summary(ja.UTF-8): Inline::Basic Perl モジュール | |
16 | Summary(ko.UTF-8): Inline::Basic 펄 모줄 | |
17 | Summary(nb.UTF-8): Perlmodul Inline::Basic | |
18 | Summary(pl.UTF-8): Moduł Perla Inline::Basic | |
19 | Summary(pt.UTF-8): Módulo de Perl Inline::Basic | |
20 | Summary(pt_BR.UTF-8): Módulo Perl Inline::Basic | |
21 | Summary(ru.UTF-8): Модуль для Perl Inline::Basic | |
22 | Summary(sv.UTF-8): Inline::Basic Perlmodul | |
23 | Summary(uk.UTF-8): Модуль для Perl Inline::Basic | |
24 | Summary(zh_CN.UTF-8): Inline::Basic Perl 模块 | |
ae193f73 JB |
25 | Name: perl-Inline-Basic |
26 | Version: 0.01 | |
5614341d | 27 | Release: 4 |
f56df097 | 28 | # same as perl |
29 | License: GPL v1+ or Artistic | |
ae193f73 | 30 | Group: Development/Languages/Perl |
dbff00d8 | 31 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
1df2453c | 32 | # Source0-md5: 68c9f06777d68133b5ebcdea3bba0f44 |
cf86344f | 33 | URL: http://search.cpan.org/dist/Inline-Basic/ |
ae193f73 JB |
34 | BuildRequires: perl-IO-stringy >= 2.104 |
35 | BuildRequires: perl-Inline >= 0.43 | |
36 | BuildRequires: perl-Language-Basic >= 1.44 | |
cf86344f | 37 | BuildRequires: perl-devel >= 1:5.8.0 |
0155b6d4 | 38 | BuildRequires: rpm-perlprov >= 4.1-13 |
ae193f73 JB |
39 | BuildArch: noarch |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
41 | ||
42 | %description | |
43 | Inline::Basic - Write Perl subroutines in Basic. | |
44 | ||
27623514 JR |
45 | %description -l pl.UTF-8 |
46 | Moduł Inline::Basic - pozwalający na pisanie procedur Perla w Basicu. | |
ae193f73 JB |
47 | |
48 | %prep | |
49 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
50 | ||
51 | %build | |
0155b6d4 | 52 | %{__perl} Makefile.PL \ |
4c693fa0 | 53 | INSTALLDIRS=vendor |
ae193f73 | 54 | %{__make} |
5665d4c7 | 55 | |
56 | %{?with_tests:%{__make} test} | |
ae193f73 JB |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc Changes | |
0155b6d4 | 70 | %{perl_vendorlib}/Inline/Basic.pm |
ae193f73 | 71 | %{_mandir}/man3/* |