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