perl-Gnome2-VFS-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: perl-Gnome2-VFS
  2. Version: 1.081
  3. Release: 1%{?_dist_release}
  4. Summary: Perl interface to the 2.x series of the GNOME VFS library
  5. License: LGPLv2+
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Gnome2-VFS/
  8. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gnome2-VFS-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  11. ## core
  12. BuildRequires: perl(ExtUtils::MakeMaker)
  13. BuildRequires: perl(Test::More)
  14. ## non-core
  15. BuildRequires: perl(ExtUtils::Depends) >= 0.20
  16. BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03
  17. BuildRequires: perl(Glib) >= 1.120
  18. BuildRequires: perl(Glib::MakeHelper)
  19. BuildRequires: gnome-vfs2-devel
  20. %description
  21. This module allows you to interface with the GNOME Virtual File System
  22. library. It provides the means to transparently access files on all kinds of
  23. filesystems.
  24. %prep
  25. %setup -q -n Gnome2-VFS-%{version}
  26. %build
  27. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  28. %{__make} %{?_smp_mflags}
  29. %install
  30. %{__rm} -rf %{buildroot}
  31. %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
  32. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  33. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  34. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  35. %{_fixperms} %{buildroot}/*
  36. %check
  37. make test
  38. %clean
  39. %{__rm} -rf %{buildroot}
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc ChangeLog doctypes LICENSE NEWS README examples/ t/
  43. %{perl_vendorarch}/auto/*
  44. %{perl_vendorarch}/Gnome2*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.081-1
  48. - initial build for Vine Linux based on fedora development
  49. * Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 1.081-4
  50. - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
  51. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.081-3
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  53. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.081-2
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  55. * Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.081-1
  56. - update to 1.081
  57. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.080-3
  58. Rebuild for new perl
  59. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.080-2
  60. - Autorebuild for GCC 4.3
  61. * Tue Oct 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.080-1
  62. - update to 1.080
  63. * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.061-3
  64. - bump
  65. * Sat Dec 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.061-2
  66. - bump
  67. * Wed Nov 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.061-1
  68. - updated to 1.061
  69. * Sun Aug 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.060-1
  70. - Specfile autogenerated by cpanspec 1.68.
  71. - Initial spec file for F-E