]> git.pld-linux.org Git - packages/perl-Glib.git/blame - perl-Glib.spec
- added NEWS to doc
[packages/perl-Glib.git] / perl-Glib.spec
CommitLineData
a2820eaf 1#
2# Conditional build:
ec9b7e4b 3%bcond_without tests # do not perform "make test"
a2820eaf 4#
a2820eaf 5%include /usr/lib/rpm/macros.perl
8d03ed46 6%define pnam Glib
a2820eaf 7Summary: Perl Glib bindings
bcbbc3ff 8Summary(pl.UTF-8): Wiązania Glib dla Perla
a2820eaf 9Name: perl-Glib
89a5b2ec 10# note: versions 1.x[13579]y are unstable, if you want them, please use DEVEL branch
cebb5590 11Version: 1.144
da253afb 12Release: 1
a1c9efd6 13License: LGPL v2.1+
a2820eaf 14Group: Development/Languages/Perl
aca6586e 15Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
cebb5590 16# Source0-md5: 8d7b9a6cd0707a402752d58f82fbe528
f9622589 17URL: http://gtk2-perl.sourceforge.net/
89a5b2ec 18BuildRequires: glib2-devel >= 1:2.12.2
5c8ce1f2 19BuildRequires: perl-ExtUtils-Depends >= 0.201
e080889e 20BuildRequires: perl-ExtUtils-PkgConfig >= 1.06
a153f89c 21BuildRequires: perl-devel >= 1:5.8.0
a2820eaf 22BuildRequires: rpm-perlprov >= 4.1-13
89a5b2ec 23Requires: glib2 >= 1:2.12.2
a2820eaf 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27This module provides perl access to Glib and GLib's GObject libraries.
28
73d26e9b
JR
29%description -l pl.UTF-8
30Ten moduł daje dostęp z poziomu Perla do bibliotek GLib i GObject.
3c0e6838 31
a2820eaf 32%prep
07d67a93 33%setup -q -n %{pnam}-%{version}
a2820eaf 34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38
39%{__make} \
40 OPTIMIZE="%{rpmcflags}"
41
ec9b7e4b 42%{?with_tests:%{__make} test}
a2820eaf 43
44%install
45rm -rf $RPM_BUILD_ROOT
46
89a5b2ec 47%{__make} pure_install \
a2820eaf 48 DESTDIR=$RPM_BUILD_ROOT
49
ec9b7e4b 50rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Glib/*.pod
feb5177c 51rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Glib/Param/*.pod
9c2036ef 52rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Glib/.packlist
ec9b7e4b 53
a2820eaf 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
6a44e5b5 59%doc AUTHORS ChangeLog NEWS README*
a2820eaf 60%{perl_vendorarch}/*.pm
61%dir %{perl_vendorarch}/Glib
41e220a9 62%{perl_vendorarch}/Glib/*.pm
63%{perl_vendorarch}/Glib/Install
64%{perl_vendorarch}/Glib/Object
3c0e6838 65%dir %{perl_vendorarch}/auto/Glib
59cde2ec
JB
66%attr(755,root,root) %{perl_vendorarch}/auto/Glib/Glib.so
67%{perl_vendorarch}/auto/Glib/Glib.bs
a2820eaf 68%{_mandir}/man3/*
This page took 0.130818 seconds and 4 git commands to generate.