]> git.pld-linux.org Git - SPECS.git/blob - perl-Inline-CPP.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Inline-CPP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Inline
6 %define         pnam    CPP
7 Summary:        Inline::CPP Perl module
8 Summary(cs.UTF-8):      Modul Inline::CPP pro Perl
9 Summary(da.UTF-8):      Perlmodul Inline::CPP
10 Summary(de.UTF-8):      Inline::CPP Perl Modul
11 Summary(es.UTF-8):      Módulo de Perl Inline::CPP
12 Summary(fr.UTF-8):      Module Perl Inline::CPP
13 Summary(it.UTF-8):      Modulo di Perl Inline::CPP
14 Summary(ja.UTF-8):      Inline::CPP Perl モジュール
15 Summary(ko.UTF-8):      Inline::CPP 펄 모줄
16 Summary(nb.UTF-8):      Perlmodul Inline::CPP
17 Summary(pl.UTF-8):      Moduł Perla Inline::CPP
18 Summary(pt.UTF-8):      Módulo de Perl Inline::CPP
19 Summary(pt_BR.UTF-8):   Módulo Perl Inline::CPP
20 Summary(ru.UTF-8):      Модуль для Perl Inline::CPP
21 Summary(sv.UTF-8):      Inline::CPP Perlmodul
22 Summary(uk.UTF-8):      Модуль для Perl Inline::CPP
23 Summary(zh_CN.UTF-8):   Inline::CPP Perl 模块
24 Name:           perl-Inline-CPP
25 Version:        0.34
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:  365609155c8cbde9aee7307f408929a9
32 URL:            http://search.cpan.org/dist/Inline-CPP/
33 BuildRequires:  perl-Inline-C >= 0.43
34 BuildRequires:  perl-devel >= 1:5.8.0
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 Requires:       libstdc++-devel
37 BuildArch:      noarch
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Inline::CPP - Write Perl subroutines and classes in C++.
42
43 %description -l pl.UTF-8
44 Moduł Inline::CPP - pozwalający na pisanie procedur i klas Perla w
45 C++.
46
47 %prep
48 %setup -q -n %{pdir}-%{pnam}-%{version}
49
50 %build
51 %{__perl} Makefile.PL </dev/null \
52         INSTALLDIRS=vendor
53 %{__make}
54
55 %{?with_tests:%{__make} test}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc Changes README TESTED
69 %{perl_vendorlib}/Inline/CPP.pm
70 %{perl_vendorlib}/Inline/CPP
71 %{_mandir}/man3/*
This page took 0.195062 seconds and 3 git commands to generate.