perl-Gnome2-Wnck-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Name: perl-Gnome2-Wnck
  2. Version: 0.16
  3. Release: 3%{?_dist_release}
  4. Summary: Perl interface to the Window Navigator Construction Kit
  5. License: LGPLv2+
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Gnome2-Wnck/
  8. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-Wnck-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: perl(ExtUtils::Depends) >= 0.20
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03
  13. BuildRequires: perl(Glib) >= 1.180
  14. BuildRequires: perl(Gtk2) >= 1.00
  15. BuildRequires: libXres-devel
  16. BuildRequires: libwnck-devel
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. This module allows a Perl developer to
  22. use the Window Navigator Construction
  23. Kit library (libwnck for short) to write
  24. tasklists and pagers.
  25. %prep
  26. %setup -q -n Gnome2-Wnck-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  29. %{__make} %{?_smp_mflags} NOECHO=
  30. %install
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  34. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  35. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} $RPM_BUILD_ROOT/*
  37. %check
  38. %{__make} test
  39. %clean
  40. %{__rm} -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc ChangeLog LICENSE maps NEWS README
  44. %{perl_vendorarch}/auto/*
  45. %{perl_vendorarch}/Gnome2*
  46. %{_mandir}/man3/*.3*
  47. %changelog
  48. * Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.16-3
  49. - rebuilt with perl 5.16.3
  50. * Sat Apr 02 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.16-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> 0.16-1
  54. - initial build for Vine Linux based on fedora development
  55. * Sun Jul 28 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-7
  56. - Change BuildRequires from perl(Glib::MakeHelper) to perl(Glib)
  57. - Add BR: perl-Glib-devel
  58. * Sun Jul 27 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-6
  59. - Change BuildRequires from perl(Glib) to perl(Glib::MakeHelper)
  60. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  62. * Sun May 10 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-4
  63. - Modify BuildRequires and correct the %%files.
  64. * Sun Apr 21 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-3
  65. - Modify BuildRequires and correct the %%files.
  66. * Fri Mar 13 2009 Suilong Liang <liangsuilong@gmail.com> -0.16-1
  67. - Fix the bug that the package could not be built on x86_64
  68. * Sat Jan 17 2009 Suilong Liang <liangsuilong@gmail.com> -svn20090118-1
  69. - Initial Package for Fedora 10.