perl-Tree-DAG_Node-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. Name: perl-Tree-DAG_Node
  2. Version: 1.06
  3. Release: 2%{?_dist_release}
  4. Summary: Class for representing nodes in a tree
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Tree-DAG_Node/
  8. Source0: http://search.cpan.org/CPAN/authors/id/C/CO/COGENT/Tree-DAG_Node-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. This class encapsulates/makes/manipulates objects that represent nodes
  17. in a tree structure. The tree structure is not an object itself, but
  18. is emergent from the linkages you create between nodes. This class
  19. provides the methods for making linkages that can be used to build up
  20. a tree, while preventing you from ever making any kinds of linkages
  21. which are not allowed in a tree (such as having a node be its own
  22. mother or ancestor, or having a node have two mothers).
  23. %prep
  24. %setup -q -n Tree-DAG_Node-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  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 d -depth -exec rmdir {} 2>/dev/null ';'
  33. chmod -R u+w $RPM_BUILD_ROOT/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc ChangeLog README
  41. %{perl_vendorlib}/Tree/
  42. %{_mandir}/man3/*.3pm*
  43. %changelog
  44. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.06-2
  45. - build with perl 5.12.3
  46. - add Vendor and Distribution tags
  47. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.06-1
  48. - initial build for Vine Linux based on fedora development
  49. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-6
  50. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  51. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-5
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  53. * Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-4
  54. - fix source url
  55. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-3
  56. - Rebuild for perl 5.10 (again)
  57. * Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-2
  58. - rebuild for new perl
  59. * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-1
  60. - 1.06
  61. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-4.1
  62. - correct license tag
  63. - add BR: perl(ExtUtils::MakeMaker)
  64. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-4
  65. - Rebuild for FC6.
  66. * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-3
  67. - Rebuild for FC5 (perl 5.8.8).
  68. * Fri Jul 1 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-2
  69. - Dist tag.
  70. * Thu Dec 30 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
  71. - Update to 1.05.
  72. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.04-0.fdr.1
  73. - First build.