]> git.pld-linux.org Git - packages/perl-ExtUtils-PkgConfig.git/blob - perl-ExtUtils-PkgConfig.spec
- updated macros
[packages/perl-ExtUtils-PkgConfig.git] / perl-ExtUtils-PkgConfig.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    ExtUtils
6 %define         pnam    PkgConfig
7 Summary:        ExtUtils::PkgConfig - simplistic interface to pkg-config
8 Summary(pl.UTF-8):      ExtUtils::PkgConfig - prosty interfejs do pkg-config
9 Name:           perl-ExtUtils-PkgConfig
10 Version:        1.16
11 Release:        1
12 License:        LGPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  b86318f2b6ac6af3ee985299e1e38fe5
16 URL:            http://gtk2-perl.sourceforge.net/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  pkgconfig
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
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.051187 seconds and 4 git commands to generate.