]> git.pld-linux.org Git - packages/perl-ExtUtils-PkgConfig.git/blob - perl-ExtUtils-PkgConfig.spec
- updated to 1.15
[packages/perl-ExtUtils-PkgConfig.git] / perl-ExtUtils-PkgConfig.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    ExtUtils
7 %define         pnam    PkgConfig
8 Summary:        ExtUtils::PkgConfig - simplistic interface to pkg-config
9 Summary(pl.UTF-8):      ExtUtils::PkgConfig - prosty interfejs do pkg-config
10 Name:           perl-ExtUtils-PkgConfig
11 Version:        1.15
12 Release:        1
13 License:        LGPL v2+
14 Group:          Development/Languages/Perl
15 Source0:        http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  1872e659cf2bb0b2471d75fce735e622
17 URL:            http://gtk2-perl.sourceforge.net/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  pkgconfig
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 Requires:       pkgconfig
22 BuildArch:      noarch
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 ExtUtils::PkgConfig is a very simplistic interface to pkg-config
27 utility.
28
29 %description -l pl.UTF-8
30 ExtUtils::PkgConfig jest bardzo prostym interfejsem do narzÄ™dzia
31 pkg-config.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39
40 %{__make}
41
42 %{?with_tests:%{__make} test}
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
56 %{perl_vendorlib}/ExtUtils/PkgConfig.pm
57 %{_mandir}/man3/ExtUtils::PkgConfig.3pm*
This page took 0.069891 seconds and 3 git commands to generate.