forked from pool/perl-Algorithm-C3
update to 0.08, noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-C3?expand=0&rev=4
This commit is contained in:
parent
6dbae075a1
commit
b542e3c3a2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3250f019fb55f9ea01d0fadfb92efd07efe4b8d49a6f77bf24a53bfc1de0ca16
|
||||
size 9563
|
3
Algorithm-C3-0.08.tar.bz2
Normal file
3
Algorithm-C3-0.08.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:29c7224044cae119206a548ee2c8c3f8e281de5375b922e405a32a3ca79afcef
|
||||
size 9239
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
Version: 0.07
|
||||
Release: 1
|
||||
Provides: %cpan_name
|
||||
Requires: perl = %{perl_version}
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic
|
||||
URL: http://search.cpan.org/dist/Algorithm-C3/
|
||||
Summary: A module for merging hierarchies using the C3 algorithm
|
||||
Source: %cpan_name-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-Algorithm-C3
|
||||
%define cpan_name Algorithm-C3
|
||||
Summary: Module for merging hierarchies using the C3 algorithm
|
||||
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(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
|
||||
This module implements the C3 algorithm. I have broken this out into it's own
|
||||
module because I found myself copying and pasting it way too often for
|
||||
This module implements the C3 algorithm. I have broken this out into it's
|
||||
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.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Stevan Little, <stevan@iinteractive.com>
|
||||
Brandon L. Black, <blblack@gmail.com>
|
||||
|
||||
%prep
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_process_packlist
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
# clean up the hard disc after build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man?/*
|
||||
%{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
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user