1
0
Stephan Kulow 2014-03-07 06:49:35 +00:00 committed by Git OBS Bridge
parent 377cd8b2ce
commit 2042c809c2
4 changed files with 28 additions and 35 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5509ca048b0cde2476555465fef673ca95f3c8ef566aa32b296f473e4c96cc04
size 11738

3
Algorithm-C3-0.09.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fe9b5f806c8679dd70fe8eeeaaa570d70a34d449f844759b16e805bbf7322a0
size 12430

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Mar 7 06:48:31 UTC 2014 - coolo@suse.com
- updated to 0.09
- convert to use ExtUtils::MakeMaker using distar
- include repo and bugtracker metadata
- regenerate spec file
-------------------------------------------------------------------
Thu Nov 17 08:48:27 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Algorithm-C3
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,33 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with pod
Name: perl-Algorithm-C3
Version: 0.09
Release: 0
%define cpan_name Algorithm-C3
Summary: Module for merging hierarchies using the C3 algorithm
Version: 0.08
Release: 2
License: GPL+ or Artistic
Summary: A module for merging hierarchies using the C3 algorithm
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Algorithm-C3/
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Algorithm-C3-0.08.tar.gz
Source: http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl-macros
%if %{with pod}
BuildRequires: perl(Test::Pod) >= 1.14
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
%endif
BuildRequires: perl(Test::More) >= 0.47
#
BuildRequires: perl(Carp) >= 0.01
Requires: perl(Carp) >= 0.01
%{perl_requires}
%description
This module implements the C3 algorithm. I have broken this out into it's
@ -49,32 +37,29 @@ own module because I found myself copying and pasting it way too often for
various needs. Most of the uses I have for C3 revolve around class building
and metamodels, but it could also be used for things like dependency
resolution as well since it tends to do such a nice job of preserving local
precendence orderings.
precedence orderings.
Authors:
--------
Stevan Little, <stevan@iinteractive.com>
Brandon L. Black, <blblack@gmail.com>
Below is a brief explanation of C3 taken from the the Class::C3 manpage
module. For more detailed information, see the the SEE ALSO manpage section
and the links there.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
./Build test
%{__make} test
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(-,root,root,755)
%doc Changes README
%changelog