packages: perl-Pango/perl-Pango.spec (NEW) - Initial add from pldcpan. Need...

caleb caleb at pld-linux.org
Fri May 21 20:14:22 CEST 2010


Author: caleb                        Date: Fri May 21 18:14:22 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Initial add from pldcpan. Needed for perl-Clutter

---- Files affected:
packages/perl-Pango:
   perl-Pango.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Pango/perl-Pango.spec
diff -u /dev/null packages/perl-Pango/perl-Pango.spec:1.1
--- /dev/null	Fri May 21 20:14:22 2010
+++ packages/perl-Pango/perl-Pango.spec	Fri May 21 20:14:17 2010
@@ -0,0 +1,76 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Pango
+Summary:	Pango - Layout and render international text
+Name:		perl-Pango
+Version:	1.221
+Release:	1
+License:	unknown
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/T/TS/TSCH/Pango-%{version}.tar.gz
+# Source0-md5:	8d257209aa11bd6c3a2beb235c2f103f
+URL:		http://search.cpan.org/dist/Pango/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Cairo >= 1.000
+BuildRequires:	perl-ExtUtils-Depends >= 0.300
+BuildRequires:	perl-ExtUtils-PkgConfig
+BuildRequires:	perl-Glib >= 1.220
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pango - Layout and render international text
+
+%prep
+%setup -q -n %{pdir}-%{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
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%{perl_vendorarch}/%{pdir}.pm
+%dir %{perl_vendorarch}/%{pdir}
+%{perl_vendorarch}/%{pdir}/*.pod
+%{perl_vendorarch}/%{pdir}/Cairo/*pod
+%dir %{perl_vendorarch}/%{pdir}/Cairo
+%dir %{perl_vendorarch}/auto/Pango/
+%{perl_vendorarch}/auto/Pango/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/*.so
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%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  2010/05/21 18:14:17  caleb
+- Initial add from pldcpan. Needed for perl-Clutter
+
================================================================


More information about the pld-cvs-commit mailing list