source: projects/specs/branches/6/p/perl-Goo-Canvas/perl-Goo-Canvas-vl.spec @ 3699

Revision 3699, 3.7 KB checked in by kazutaka, 13 years ago (diff)

shutter の依存物を更新。

  • build with perl 5.12.3
  • add Vendor and Distribution tags
Line 
1Name:           perl-Goo-Canvas
2Version:        0.06
3Release:        2%{?_dist_release}
4Summary:        Perl interface to the GooCanvas
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Goo-Canvas/
8Source0:        http://www.cpan.org/authors/id/Y/YE/YEWENBIN/Goo-Canvas-%{version}.tar.gz
9Source1:        Changes.20090614
10Patch0:         perltetris_pl-undefined.diff
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12BuildRequires:  goocanvas-devel
13BuildRequires:  perl(Cairo) >= 1.00
14BuildRequires:  perl(ExtUtils::Depends) >= 0.2
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(ExtUtils::PkgConfig) >= 1.0
17BuildRequires:  perl(Glib) >= 1.103
18BuildRequires:  perl(Gtk2) >= 1.100
19Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25GTK+ does't has an buildin canvas widget. GooCanvas is wonderful. It is easy to use
26and has powerful and extensible way to create items in canvas. Just try it.
27For more documents, please read GooCanvas Manual and the demo programs provided
28in the source distribution in both perl-Goo::Canvas and GooCanvas.
29
30
31%prep
32%setup -q -n Goo-Canvas-%{version}
33cd bin/
34%patch0 -p0 -b .warning
35%{__cp} -f %{SOURCE1} ../Changes
36
37%build
38%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
39%{__make} %{?_smp_mflags} NOECHO=
40
41%install
42%{__rm} -rf $RPM_BUILD_ROOT
43%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
44%{__mv} $RPM_BUILD_ROOT%{_bindir}/perltetris.pl $RPM_BUILD_ROOT%{_bindir}/perlfangkuai.pl
45%{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/perltetris.pl.1 $RPM_BUILD_ROOT%{_mandir}/man1/perlfangkuai.pl.1
46find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
47find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
48find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
49%{_fixperms} $RPM_BUILD_ROOT/*
50
51%check
52%{__make} test
53
54%clean
55%{__rm} -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(-,root,root,-)
59%doc Changes goocanvas.typemap maps README
60%{_bindir}/*
61%{_mandir}/man3/*.3*
62%{perl_vendorarch}/Goo/
63%{_mandir}/man1/*.1.gz
64%{perl_vendorarch}/auto/*
65
66%changelog
67* Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.06-2
68- build with perl 5.12.3
69- add Vendor and Distribution tags
70
71* Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.06-1
72- initial build for Vine Linux based on fedora development
73
74* Sun Jul 28 2009 Liang Suilong <liangsuilong@gmail.com> 0.06-5
75- Change BuildRequires from perl(Glib::MakeHelper) to perl(Glib)
76- Add BR: perl-Glib-devel
77
78* Sun Jul 27 2009 Liang Suilong <liangsuilong@gmail.com> 0.06-4
79- Change BuildRequires from perl(Glib) to perl(Glib::MakeHelper)
80
81* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
83
84* Mon Jun 15 2009 Liang Suilong <liangsuilong@gmail.com> 0.06-2
85- Correct directory ownership
86- Correct the typo in %description
87
88* Thu Jun 11 2009 Liang Suilong <liangsuilong@gmail.com> 0.06-1
89- Upstream to perl-Goo-Canvas-0.06-1
90- Update Changes
91
92* Thu Jun 11 2009 Liang Suilong <liangsuilong@gmail.com> 0.05-6
93- Rename perltertris.pl.1 as perlfangkuang.pl.1
94- Update Changes
95
96* Wed May 27 2009 Liang Suilong <liangsuilong@gmail.com> 0.05-5
97- Rename perltertris.pl as perlfangkuang.pl and update README and Changes
98
99* Sun Apr 21 2009 Liang Suilong <liangsuilong@gmail.com> 0.05-4
100- Modify BuildRequires and correct the %%files.
101
102* Sun Apr 05 2009 Liang Suilong <liangsuilong@gmail.com> 0.05-3
103- Specfile autogenerated by cpanspec 1.77.
104
105* Fri Mar 13 2009 Suilong Liang <liangsuilong@gmail.com> -0.05-2
106-  Fix the bug that the package could not be built on x86_64
107
108* Sun Jan 18 2009 Suilong Liang <liangsuilong@gmail.com> -0.05-1
109- Initial package for Fedora 10.
Note: See TracBrowser for help on using the repository browser.