rpms/perl-Cairo/devel perl-Cairo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jose Pedro Oliveira (jpo) fedora-extras-commits at redhat.com
Tue Apr 25 01:02:24 UTC 2006


Author: jpo

Update of /cvs/extras/rpms/perl-Cairo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2210/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Cairo.spec 
Log Message:
auto-import perl-Cairo-0.03-2 on branch devel from perl-Cairo-0.03-2.src.rpm


--- NEW FILE perl-Cairo.spec ---
#
# Rebuild option:
#
#   --with testsuite         - run the test suite
#

Name:           perl-Cairo
Version:        0.03
Release:        2%{?dist}
Summary:        Perl interface to the cairo library

Group:          Development/Libraries
License:        LGPL
URL:            http://search.cpan.org/dist/Cairo/
Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Cairo-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
BuildRequires:  cairo-devel >= 1.0.0
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Cairo provides Perl bindings for the vector graphics library cairo.
It supports multiple output targets, including the X Window Systems,
PDF, and PNG.  Cairo produces identical output on all those targets
and makes use of hardware acceleration wherever possible.


%prep
%setup -q -n Cairo-%{version}
chmod 644 examples/simple.pl


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
%{?_with_testsuite:make test}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc ChangeLog LICENSE NEWS README TODO examples/
%{perl_vendorarch}/Cairo*
%{perl_vendorarch}/auto/Cairo/
%{_mandir}/man3/*.3*


%changelog
* Tue Apr 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.03-2
- Disabled the test suite as it fails in mock.

* Sun Mar 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.03-1
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Cairo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	25 Apr 2006 01:01:13 -0000	1.1
+++ .cvsignore	25 Apr 2006 01:02:24 -0000	1.2
@@ -0,0 +1 @@
+Cairo-0.03.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Cairo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	25 Apr 2006 01:01:13 -0000	1.1
+++ sources	25 Apr 2006 01:02:24 -0000	1.2
@@ -0,0 +1 @@
+6ad0ab39eb8f56272373a9ea4515f37a  Cairo-0.03.tar.gz




More information about the fedora-extras-commits mailing list