perl-Gnome2-vl.spec 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Name: perl-Gnome2
  2. Version: 1.045
  3. Release: 1%{?_dist_release}
  4. Summary: Perl interface to the 2.x series of the GNOME libraries
  5. License: LGPLv2
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Gnome2/
  8. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-%{version}.tar.gz
  9. Patch0: perl-Gnome2-test-fix.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: perl(ExtUtils::Depends) >= 0.20
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03
  14. BuildRequires: perl(Glib) >= 1.04
  15. BuildRequires: perl(Glib::MakeHelper)
  16. BuildRequires: perl(Gnome2::Canvas) >= 1.00
  17. BuildRequires: perl(Gnome2::VFS) >= 1.00
  18. BuildRequires: perl(Gtk2) >= 1.00
  19. BuildRequires: libgnomeui-devel
  20. BuildRequires: libSM-devel
  21. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. The Gnome2 module allows a perl developer to use the Gnome libraries. Find out
  26. more about Gnome+ at http://www.gnome.org.
  27. %prep
  28. %setup -q -n Gnome2-%{version}
  29. %patch0 -p1 -b .test-fix
  30. %build
  31. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  32. %{__make} %{?_smp_mflags}
  33. %install
  34. %{__rm} -rf $RPM_BUILD_ROOT
  35. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  37. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  38. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  39. %{_fixperms} $RPM_BUILD_ROOT/*
  40. %check
  41. %{__make} test
  42. %clean
  43. %{__rm} -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc AUTHORS ChangeLog.pre-git doctypes gnome.typemap
  47. %doc LICENSE maps NEWS README TODO
  48. %{perl_vendorarch}/auto/*
  49. %{perl_vendorarch}/Gnome2*
  50. %{_mandir}/man3/*
  51. %changelog
  52. * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.045-1
  53. - updated to 1.045
  54. - built with perl 5.16.3
  55. * Fri Apr 01 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.042-2
  56. - build with perl 5.12.3
  57. - add Vendor and Distribution tags
  58. - add BuildRequires: libSM-devel
  59. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.042-1
  60. - initial build for Vine Linux based on fedora development
  61. - add patch0: fix icon name in t/GnomeIconTheme.t
  62. * Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 1.042-4
  63. - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
  64. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.042-3
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.042-2
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  68. * Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 1.042-1
  69. - Initial rpm release.