perl-Tree-DAG_Node-vl.spec 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: perl-Tree-DAG_Node
  2. Version: 1.06
  3. Release: 1%{?_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. %description
  14. This class encapsulates/makes/manipulates objects that represent nodes
  15. in a tree structure. The tree structure is not an object itself, but
  16. is emergent from the linkages you create between nodes. This class
  17. provides the methods for making linkages that can be used to build up
  18. a tree, while preventing you from ever making any kinds of linkages
  19. which are not allowed in a tree (such as having a node be its own
  20. mother or ancestor, or having a node have two mothers).
  21. %prep
  22. %setup -q -n Tree-DAG_Node-%{version}
  23. %build
  24. %{__perl} Makefile.PL INSTALLDIRS=vendor
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  30. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  31. chmod -R u+w $RPM_BUILD_ROOT/*
  32. %check
  33. make test
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc ChangeLog README
  39. %{perl_vendorlib}/Tree/
  40. %{_mandir}/man3/*.3pm*
  41. %changelog
  42. * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.06-1
  43. - initial build for Vine Linux based on fedora development
  44. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-6
  45. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  46. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-5
  47. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  48. * Thu Nov 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-4
  49. - fix source url
  50. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-3
  51. - Rebuild for perl 5.10 (again)
  52. * Thu Jan 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-2
  53. - rebuild for new perl
  54. * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.06-1
  55. - 1.06
  56. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-4.1
  57. - correct license tag
  58. - add BR: perl(ExtUtils::MakeMaker)
  59. * Fri Sep 8 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-4
  60. - Rebuild for FC6.
  61. * Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-3
  62. - Rebuild for FC5 (perl 5.8.8).
  63. * Fri Jul 1 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.05-2
  64. - Dist tag.
  65. * Thu Dec 30 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.05-0.fdr.1
  66. - Update to 1.05.
  67. * Sun Jul 04 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.04-0.fdr.1
  68. - First build.