packages: perl-Cairo-GObject/perl-Cairo-GObject.spec (NEW) - new; needs unr...
qboosh
qboosh at pld-linux.org
Mon Aug 15 10:23:42 CEST 2011
Author: qboosh Date: Mon Aug 15 08:23:42 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new; needs unreleased perl-Cairo
---- Files affected:
packages/perl-Cairo-GObject:
perl-Cairo-GObject.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Cairo-GObject/perl-Cairo-GObject.spec
diff -u /dev/null packages/perl-Cairo-GObject/perl-Cairo-GObject.spec:1.1
--- /dev/null Mon Aug 15 10:23:42 2011
+++ packages/perl-Cairo-GObject/perl-Cairo-GObject.spec Mon Aug 15 10:23:37 2011
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pnam Cairo-GObject
+Summary: Perl Cairo-GObject bindings
+Summary(pl.UTF-8): Wiązania Cairo-GObject dla Perla
+Name: perl-Cairo-GObject
+Version: 1.000
+# set real perl-Cairo version and bump to 0.1 when compatible perl-Cairo is released
+Release: 0.1
+License: LGPL v2.1+
+Group: Development/Languages/Perl
+Source0: http://downloads.sourceforge.net/gtk2-perl/%{pnam}-%{version}.tar.gz
+# Source0-md5: 97661c82031ec0b2b6f4645508a9ee51
+URL: http://gtk2-perl.sourceforge.net/
+BuildRequires: cairo-devel >= 1.10.0
+BuildRequires: perl-Cairo > 1.062
+BuildRequires: perl-Glib-devel >= 1.224
+BuildRequires: perl-ExtUtils-Depends >= 0.200
+BuildRequires: perl-ExtUtils-PkgConfig >= 1.0
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+Requires: cairo >= 1.10.0
+Requires: perl-Cairo > 1.062
+Requires: perl-Glib >= 1.224
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides perl access to Cairo library.
+
+%description -l pl.UTF-8
+Ten moduł daje dostęp z poziomu Perla do biblioteki Cairo.
+
+%prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Cairo/GObject/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%{perl_vendorarch}/Cairo/GObject.pm
+%dir %{perl_vendorarch}/Cairo/GObject
+%{perl_vendorarch}/Cairo/GObject/Install
+%dir %{perl_vendorarch}/auto/Cairo/GObject
+%attr(755,root,root) %{perl_vendorarch}/auto/Cairo/GObject/GObject.so
+%{perl_vendorarch}/auto/Cairo/GObject/GObject.bs
+%{_mandir}/man3/Cairo::GObject.3pm*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/08/15 08:23:37 qboosh
+- new; needs unreleased perl-Cairo
================================================================
More information about the pld-cvs-commit
mailing list