]>
Commit | Line | Data |
---|---|---|
d07cef20 | 1 | # |
2 | # Conditional build: | |
1faa2d62 | 3 | %bcond_without tests # do not perform "make test" |
b82c2a95 | 4 | |
0c1a3606 | 5 | %define pdir Inline |
6 | %define pnam Guile | |
b82c2a95 | 7 | %include /usr/lib/rpm/macros.perl |
fc6a0576 | 8 | Summary: Inline::Guile - an Inline module for the GNU Guile Scheme interpreter |
c1a61033 | 9 | Summary(pl.UTF-8): Inline::Guile - moduł Inline dla interpretera Scheme GNU Guile |
7ad21b04 JB |
10 | Name: perl-Inline-Guile |
11 | Version: 0.001 | |
fc6a0576 | 12 | Release: 3 |
e5406354 | 13 | License: GPL v1+ or Artistic |
7ad21b04 | 14 | Group: Development/Languages/Perl |
a58af6b0 | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
822b90af | 16 | # Source0-md5: 2e1926f838cd44f244ab16ca7a655cb7 |
b82c2a95 | 17 | URL: http://search.cpan.org/dist/Inline-Guile/ |
7ad21b04 JB |
18 | BuildRequires: perl-Guile >= 0.001 |
19 | BuildRequires: perl-Inline >= 0.43 | |
fc6a0576 | 20 | BuildRequires: perl-devel >= 1:5.8.0 |
0ec5afcc | 21 | BuildRequires: rpm-perlprov >= 4.1-13 |
7ad21b04 JB |
22 | BuildArch: noarch |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
b82c2a95 ER |
26 | Inline::Guile - Inline module for the GNU Guile Scheme interpreter. It |
27 | allows you to add blocks of Scheme code to your Perl scripts and | |
7ad21b04 JB |
28 | modules. |
29 | ||
f8fb3eca JR |
30 | %description -l pl.UTF-8 |
31 | Inline::Guile - moduł Inline do interpretera Scheme GNU Guile. Pozwala | |
32 | na dodawanie bloków kodu Scheme do skryptów i modułów Perla. | |
7ad21b04 JB |
33 | |
34 | %prep | |
35 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
36 | ||
37 | %build | |
0ec5afcc | 38 | %{__perl} Makefile.PL \ |
aaae4975 | 39 | INSTALLDIRS=vendor |
7ad21b04 | 40 | %{__make} |
1faa2d62 | 41 | |
42 | %{?with_tests:%{__make} test} | |
7ad21b04 JB |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %doc Changes README | |
0ec5afcc | 56 | %{perl_vendorlib}/Inline/Guile.pm |
7ad21b04 | 57 | %{_mandir}/man3/* |