perl-Goo-Canvas-vl.spec 4.1 KB

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