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

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

import VineSeed package specs

Line 
1Name:           perl-Gnome2-Canvas
2Version:        1.002
3Release:        1%{?_dist_release}
4Summary:        An engine for structured graphics in Gnome2
5
6Group:          Development/Libraries
7License:        GPLv2+
8URL:            http://search.cpan.org/dist/Gnome2-Canvas/
9Source0:        http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-Canvas-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12BuildRequires:  perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
13BuildRequires:  perl(Glib), perl(Glib::MakeHelper), perl(Gtk2)
14BuildRequires:  libgnomecanvas-devel >= 2.0.0
15Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17%description
18The Gnome Canvas is an engine for structured graphics
19that offers a rich imaging model, high-performance
20rendering, and a powerful, high level API.
21
22It offers a choice of two rendering back-ends,
23one based on GDK for extremely fast display, and
24another based on Libart, a sophisticated, antialiased,
25alpha-compositing engine. This widget can be used
26for flexible display of graphics and for creating
27interactive user interface elements.
28
29
30%prep
31%setup -q -n Gnome2-Canvas-%{version}
32
33
34%build
35%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
36%{__make} %{?_smp_mflags}
37
38
39%install
40%{__rm} -rf $RPM_BUILD_ROOT
41%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
42find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
43find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
44find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
45%{__chmod} -R u+w $RPM_BUILD_ROOT/*
46
47
48%check
49make test
50
51
52%clean
53%{__rm} -rf $RPM_BUILD_ROOT
54
55
56%files
57%defattr(-,root,root,-)
58%doc AUTHORS ChangeLog LICENSE NEWS README TODO
59%doc canvas_demo/
60%{perl_vendorarch}/auto/*
61%{perl_vendorarch}/Gnome2*
62%{_mandir}/man3/*.3*
63
64
65%changelog
66* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.002-1
67- initial build for Vine Linux based on fedora development
68
69* Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 1.002-12
70- Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
71
72* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-11
73- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
74
75* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002-10
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
77
78* Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.002-9
79- rebuild for new perl
80
81* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.002-8
82- Autorebuild for GCC 4.3
83
84* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.002-7
85- bump
86
87* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 1.002-6
88 - rebuilt for unwind info generation, broken in gcc-4.1.1-21
89
90* Tue Sep 19 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.002-5
91- taking co-maintainership post-non-massrebuild
92- tweak %%files to properly own all directories under perl_vendorarch/auto/
93
94* Wed Sep 14 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.002-4
95- Added OPTIMIZE="$RPM_OPT_FLAGS"
96
97* Fri Aug 19 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.002-3
98- Third build.
99
100* Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.002-2
101- Second build.
102
103* Sun Jul 3 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.002-1
104- First build.
Note: See TracBrowser for help on using the repository browser.