avatar
Rosa has added 20bc0e6e6a
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "Cairo-1.070.tar.bz2": 0f05bd6634ee5b68a92a45e3c3383e3649737c3e
view file @ 20bc0e6e6a
... ... --- /dev/null
... ... +++ b/perl-Cairo.spec
... ... @@ -0,0 +1,178 @@
1
%define upstream_name    Cairo
2
%define upstream_version 1.070
3
4
Name:       perl-%{upstream_name}
5
Version:    %perl_convert_version %{upstream_version}
6
Release:    %mkrel 5
7
8
Summary:	Perl module for the Cairo library
9
License:	GPL+ or Artistic
10
Group:		Development/GNOME and GTK+
11
Url:		http://gtk2-perl.sf.net/
12
# http://sourceforge.net/project/showfiles.php?group_id=64773&package_id=160888
13
Source0:    http://prdownloads.sourceforge.net/gtk2-perl/%{upstream_name}-%{upstream_version}.tar.bz2
14
15
BuildRequires:	cairo-devel
16
BuildRequires:  perl(ExtUtils::Depends)
17
BuildRequires:  perl(ExtUtils::PkgConfig)
18
BuildRequires:	perl(Test::Number::Delta)
19
BuildRequires:  perl-devel
20
21
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
22
23
%description
24
This module provides perl access to the Cairo library.
25
26
Cairo provides anti-aliased vector-based rendering for X. Paths
27
consist of line segments and cubic splines and can be rendered at any
28
width with various join and cap styles. All colors may be specified
29
with optional translucence (opacity/alpha) and combined using the
30
extended Porter/Duff compositing algebra as found in the X Render
31
Extension.
32
33
%prep
34
%setup -q -n %{upstream_name}-%{upstream_version}
35
find -type d -name CVS | rm -rf
36
37
%build
38
%{__perl} Makefile.PL INSTALLDIRS=vendor
39
%make OPTIMIZE="$RPM_OPT_FLAGS"
40
%make test || :
41
42
%install
43
rm -rf $RPM_BUILD_ROOT
44
%makeinstall_std
45
46
%clean
47
rm -rf $RPM_BUILD_ROOT
48
49
%files
50
%defattr(-, root, root)
51
%doc LICENSE examples README NEWS TODO 
52
%{_mandir}/*/*
53
%{perl_vendorarch}/%{upstream_name}
54
%{perl_vendorarch}/%{upstream_name}.pm
55
%{perl_vendorarch}/auto/*
56
57
58
%changelog
59
* Wed May 04 2011 Oden Eriksson <oeriksson@mandriva.com> 1.70.0-5mdv2011.0
60
+ Revision: 667038
61
- mass rebuild
62
63
* Sun Aug 01 2010 Funda Wang <fwang@mandriva.org> 1.70.0-4mdv2011.0
64
+ Revision: 564384
65
- rebuild for perl 5.12.1
66
67
* Tue Jul 20 2010 Sandro Cazzaniga <kharec@mandriva.org> 1.70.0-3mdv2011.0
68
+ Revision: 555262
69
- rebuild
70
71
* Tue Jul 20 2010 Thierry Vignaud <tv@mandriva.org> 1.70.0-2mdv2011.0
72
+ Revision: 555172
73
- adjust filelist
74
- new release
75
76
* Fri Feb 12 2010 Jérôme Quelin <jquelin@mandriva.org> 1.61.0-2mdv2010.1
77
+ Revision: 504938
78
- rebuild using %%perl_convert_version
79
80
* Mon May 04 2009 Thierry Vignaud <tv@mandriva.org> 1.061-1mdv2010.0
81
+ Revision: 371799
82
- new release
83
84
* Sat Mar 07 2009 Antoine Ginies <aginies@mandriva.com> 1.060-2mdv2009.1
85
+ Revision: 351681
86
- rebuild
87
88
* Mon Jun 23 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.060-1mdv2009.0
89
+ Revision: 227965
90
- update to new version 1.060
91
92
* Tue Jun 17 2008 Thierry Vignaud <tv@mandriva.org> 1.053-2mdv2009.0
93
+ Revision: 223570
94
- rebuild
95
96
* Mon Feb 25 2008 Thierry Vignaud <tv@mandriva.org> 1.053-1mdv2008.1
97
+ Revision: 174751
98
- new release
99
100
* Tue Feb 12 2008 Thierry Vignaud <tv@mandriva.org> 1.052-1mdv2008.1
101
+ Revision: 166532
102
- new release
103
104
* Mon Jan 14 2008 Pixel <pixel@mandriva.com> 1.050-2mdv2008.1
105
+ Revision: 151275
106
- rebuild for perl-5.10.0
107
108
  + Olivier Blin <oblin@mandriva.com>
109
    - restore BuildRoot
110
111
  + Thierry Vignaud <tv@mandriva.org>
112
    - kill re-definition of %%buildroot on Pixel's request
113
114
* Thu Nov 22 2007 Thierry Vignaud <tv@mandriva.org> 1.050-1mdv2008.1
115
+ Revision: 111323
116
- new release
117
118
* Mon Oct 15 2007 Thierry Vignaud <tv@mandriva.org> 1.043-1mdv2008.1
119
+ Revision: 98517
120
- new release
121
122
* Wed Oct 10 2007 Thierry Vignaud <tv@mandriva.org> 1.042-1mdv2008.1
123
+ Revision: 96737
124
- BuildRequires perl-Test-Number-Delta
125
- new release
126
127
* Thu Jun 07 2007 Anssi Hannula <anssi@mandriva.org> 1.041-2mdv2008.0
128
+ Revision: 36190
129
- rebuild with correct optflags
130
131
* Tue Jun 05 2007 Thierry Vignaud <tv@mandriva.org> 1.041-1mdv2008.0
132
+ Revision: 35871
133
- new release
134
135
* Mon May 14 2007 Thierry Vignaud <tv@mandriva.org> 1.040-1mdv2008.0
136
+ Revision: 26721
137
- new release
138
139
140
* Tue Feb 27 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.023-1mdv2007.0
141
+ Revision: 126582
142
- new release
143
144
* Thu Jan 04 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.022-1mdv2007.1
145
+ Revision: 104209
146
- new release
147
148
* Thu Nov 23 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.021-1mdv2007.1
149
+ Revision: 86821
150
- new release
151
152
* Wed Oct 18 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.01-1mdv2007.1
153
+ Revision: 65974
154
- new release
155
- Import perl-Cairo
156
157
* Wed Sep 06 2006 Thierry Vignaud <tvignaud@mandriva.com> 1.00-1mdv2007.0
158
- new release
159
160
* Thu Aug 17 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.92-1mdv2007.0
161
- new release
162
163
* Wed Jul 26 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.90-1mdv2007.0
164
- new release
165
166
* Sat Jun 24 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.04-1mdv2007.0
167
- new release
168
169
* Tue Jan 31 2006 Thierry Vignaud <tvignaud@mandriva.com> 0.03-1mdk
170
- new release
171
172
* Fri Sep 02 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.02-1mdk
173
- 0.02
174
- Build and spec fixes, change group, enable "make test"
175
176
* Thu Aug 18 2005 Thierry Vignaud <tvignaud@mandriva.com> 0.01-1mdk
177
- initial release
178

Comments