source: projects/specs/branches/6/p/perl-Cairo/perl-Cairo-vl.spec @ 3175

Revision 3175, 4.1 KB checked in by iwaim, 13 years ago (diff)

perl-Cairo-1.061-1

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