perl-Gnome2-Canvas-vl.spec 3.4 KB

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