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