]> git.pld-linux.org Git - SPECS.git/blob - perl-Inline-Files.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Inline-Files.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Inline
6 %define         pnam    Files
7 Summary:        Inline::Files Perl module
8 Summary(cs.UTF-8):      Modul Inline::Files pro Perl
9 Summary(da.UTF-8):      Perlmodul Inline::Files
10 Summary(de.UTF-8):      Inline::Files Perl Modul
11 Summary(es.UTF-8):      Módulo de Perl Inline::Files
12 Summary(fr.UTF-8):      Module Perl Inline::Files
13 Summary(it.UTF-8):      Modulo di Perl Inline::Files
14 Summary(ja.UTF-8):      Inline::Files Perl モジュール
15 Summary(ko.UTF-8):      Inline::Files 펄 모줄
16 Summary(nb.UTF-8):      Perlmodul Inline::Files
17 Summary(pl.UTF-8):      Moduł Perla Inline::Files
18 Summary(pt.UTF-8):      Módulo de Perl Inline::Files
19 Summary(pt_BR.UTF-8):   Módulo Perl Inline::Files
20 Summary(ru.UTF-8):      Модуль для Perl Inline::Files
21 Summary(sv.UTF-8):      Inline::Files Perlmodul
22 Summary(uk.UTF-8):      Модуль для Perl Inline::Files
23 Summary(zh_CN.UTF-8):   Inline::Files Perl 模块
24 Name:           perl-Inline-Files
25 Version:        0.68
26 Release:        1
27 # same as perl
28 License:        GPL v1+ or Artistic
29 Group:          Development/Languages/Perl
30 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
31 # Source0-md5:  f20f920979fdfd1799410a75104ffa3e
32 URL:            http://search.cpan.org/dist/Inline-Files/
33 BuildRequires:  perl-Filter
34 BuildRequires:  perl-devel >= 1:5.8.0
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Inline::Files - Multiple virtual files at the end of your Perl code.
41
42 %description -l pl.UTF-8
43 Moduł Inline::Files - pozwalający na umieszczenie wielu wirtualnych
44 plików na końcu kodu w Perlu.
45
46 %prep
47 %setup -q -n %{pdir}-%{pnam}-%{version}
48
49 %build
50 %{__perl} Makefile.PL </dev/null \
51         INSTALLDIRS=vendor
52 %{__make}
53
54 %{?with_tests:%{__make} test}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 cp -p demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc Changes README
71 %{perl_vendorlib}/Inline/Files.pm
72 %{perl_vendorlib}/Inline/Files
73 %{_mandir}/man3/*
74 %{_examplesdir}/%{name}-%{version}
This page took 0.095686 seconds and 3 git commands to generate.