forked from pool/perl-Algorithm-C3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Algorithm-C3?expand=0&rev=1
This commit is contained in:
commit
3a51171889
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
Algorithm-C3-0.07.tar.gz
Normal file
3
Algorithm-C3-0.07.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3250f019fb55f9ea01d0fadfb92efd07efe4b8d49a6f77bf24a53bfc1de0ca16
|
||||||
|
size 9563
|
50
perl-Algorithm-C3.spec
Normal file
50
perl-Algorithm-C3.spec
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
%define cpan_name Algorithm-C3
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
%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
|
||||||
|
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.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %cpan_name-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||||
|
%perl_process_packlist
|
||||||
|
|
||||||
|
%clean
|
||||||
|
# clean up the hard disc after build
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user