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