perl-Gnome2-Wnck-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Name: perl-Gnome2-Wnck
  2. Version: 0.16
  3. Release: 1%{?_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-%(%{__id_u} -n)
  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. %description
  19. This module allows a Perl developer to
  20. use the Window Navigator Construction
  21. Kit library (libwnck for short) to write
  22. tasklists and pagers.
  23. %prep
  24. %setup -q -n Gnome2-Wnck-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  27. %{__make} %{?_smp_mflags} NOECHO=
  28. %install
  29. %{__rm} -rf $RPM_BUILD_ROOT
  30. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  31. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  32. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  33. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  34. %{_fixperms} $RPM_BUILD_ROOT/*
  35. %check
  36. %{__make} test
  37. %clean
  38. %{__rm} -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc ChangeLog LICENSE maps NEWS README
  42. %{perl_vendorarch}/auto/*
  43. %{perl_vendorarch}/Gnome2*
  44. %{_mandir}/man3/*.3*
  45. %changelog
  46. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.16-1
  47. - initial build for Vine Linux based on fedora development
  48. * Sun Jul 28 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-7
  49. - Change BuildRequires from perl(Glib::MakeHelper) to perl(Glib)
  50. - Add BR: perl-Glib-devel
  51. * Sun Jul 27 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-6
  52. - Change BuildRequires from perl(Glib) to perl(Glib::MakeHelper)
  53. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-5
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  55. * Sun May 10 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-4
  56. - Modify BuildRequires and correct the %%files.
  57. * Sun Apr 21 2009 Liang Suilong <liangsuilong@gmail.com> 0.16-3
  58. - Modify BuildRequires and correct the %%files.
  59. * Fri Mar 13 2009 Suilong Liang <liangsuilong@gmail.com> -0.16-1
  60. - Fix the bug that the package could not be built on x86_64
  61. * Sat Jan 17 2009 Suilong Liang <liangsuilong@gmail.com> -svn20090118-1
  62. - Initial Package for Fedora 10.