perl-File-DesktopEntry-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Name: perl-File-DesktopEntry
  2. Version: 0.08
  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}-root
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. BuildRequires: perl(File::BaseDir)
  13. BuildRequires: perl(Module::Build)
  14. BuildRequires: perl(Test::More)
  15. BuildRequires: perl(Test::Pod)
  16. BuildRequires: perl(Test::Pod::Coverage)
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: shaolin
  21. %description
  22. This module is used to work with .desktop files. The format of these files
  23. is specified by the freedesktop "Desktop Entry" specification. See
  24. http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec. For this
  25. module version 0.9.4 of the specification was used.
  26. %prep
  27. %setup -q -n File-DesktopEntry-%{version}
  28. %build
  29. %{__perl} Makefile.PL INSTALLDIRS=vendor
  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} -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} %{buildroot}/*
  37. %check
  38. make test
  39. %clean
  40. rm -rf %{buildroot}
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc Changes README
  44. %{perl_vendorlib}/*
  45. %{_mandir}/man3/*
  46. %changelog
  47. * Sat Nov 8 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.08-1
  48. - updated to 0.08
  49. - built with perl 5.16.3
  50. * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-2
  51. - rebuild
  52. * Mon Feb 27 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.04-1
  53. - initial build for Vine Linux
  54. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-15
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  56. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.04-14
  57. - Perl mass rebuild
  58. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-13
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  60. * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-12
  61. - 661697 rebuild for fixing problems with vendorach/lib
  62. * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-11
  63. - Mass rebuild with perl-5.12.0
  64. * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-10
  65. - Mass rebuild with perl-5.12.0
  66. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.04-9
  67. - rebuild against perl 5.10.1
  68. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-8
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-7
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  72. * Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-2
  73. - rebuild for new perl
  74. * Thu Dec 27 2007 Patrice Dumas <pertusus@free.fr> 0.04-5
  75. - update to 0.04
  76. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.2
  77. - add BR: perl(Test::More)
  78. * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.02-1.1
  79. - correct license tag
  80. - add BR: perl(ExtUtils::MakeMaker)
  81. * Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.02-1
  82. - Specfile autogenerated by cpanspec 1.69.