commit 59a76ff90886a5ccfaba731ff7e2d45cf8be6a3b58ae10acb719acb7c034665b Author: Christian Wittmer Date: Wed Aug 4 15:59:44 2010 +0000 Accepting request 44544 from home:computersalat:devel:perl Copy from home:computersalat:devel:perl/perl-Graph via accept of submit request 44544 revision 1. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/44544 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graph?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Graph-0.94.tar.bz2 b/Graph-0.94.tar.bz2 new file mode 100644 index 0000000..c5d9ea1 --- /dev/null +++ b/Graph-0.94.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7047365148d0b0c07ff13ba902ec32f7670e74e76aaab91370244903859293f +size 128200 diff --git a/perl-Graph.changes b/perl-Graph.changes new file mode 100644 index 0000000..12a7b6a --- /dev/null +++ b/perl-Graph.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Mon Aug 2 15:36:23 UTC 2010 - chris@computersalat.de + +- initial package 0.94 + * created by cpanspec 1.78 + diff --git a/perl-Graph.spec b/perl-Graph.spec new file mode 100644 index 0000000..2bf536b --- /dev/null +++ b/perl-Graph.spec @@ -0,0 +1,98 @@ +# +# spec file for package perl-Graph (Version 0.94) +# +# 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. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +%bcond_with pod + +Name: perl-Graph +%define cpan_name Graph +Summary: Graph data structures and algorithms +Version: 0.94 +Release: 1 +License: GPL+ or Artistic +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Graph/ +#Source: http://www.cpan.org/modules/by-module/Graph/Graph-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +%if %{with pod} +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 1.00 +%endif +BuildRequires: perl(Test::More) +BuildRequires: perl(List::Util) +BuildRequires: perl(Math::Complex) +BuildRequires: perl(Scalar::Util) +# further mention if perl >= 5.008 +BuildRequires: perl(Safe) +BuildRequires: perl(Storable) >= 2.05 +# +Requires: perl = %{perl_version} +Requires: perl(List::Util) +Requires: perl(Math::Complex) +Requires: perl(Scalar::Util) +# further mention if perl >= 5.008 +Requires: perl(Safe) +Requires: perl(Storable) >= 2.05 + +%description +Graph::Directed allows you to create directed graphs. +For the available methods, see Graph. +http://search.cpan.org/~jhi/Graph-0.94/lib/Graph.pod + +Authors: +-------- + Jarkko Hietaniemi + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test + +%install +%perl_make_install +# do not perl_process_packlist (noarch) +# remove .packlist file +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch +# remove perllocal.pod file +%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib +# rpmlint: auto directory is included in the perl package +%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorlib/auto +%perl_gen_filelist + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes DESIGN README RELEASE TODO + +%changelog +* Mon Aug 2 2010 chris@computersalat.de +- initial package 0.94 + * created by cpanspec 1.78