1
0
Christian Wittmer 2010-11-11 18:55:17 +00:00 committed by Git OBS Bridge
parent 27e9730454
commit 614431bdca
4 changed files with 77 additions and 36 deletions

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Nov 11 18:53:32 UTC 2010 - chris@computersalat.de
- update to 0.08
- Fix a couple of doc typos.
- Don't create a fake Makefile.PL.
- bcond_with pod
- noarch pkg
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 19 08:38:21 UTC 2010 - coolo@novell.com Tue Oct 19 08:38:21 UTC 2010 - coolo@novell.com

View File

@ -1,51 +1,83 @@
%define cpan_name Algorithm-C3 #
# spec file for package perl-Algorithm-C3 (Version 0.08)
#
# Copyright (c) 2010 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: perl-%cpan_name # Please submit bugfixes or comments via http://bugs.opensuse.org/
Version: 0.07 #
Release: 1
Provides: %cpan_name # norootforbuild
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl %bcond_with pod
License: Artistic
URL: http://search.cpan.org/dist/Algorithm-C3/ Name: perl-Algorithm-C3
Summary: A module for merging hierarchies using the C3 algorithm %define cpan_name Algorithm-C3
Source: %cpan_name-%{version}.tar.gz Summary: Module for merging hierarchies using the C3 algorithm
BuildRoot: %{_tmppath}/%{name}-%{version}-build Version: 0.08
Release: 1
License: GPL+ or Artistic
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: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build)
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%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 = %{perl_version}
Requires: perl(Carp) >= 0.01
%description %description
This module implements the C3 algorithm. I have broken this out into it's own This module implements the C3 algorithm. I have broken this out into it's
module because I found myself copying and pasting it way too often for 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 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 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 resolution as well since it tends to do such a nice job of preserving local
precendence orderings. precendence orderings.
Authors:
--------
Stevan Little, <stevan@iinteractive.com>
Brandon L. Black, <blblack@gmail.com>
%prep %prep
%setup -q -n %cpan_name-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Build.PL installdirs=vendor
make ./Build build flags=%{?_smp_mflags}
make test
%check
./Build test
%install %install
make DESTDIR=$RPM_BUILD_ROOT install_vendor ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%perl_process_packlist %perl_gen_filelist
%clean %clean
# clean up the hard disc after build %{__rm} -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc %{_mandir}/man?/* %doc Changes README
%{perl_vendorlib}/Algorithm
%{perl_vendorarch}/auto/Algorithm
/var/adm/perl-modules/%{name}
%doc Changes MANIFEST README
%changelog -n %{name}
* Sun Oct 26 2008 - gerrit.beine@gmx.de
- first release 0.07
%changelog