Package perl-Tree-Simple: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | %define _unpackaged_files_terminate_build 1 # # - Tree::Simple - # This spec file was automatically generated by cpan2rpm [ver: 2.027] # (ALT Linux revision) # The following arguments were used: # --spec-only -U Tree::Simple # For more information on cpan2rpm please visit: http://perl.arix.com/ # %define module Tree-Simple %define m_distro Tree-Simple %define m_name Tree::Simple %define m_author_id unknown %define _enable_test 1 Name: perl-Tree-Simple Version: 1.34 Release: alt1 Summary: Tree-Simple - A simple tree object License: Artistic Group: Development/Perl Url: http://www.cpan.org Packager: Vitaly Lipatov <lav@altlinux.ru> BuildArch: noarch Source0: http://www.cpan.org/authors/id/R/RS/RSAVAGE/%{module}-%{version}.tgz # Automatically added by buildreq on Tue Jun 07 2005 BuildRequires: perl-Pod-Escapes perl-Pod-Simple perl-Sub-Uplevel perl-Test-Exception perl-Test-Pod perl-devel perl-Module-Build perl(Test/Version.pm) %description This module in an fully object-oriented implementation of a simple n-ary tree. It is built upon the concept of parent-child relationships, so therefore every Tree::Simple object has both a parent and a set of children (who themselves may have children, and so on). Every Tree::Simple object also has siblings, as they are just the children of their immediate parent. It is can be used to model hierarchal information such as a file-system, the organizational structure of a company, an object inheritance hierarchy, versioned files from a version control system or even an abstract syntax tree for use in a parser. It makes no assumptions as to your intended usage, but instead simply provides the structure and means of accessing and traversing said structure. This module uses exceptions and a minimal Design By Contract style. All method arguments are required unless specified in the documentation, if a required argument is not defined an exception will usually be thrown. Many arguments are also required to be of a specific type, for instance the $parent argument to the constructor must be a Tree::Simple object or an object derived from Tree::Simple, otherwise an exception is thrown. This may seems harsh to some, but this allows me to have the confidence that my code works as I intend, and for you to enjoy the same level of confidence when using this module. Note however that this module does not use any Exception or Error module, the exceptions are just strings thrown with "die". I consider this module to be production stable, it is based on a module which has been in use on a few production systems for approx. 2 years now with no issue. The only difference is that the code has been cleaned up a bit, comments added and the thorough tests written for its public release. I am confident it behaves as I would expect it to, and is (as far as I know) bug-free. I have not stress-tested it under extreme duress, but I don't so much intend for it to be used in that type of situation. If this module cannot keep up with your Tree needs, i suggest switching to one of the modules listed in the "OTHER TREE MODULES" section below. %prep %setup -q -n %{module}-%{version} %build %perl_vendor_build %install %perl_vendor_install rm -rf %buildroot%perl_vendor_man3dir/ %files %doc Changes README Changelog.ini %perl_vendor_privlib/Tree/* %changelog * Wed Feb 10 2021 Igor Vlasenko <viy@altlinux.ru> 1.34-alt1 - automated CPAN update * Tue Jan 16 2018 Igor Vlasenko <viy@altlinux.ru> 1.33-alt1 - automated CPAN update * Tue Dec 19 2017 Igor Vlasenko <viy@altlinux.ru> 1.32-alt1 - automated CPAN update * Tue May 09 2017 Igor Vlasenko <viy@altlinux.ru> 1.31-alt1 - automated CPAN update * Wed Mar 15 2017 Igor Vlasenko <viy@altlinux.ru> 1.30-alt1 - automated CPAN update * Thu May 26 2016 Igor Vlasenko <viy@altlinux.ru> 1.29-alt1 - automated CPAN update * Tue May 03 2016 Igor Vlasenko <viy@altlinux.ru> 1.28-alt1 - automated CPAN update * Mon Dec 07 2015 Igor Vlasenko <viy@altlinux.ru> 1.26-alt1 - automated CPAN update * Mon Jan 19 2015 Igor Vlasenko <viy@altlinux.ru> 1.25-alt1 - automated CPAN update * Tue Sep 09 2014 Igor Vlasenko <viy@altlinux.ru> 1.24-alt1 - automated CPAN update * Wed Nov 13 2013 Igor Vlasenko <viy@altlinux.ru> 1.23-alt1 - automated CPAN update * Mon Sep 30 2013 Igor Vlasenko <viy@altlinux.ru> 1.22-alt1 - automated CPAN update * Fri Sep 27 2013 Igor Vlasenko <viy@altlinux.ru> 1.21-alt1 - automated CPAN update * Mon Sep 23 2013 Igor Vlasenko <viy@altlinux.ru> 1.19-alt1 - automated CPAN update * Fri Jul 16 2010 Igor Vlasenko <viy@altlinux.ru> 1.18-alt1 - automated CPAN update * Sat Sep 06 2008 Vitaly Lipatov <lav@altlinux.ru> 1.15-alt2 - fix directory ownership violation - disable man packaging * Tue Jun 07 2005 Vitaly Lipatov <lav@altlinux.ru> 1.15-alt1 - first build for ALT Linux Sisyphus |