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