]> git.pld-linux.org Git - packages/perl-Glib.git/blame - perl-Glib.spec
- rebuild with perl 5.24.0
[packages/perl-Glib.git] / perl-Glib.spec
CommitLineData
a2820eaf 1#
2# Conditional build:
ec9b7e4b 3%bcond_without tests # do not perform "make test"
bd268f68 4
8d03ed46 5%define pnam Glib
bd268f68 6%include /usr/lib/rpm/macros.perl
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
7b1fe28d 11Version: 1.320
7c65b5e9 12Release: 2
a1c9efd6 13License: LGPL v2.1+
a2820eaf 14Group: Development/Languages/Perl
15669754 15Source0: http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
7b1fe28d 16# Source0-md5: 9cb020634d0b4d97152e629b1cadf54d
f9622589 17URL: http://gtk2-perl.sourceforge.net/
7b1fe28d 18BuildRequires: glib2-devel >= 1:2.24.0
5fe2d151 19BuildRequires: perl-ExtUtils-Depends >= 0.300
e080889e 20BuildRequires: perl-ExtUtils-PkgConfig >= 1.06
a153f89c 21BuildRequires: perl-devel >= 1:5.8.0
a2820eaf 22BuildRequires: rpm-perlprov >= 4.1-13
7b1fe28d 23Requires: glib2 >= 1:2.24.0
a2820eaf 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
bd268f68 27This module provides Perl access to Glib and GLib's GObject libraries.
a2820eaf 28
73d26e9b
JR
29%description -l pl.UTF-8
30Ten moduł daje dostęp z poziomu Perla do bibliotek GLib i GObject.
3c0e6838 31
dfde7e57
JB
32%package devel
33Summary: Development files for Perl Glib bindings
34Summary(pl.UTF-8): Pliki programistyczne wiązań Glib dla Perla
35Group: Development/Languages/Perl
36Requires: %{name} = %{version}-%{release}
7b1fe28d 37Requires: glib2-devel >= 1:2.24.0
dfde7e57
JB
38
39%description devel
40Development files for Perl Glib bindings.
41
42%description devel -l pl.UTF-8
43Pliki programistyczne wiązań Glib dla Perla.
44
a2820eaf 45%prep
07d67a93 46%setup -q -n %{pnam}-%{version}
a2820eaf 47
48%build
49%{__perl} Makefile.PL \
50 INSTALLDIRS=vendor
51
52%{__make} \
e262c27f 53 CC="%{__cc}" \
a2820eaf 54 OPTIMIZE="%{rpmcflags}"
55
ec9b7e4b 56%{?with_tests:%{__make} test}
a2820eaf 57
58%install
59rm -rf $RPM_BUILD_ROOT
f1b5acd7 60install -d $RPM_BUILD_ROOT%{perl_vendorarch}/{Gnome2,auto/Gnome2}
a2820eaf 61
89a5b2ec 62%{__make} pure_install \
a2820eaf 63 DESTDIR=$RPM_BUILD_ROOT
64
15669754
JB
65%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Glib/*.pod
66%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Glib/Param/*.pod
67%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Glib/.packlist
ec9b7e4b 68
a2820eaf 69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
356c7555 74%doc AUTHORS NEWS README TODO
4a04421c 75%{perl_vendorarch}/Glib.pm
a2820eaf 76%dir %{perl_vendorarch}/Glib
41e220a9 77%{perl_vendorarch}/Glib/Object
3c0e6838 78%dir %{perl_vendorarch}/auto/Glib
59cde2ec 79%attr(755,root,root) %{perl_vendorarch}/auto/Glib/Glib.so
dfde7e57
JB
80%{_mandir}/man3/Glib.3pm*
81%{_mandir}/man3/Glib::BookmarkFile.3pm*
82%{_mandir}/man3/Glib::Boxed.3pm*
7b1fe28d 83%{_mandir}/man3/Glib::Bytes.3pm*
dfde7e57
JB
84%{_mandir}/man3/Glib::Error.3pm*
85%{_mandir}/man3/Glib::Flags.3pm*
86%{_mandir}/man3/Glib::KeyFile.3pm*
87%{_mandir}/man3/Glib::Log.3pm*
88%{_mandir}/man3/Glib::MainLoop.3pm*
89%{_mandir}/man3/Glib::Markup.3pm*
90%{_mandir}/man3/Glib::Object*.3pm*
91%{_mandir}/man3/Glib::OptionContext.3pm*
92%{_mandir}/man3/Glib::OptionGroup.3pm*
93%{_mandir}/man3/Glib::Param::*.3pm*
94%{_mandir}/man3/Glib::ParamSpec.3pm*
95%{_mandir}/man3/Glib::Signal.3pm*
96%{_mandir}/man3/Glib::Type.3pm*
97%{_mandir}/man3/Glib::Utils.3pm*
7b1fe28d
JB
98%{_mandir}/man3/Glib::Variant.3pm*
99%{_mandir}/man3/Glib::VariantType.3pm*
dfde7e57
JB
100%{_mandir}/man3/Glib::index.3pm*
101%{_mandir}/man3/Glib::version.3pm*
f1b5acd7
JB
102# for Gnome2-related packages
103%dir %{perl_vendorarch}/Gnome2
104%dir %{perl_vendorarch}/auto/Gnome2
dfde7e57
JB
105
106%files devel
107%defattr(644,root,root,755)
108%{perl_vendorarch}/Glib/CodeGen.pm
109%{perl_vendorarch}/Glib/GenPod.pm
110%{perl_vendorarch}/Glib/Install
111%{perl_vendorarch}/Glib/MakeHelper.pm
112%{perl_vendorarch}/Glib/ParseXSDoc.pm
113%{_mandir}/man3/Glib::CodeGen.3pm*
114%{_mandir}/man3/Glib::GenPod.3pm*
115%{_mandir}/man3/Glib::MakeHelper.3pm*
116%{_mandir}/man3/Glib::ParseXSDoc.3pm*
117%{_mandir}/man3/Glib::devel.3pm*
118%{_mandir}/man3/Glib::xsapi.3pm*
This page took 0.19641 seconds and 4 git commands to generate.