]> git.pld-linux.org Git - packages/perl-Glib-Object-Introspection.git/blame - perl-Glib-Object-Introspection.spec
- updated to 0.009; needs perl-Glib >= 1.240
[packages/perl-Glib-Object-Introspection.git] / perl-Glib-Object-Introspection.spec
CommitLineData
a4e9a820
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pnam Glib-Object-Introspection
6%include /usr/lib/rpm/macros.perl
7Summary: Perl Glib Object-Introspection bindings
8Summary(pl.UTF-8): Wiązania Glib Object-Introspection dla Perla
9Name: perl-Glib-Object-Introspection
9aaaedbb 10Version: 0.009
a4e9a820 11# place real perl-Glib version and set to 1 when required perl-Glib is released
9aaaedbb 12Release: 1
a4e9a820
JB
13License: LGPL v2.1+
14Group: Development/Languages/Perl
15Source0: http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
9aaaedbb 16# Source0-md5: 4247c566d43266692f443ab1fd05bc13
a4e9a820
JB
17URL: http://gtk2-perl.sourceforge.net/
18BuildRequires: gobject-introspection-devel >= 0.10.0
19BuildRequires: perl-ExtUtils-Depends >= 0.300
20BuildRequires: perl-ExtUtils-PkgConfig >= 1.00
9aaaedbb 21BuildRequires: perl-Glib-devel >= 1.240
a4e9a820
JB
22BuildRequires: perl-devel >= 1:5.8.0
23BuildRequires: rpm-perlprov >= 4.1-13
24%if %{with tests}
25BuildRequires: cairo-devel
26BuildRequires: glib2-devel >= 2.0
27%endif
28Requires: gobject-introspection >= 0.10.0
9aaaedbb 29Requires: perl-Glib >= 1.240
a4e9a820
JB
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Glib::Object::Introspection uses the gobject-introspection and libffi
34projects to dynamically create Perl bindings for a wide variety of
35libraries. Examples include gtk+, webkit, libsoup and many more.
36
37%description -l pl.UTF-8
38Glib::GObject::Introspection wykorzystuje projekty
39gobject-introspection oraz libffi do dynamicznego tworzenia wiązań
40Perla do wielu bibliotek, na przykład gtk+, webkit, libsoup.
41
42%prep
43%setup -q -n %{pnam}-%{version}
44
45%build
46%{__perl} Makefile.PL \
47 INSTALLDIRS=vendor
48
49%{__make} \
50 CC="%{__cc}" \
51 OPTIMIZE="%{rpmcflags}"
52
53%{?with_tests:%{__make} test}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} pure_install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Glib/Object/Introspection/.packlist
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc NEWS README
69%dir %{perl_vendorarch}/Glib/Object
70%{perl_vendorarch}/Glib/Object/Introspection.pm
71%dir %{perl_vendorarch}/Glib/Object
72%dir %{perl_vendorarch}/Glib/Object/Introspection
73%{perl_vendorarch}/Glib/Object/Introspection/Install
74%dir %{perl_vendorarch}/auto/Glib/Object
75%dir %{perl_vendorarch}/auto/Glib/Object/Introspection
76%attr(755,root,root) %{perl_vendorarch}/auto/Glib/Object/Introspection/Introspection.so
77%{perl_vendorarch}/auto/Glib/Object/Introspection/Introspection.bs
78%{_mandir}/man3/Glib::Object::Introspection.3pm*
This page took 0.121609 seconds and 4 git commands to generate.