source: projects/specs/trunk/p/perl-Cairo/perl-Cairo-vl.spec @ 521

Revision 521, 3.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1#
2# Rebuild option:
3#
4#   --with testsuite         - run the test suite
5#
6
7Name:           perl-Cairo
8Version:        1.060
9Release: 1%{?_dist_release}
10Summary:        Perl interface to the cairo library
11Summary(ja):        Cairo ライブラリの Perl 用インターフェイス
12
13Group:          Development/Libraries
14License:        LGPLv2+
15URL:            http://search.cpan.org/dist/Cairo/
16Source0:        http://www.cpan.org/authors/id/T/TS/TSCH/Cairo-%{version}.tar.gz
17Patch0:         perl-Cairo-ATSUItoQUARTZ.patch
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
21BuildRequires:  perl(Test::Number::Delta)
22BuildRequires:  cairo-devel >= 1.0.0
23Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
24
25%description
26Cairo provides Perl bindings for the vector graphics library cairo.
27It supports multiple output targets, including the X Window Systems,
28PDF, and PNG.  Cairo produces identical output on all those targets
29and makes use of hardware acceleration wherever possible.
30
31
32%prep
33%setup -q -n Cairo-%{version}
34%patch0 -p1
35chmod -c a-x examples/*.pl
36
37
38%build
39%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
40make %{?_smp_mflags}
41
42
43%install
44rm -rf $RPM_BUILD_ROOT
45make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
46find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
47find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
48find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
49chmod -R u+w $RPM_BUILD_ROOT/*
50
51
52%check
53%{?_with_testsuite:make test}
54
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59
60%files
61%defattr(-,root,root,-)
62%doc ChangeLog LICENSE NEWS README TODO examples/
63%{perl_vendorarch}/Cairo*
64%{perl_vendorarch}/auto/Cairo/
65%{_mandir}/man3/*.3pm*
66
67
68%changelog
69* Tue Nov 04 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.060-1
70- new upstream release
71
72* Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.045-1
73- initial build for Vine Linux
74
75* Fri Apr  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.045-1
76- update to 1.045
77- change references to ATSUI to QUARTZ (resolves bz 440741)
78
79* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-4
80- Rebuild for perl 5.10 (again)
81
82* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.044-3
83- Autorebuild for GCC 4.3
84
85* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-2
86- rebuild for new perl
87
88* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-1
89- 1.044
90
91* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.041-2
92- Rebuild for selinux ppc32 issue.
93
94* Tue Jun 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.041-1
95- Update to 1.041.
96
97* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.040-1
98- Update to 1.040.
99
100* Mon Feb 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.023-1
101- Update to 1.023.
102
103* Sun Dec 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.022-1
104- Update to 1.022.
105
106* Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.021-1
107- Update to 1.021.
108
109* Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
110- Update to 1.02.
111
112* Mon Oct  2 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-2
113- Rebuild (https://www.redhat.com/archives/fedora-maintainers/2006-October/msg00005.html).
114
115* Tue Sep 26 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
116- Update to 1.01.
117
118* Tue Sep  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-1
119- Update to 1.00.
120
121* Wed Aug 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.92-1
122- Update to 0.92.
123
124* Sat Aug 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.91-1
125- Update to 0.91.
126
127* Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.90-1
128- Update to 0.90.
129
130* Tue Apr 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.03-2
131- Disabled the test suite as it fails in mock.
132
133* Sun Mar 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.03-1
134- First build.
Note: See TracBrowser for help on using the repository browser.