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

Revision 9512, 4.3 KB checked in by inagaki, 9 years ago (diff)

2015-04-16 Ryoichi INAGAKI <ryo1@…>

  • perl-{Cairo, Clone, Curses, Event, Guard, IO-AIO,

IO-Socket-SSL, IPC-Run, Tk, URI}: updated


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