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