]> git.pld-linux.org Git - packages/perl-Gnome2-Print.git/blame_incremental - perl-Gnome2-Print.spec
perl 5.38.0 rebuild
[packages/perl-Gnome2-Print.git] / perl-Gnome2-Print.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_with tests # perform "make test" (requires X server)
4#
5%define pnam Gnome2-Print
6Summary: Perl interface to the GNOME Print libraries
7Summary(pl.UTF-8): Interfejs perlowy do bibliotek GNOME Print
8Name: perl-Gnome2-Print
9Version: 1.001
10Release: 4
11License: LGPL v2+
12Group: Development/Languages/Perl
13Source0: https://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
14# Source0-md5: 67ae821c4b7cb9046513a3944cd37e9b
15Patch0: perl-5.36.patch
16URL: http://gtk2-perl.sourceforge.net/
17BuildRequires: libgnomeprintui-devel >= 2.2.0
18BuildRequires: perl-ExtUtils-Depends >= 0.1
19BuildRequires: perl-ExtUtils-PkgConfig >= 1.03
20BuildRequires: perl-Glib-devel >= 1.120
21BuildRequires: perl-Gtk2-devel >= 1.120
22BuildRequires: perl-devel >= 1:5.8.0
23BuildRequires: pkgconfig
24BuildRequires: rpm-perlprov >= 4.1-13
25BuildRequires: rpmbuild(macros) >= 1.745
26Requires: libgnomeprintui >= 2.2.0
27Requires: perl-Glib >= 1.120
28Requires: perl-Gtk2 >= 1.120
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32The Gnome2::Print Perl module allows a Perl developer to use the GNOME
33Printing libraries with Gtk2-perl.
34
35Note: this module is deprecated and no longer maintained.
36
37%description -l pl.UTF-8
38Moduł Perla Gnome2::Print umożliwia programistom perlowym korzystanie
39z bibliotek GNOME Print wraz z Gtk2-perl.
40
41Uwaga: ten moduł jest przestarzały i nie jest już utrzymywany.
42
43%package devel
44Summary: Development files for Perl Gnome2-Print bindings
45Summary(pl.UTF-8): Pliki programistyczne wiązań Gnome2-Print dla Perla
46Group: Development/Languages/Perl
47Requires: %{name} = %{version}-%{release}
48Requires: libgnomeprintui-devel >= 2.2.0
49Requires: perl-Cairo-devel
50Requires: perl-Glib-devel >= 1.120
51Requires: perl-Gtk2-devel >= 1.120
52
53%description devel
54Development files for Perl Gnome2-Print bindings.
55
56%description devel -l pl.UTF-8
57Pliki programistyczne wiązań Gnome2-Print dla Perla.
58
59%prep
60%setup -q -n %{pnam}-%{version}
61%patch0 -p1
62
63%build
64%{__perl} Makefile.PL \
65 INSTALLDIRS=vendor
66
67%{__make} \
68 CC="%{__cc}" \
69 OPTIMIZE="%{rpmcflags}"
70
71%{?with_tests:%{__make} test}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} pure_install \
77 DESTDIR=$RPM_BUILD_ROOT
78
79%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Gnome2/Print/*.pod
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
86%doc AUTHORS ChangeLog NEWS README
87%{perl_vendorarch}/Gnome2/Print.pm
88%dir %{perl_vendorarch}/Gnome2/Print
89%{perl_vendorarch}/Gnome2/Print/Config
90%{perl_vendorarch}/Gnome2/Print/Font
91%dir %{perl_vendorarch}/auto/Gnome2/Print
92%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Print/Print.so
93%{_mandir}/man3/Gnome2::Print*.3pm*
94
95%files devel
96%defattr(644,root,root,755)
97%{perl_vendorarch}/Gnome2/Print/Install
This page took 0.099569 seconds and 4 git commands to generate.