perl-Gnome2-VFS-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: perl-Gnome2-VFS
  2. Version: 1.081
  3. Release: 2%{?_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. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. This module allows you to interface with the GNOME Virtual File System
  24. library. It provides the means to transparently access files on all kinds of
  25. filesystems.
  26. %prep
  27. %setup -q -n Gnome2-VFS-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
  30. %{__make} %{?_smp_mflags}
  31. %install
  32. %{__rm} -rf %{buildroot}
  33. %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
  34. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  35. find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
  36. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  37. %{_fixperms} %{buildroot}/*
  38. %check
  39. make test
  40. %clean
  41. %{__rm} -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc ChangeLog doctypes LICENSE NEWS README examples/ t/
  45. %{perl_vendorarch}/auto/*
  46. %{perl_vendorarch}/Gnome2*
  47. %{_mandir}/man3/*
  48. %changelog
  49. * Sat Apr 02 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.081-2
  50. - build with perl 5.12.3
  51. - add Vendor and Distribution tags
  52. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.081-1
  53. - initial build for Vine Linux based on fedora development
  54. * Thu Jul 30 2009 Ralf Cors辿pius <corsepiu@fedoraproject.org> - 1.081-4
  55. - Fix mass rebuild breakdown: Add BR: perl(Glib::MakeHelper).
  56. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.081-3
  57. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  58. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.081-2
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  60. * Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.081-1
  61. - update to 1.081
  62. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.080-3
  63. Rebuild for new perl
  64. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.080-2
  65. - Autorebuild for GCC 4.3
  66. * Tue Oct 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.080-1
  67. - update to 1.080
  68. * Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.061-3
  69. - bump
  70. * Sat Dec 02 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.061-2
  71. - bump
  72. * Wed Nov 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.061-1
  73. - updated to 1.061
  74. * Sun Aug 13 2006 Chris Weyl <cweyl@alumni.drew.edu> 1.060-1
  75. - Specfile autogenerated by cpanspec 1.68.
  76. - Initial spec file for F-E