]> git.pld-linux.org Git - packages/perl-Gnome2-Print.git/blob - perl-Gnome2-Print.spec
- get rid of .pod documentation, rel. 2
[packages/perl-Gnome2-Print.git] / perl-Gnome2-Print.spec
1 #
2 # Conditional build:
3 %bcond_with tests       # perform "make test" (requires X server)
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pnam    Gnome2-Print
7 Summary:        Perl interface to the GNOME Print libraries
8 Summary(pl):    Interfejs perlowy do bibliotek GNOME Print
9 Name:           perl-Gnome2-Print
10 Version:        0.94
11 Release:        2
12 License:        LGPL
13 Group:          Development/Languages/Perl
14 Source0:        http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
15 # Source0-md5:  03f8830f963da7985f4ab0796cdcfa89
16 URL:            http://gtk2-perl.sf.net/
17 BuildRequires:  gtk+2-devel
18 BuildRequires:  libgnomeprintui-devel >= 2.2
19 BuildRequires:  perl-Glib >= 1.020
20 BuildRequires:  perl-Gnome2
21 BuildRequires:  perl-Gtk2 >= 1.021
22 BuildRequires:  perl-devel >= 1:5.8.0
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-perlprov >= 4.1-13
25 Requires:       perl-Glib >= 1.020
26 Requires:       perl-Gtk2 >= 1.021
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 The Gnome2::Print Perl module allows a Perl developer to use the GNOME
31 Printing libraries with Gtk2-perl.
32
33 %description -l pl
34 Modu³ Perla Gnome2::Print umo¿liwia programistom perlowym korzystanie
35 z bibliotek GNOME Print wraz z Gtk2-perl.
36
37 %prep
38 %setup -q -n %{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43
44 %{__make} \
45         OPTIMIZE="%{rpmcflags}"
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README
61 %{perl_vendorarch}/Gnome2/Print.pm
62 %dir %{perl_vendorarch}/Gnome2/Print
63 %{perl_vendorarch}/Gnome2/Print/*.pm
64 %{perl_vendorarch}/Gnome2/Print/Font
65 %{perl_vendorarch}/Gnome2/Print/Install
66 %dir %{perl_vendorarch}/auto/Gnome2/Print
67 %attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Print/*.so
68 %{perl_vendorarch}/auto/Gnome2/Print/*.bs
69 %{_mandir}/man3/*
This page took 0.032657 seconds and 4 git commands to generate.