]> git.pld-linux.org Git - packages/perl-Gnome2-Print.git/commitdiff
- initial
authorfreetz <freetz@pld-linux.org>
Fri, 28 Nov 2003 15:57:41 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Gnome2-Print.spec -> 1.1

perl-Gnome2-Print.spec [new file with mode: 0644]

diff --git a/perl-Gnome2-Print.spec b/perl-Gnome2-Print.spec
new file mode 100644 (file)
index 0000000..7f319aa
--- /dev/null
@@ -0,0 +1,65 @@
+#
+# Conditional build:
+%bcond_with tests      # perform "make test" (requires X server)
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pnam    Gnome2-Print
+Summary:       Perl interface to the Gnome Print libraries
+Summary(pl):   Interfejs perlowy do bibliotek Gnome Print
+Name:          perl-%{pnam}
+Version:       0.52
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       http://dl.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
+# Source0-md5: 8a11fe3da17bf60f06fd502e0142974d
+URL:           http://gtk2-perl.sf.net/
+BuildRequires: gtk+2-devel
+BuildRequires: libgnomeprintui-devel >= 2.2
+BuildRequires: perl-Glib >= 1.012
+BuildRequires: perl-Gtk2 >= 1.012
+BuildRequires: perl-Gnome2 >= 0.38
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: pkgconfig
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Gnome2 Perl module allows a perl developer to use the Gnome
+Printing libraries with Gtk2-perl.
+
+%description -l pl
+Modu³ Perla Gnome2 umo¿liwia programistom perlowym korzystanie z
+bibliotek Gnome Print wraz z Gtk2-perl.
+
+%prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%{perl_vendorarch}/Gnome2/Print.pm
+%dir %{perl_vendorarch}/Gnome2/Print
+%dir %{perl_vendorarch}/auto/Gnome2/Print
+%attr(755,root,root) %{perl_vendorarch}/auto/Gnome2/Print/*.so
+%{perl_vendorarch}/auto/Gnome2/Print/*.bs
+%{perl_vendorarch}/Gnome2/Print
+%{_mandir}/man3/*
This page took 0.114032 seconds and 4 git commands to generate.