[perl-Pango] initial package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit d9c406b67ffb4f7542e8e87d2537f701c20f19db
Author: Tom "spot" Callaway <tcallawa@xxxxxxxxxx>
Date:   Wed Mar 23 17:10:21 2011 -0400

    initial package

 .gitignore      |    1 +
 perl-Pango.spec |   60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cf7728d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Pango-1.221.tar.gz
diff --git a/perl-Pango.spec b/perl-Pango.spec
new file mode 100644
index 0000000..6bf9937
--- /dev/null
+++ b/perl-Pango.spec
@@ -0,0 +1,60 @@
+Name:           perl-Pango
+Version:        1.221
+Release:        2%{?dist}
+Summary:        Perl interface to the pango library
+Group:          Development/Libraries
+License:        LGPLv2+
+URL:            http://search.cpan.org/dist/Pango/
+Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Pango-%{version}.tar.gz
+BuildRequires:  perl(ExtUtils::Depends) >= 0.300 
+BuildRequires:  perl(ExtUtils::PkgConfig)
+BuildRequires:  perl(Cairo) >= 1.000
+BuildRequires:  perl(Glib) >= 1.220
+BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  pango-devel >= 1.0.0
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(Cairo) >= 1.000
+
+%description
+perl-Pango provides Perl bindings for the text layout/rendering library 
+pango. Pango is a library for laying out and rendering text, with an 
+emphasis on internationalization. Pango can be used anywhere that text layout 
+is needed, but using Pango in conjunction with Cairo and/or Gtk2 provides a 
+complete solution with high quality text handling and graphics rendering.
+
+%prep
+%setup -q -n Pango-%{version}
+%{?perl_default_filter}
+
+chmod -c a-x examples/*.pl
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+chmod -R u+w $RPM_BUILD_ROOT/*
+
+%check
+# Tests break in odd ways on koji, possibly no-display to blame?
+# make test
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE NEWS README examples/
+%{perl_vendorarch}/Pango*
+%{perl_vendorarch}/auto/Pango/
+%{_mandir}/man3/*.3pm*
+
+%changelog
+* Thu Mar  3 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 1.221-2
+- drop duplicated requires
+- add default perl filtering
+
+* Wed Jan 26 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 1.221-1
+- initial package
diff --git a/sources b/sources
index e69de29..60ef1ec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8d257209aa11bd6c3a2beb235c2f103f  Pango-1.221.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux