perl-File-DesktopEntry-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: perl-File-DesktopEntry
  2. Version: 0.04
  3. Release: 1%{?_dist_release}
  4. Summary: Object to handle .desktop files
  5. License: GPL+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/File-DesktopEntry/
  8. Source0: http://www.cpan.org/authors/id/P/PA/PARDUS/File-DesktopEntry/File-DesktopEntry-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker) perl(Module::Build)
  12. BuildRequires: perl(Test::More) perl(Test::Pod) perl(Test::Pod::Coverage)
  13. BuildRequires: perl(File::BaseDir)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: shaolin
  18. %description
  19. This module is used to work with .desktop files. The format of these files
  20. is specified by the freedesktop "Desktop Entry" specification. See
  21. http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec. For this
  22. module version 0.9.4 of the specification was used.
  23. %prep
  24. %setup -q -n File-DesktopEntry-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf %{buildroot}
  30. make pure_install PERL_INSTALL_ROOT=%{buildroot}
  31. find %{buildroot} -type f -name .packlist -exec rm -f {} \;
  32. find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
  33. %{_fixperms} %{buildroot}/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf %{buildroot}
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc Changes README
  41. %{perl_vendorlib}/*
  42. %{_mandir}/man3/*
  43. %changelog
  44. * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
  45. - initial build for Vine Linux
  46. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-15
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  48. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-14
  49. - Perl mass rebuild
  50. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-13
  51. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  52. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-12
  53. - 661697 rebuild for fixing problems with vendorach/lib
  54. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-11
  55. - Mass rebuild with perl-5.12.0
  56. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-10
  57. - Mass rebuild with perl-5.12.0
  58. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-9
  59. - rebuild against perl 5.10.1
  60. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-8
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  62. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-7
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  64. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-2
  65. - rebuild for new perl
  66. * Thu Dec 27 2007 Patrice Dumas <pertusus@free.fr> 0.04-5
  67. - update to 0.04
  68. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.2
  69. - add BR: perl(Test::More)
  70. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.1
  71. - correct license tag
  72. - add BR: perl(ExtUtils::MakeMaker)
  73. * Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.02-1
  74. - Specfile autogenerated by cpanspec 1.69.