]> git.pld-linux.org Git - packages/perl-Gnome2-Print.git/blame - perl-Gnome2-Print.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Gnome2-Print.git] / perl-Gnome2-Print.spec
CommitLineData
bddec324 1#
2# Conditional build:
cbca630e 3%bcond_with tests # perform "make test" (requires X server)
bddec324 4#
80d0f949 5%define pnam Gnome2-Print
5a0ca993 6Summary: Perl interface to the GNOME Print libraries
ccd77f6f 7Summary(pl.UTF-8): Interfejs perlowy do bibliotek GNOME Print
361180ac 8Name: perl-Gnome2-Print
30bc0aa3 9Version: 1.000
e5c59d55 10Release: 16
34c279a6 11License: LGPL
bddec324 12Group: Development/Languages/Perl
13Source0: http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
30bc0aa3 14# Source0-md5: 66578c2ffaebbe035a0735e65ad71c3f
5abfc25d 15URL: http://gtk2-perl.sourceforge.net/
30bc0aa3
JB
16BuildRequires: libgnomeprintui-devel >= 2.2.0
17BuildRequires: perl-ExtUtils-Depends >= 0.1
18BuildRequires: perl-ExtUtils-PkgConfig >= 1.03
19BuildRequires: perl-Glib >= 1.120
20BuildRequires: perl-Gtk2 >= 1.120
bddec324 21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: pkgconfig
23BuildRequires: rpm-perlprov >= 4.1-13
30bc0aa3
JB
24Requires: libgnomeprintui >= 2.2.0
25Requires: perl-Glib >= 1.120
26Requires: perl-Gtk2 >= 1.120
bddec324 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
5a0ca993 30The Gnome2::Print Perl module allows a Perl developer to use the GNOME
bddec324 31Printing libraries with Gtk2-perl.
32
ca77fc47
JR
33%description -l pl.UTF-8
34Moduł Perla Gnome2::Print umożliwia programistom perlowym korzystanie
5a0ca993 35z bibliotek GNOME Print wraz z Gtk2-perl.
bddec324 36
37%prep
38%setup -q -n %{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{__make} \
33cfed8e 45 CC="%{__cc}" \
bddec324 46 OPTIMIZE="%{rpmcflags}"
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
30bc0aa3 53%{__make} pure_install \
bddec324 54 DESTDIR=$RPM_BUILD_ROOT
55
30bc0aa3
JB
56rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/Print/{,*/}*.pod
57
bddec324 58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
30bc0aa3 63%doc AUTHORS ChangeLog NEWS README
bddec324 64%{perl_vendorarch}/Gnome2/Print.pm
65%dir %{perl_vendorarch}/Gnome2/Print
30bc0aa3 66%{perl_vendorarch}/Gnome2/Print/Config
35007cc0 67%{perl_vendorarch}/Gnome2/Print/Font
68%{perl_vendorarch}/Gnome2/Print/Install
bddec324 69%dir %{perl_vendorarch}/auto/Gnome2/Print
70%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Print/*.so
bddec324 71%{_mandir}/man3/*
This page took 0.088974 seconds and 4 git commands to generate.