From 56145bf8cb579254a3aed2f9ca64b94543382ecf Mon Sep 17 00:00:00 2001 From: alexlan Date: Apr 09 2007 11:29:49 +0000 Subject: Committing FC-6 branch. --- diff --git a/.cvsignore b/.cvsignore index e69de29..1f4ca8a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +SVG-Graph-0.01.tar.gz diff --git a/LICENSE.fedora b/LICENSE.fedora new file mode 100644 index 0000000..1921145 --- /dev/null +++ b/LICENSE.fedora @@ -0,0 +1,60 @@ +From: "Allen Day" +Subject: Re: License terms for perl-SVG-Graph? +To: "Alex Lancaster" +Date: Sun, 1 Apr 2007 00:47:21 -0700 +Reply-To: allenday@ucla.edu + +Hi Alex, + +My oversight. It's released under the Artistic License. + +-Allen + +On 3/26/07, Alex Lancaster wrote: +> -----BEGIN PGP SIGNED MESSAGE----- +> Hash: SHA1 +> +> Dear Allen and Chris, +> +> I am trying to package your Perl package SVG-Graph as part of the +> Fedora Linux distribution (it is also required as a dependency for +> bioperl), see: https://bugzilla.redhat.com/233848 for this discussion. +> In order to distribute the package, however, we need to clarify the +> license, currently the only mention is the following: +> +> COPYRIGHT AND LICENCE +> +> Copyright (C) 2002-2003 Allen Day , +> Chris To +> +> However, that only states the copyright owners (yourselves), but +> doesn't state the license distribution terms. Could you clarify your +> intentions with respect to the license? Usually most CPAN Perl +> modules are distributed under the same terms as Perl, that is can be +> distributed under the terms of either "Artistic" or the GNU GPL +> license. +> +> If so, could you please include state so *explicitly* in your package, +> or otherwise indicate to me that the package can be distributed under +> a suitable open source license, see: +> +> http://fedoraproject.org/wiki/Packaging/Guidelines#head-76294f12c6b481792eb00\ +1ba9763d95e2792e825 +> +> for a list of acceptable licenses. +> +> Best regards, +> Alex Lancaster +> - -- +> Alex Lancaster | Free Software Developer: savannah.gnu.org, sourceforge.ne\ +t +> -----BEGIN PGP SIGNATURE----- +> Version: GnuPG v1.4.7 (GNU/Linux) +> Comment: Processed by Mailcrypt 3.5.8 +> +> iD8DBQFGB32T1rpDh3x1wasRAp3qAJ9OK//kA72huP58NDjrBT/IiPFgawCeMm8Y +> Iyi9LWOTscHqo+02EuHf3b0= +> =pWty +> -----END PGP SIGNATURE----- +> + diff --git a/perl-SVG-Graph.spec b/perl-SVG-Graph.spec new file mode 100644 index 0000000..3268c00 --- /dev/null +++ b/perl-SVG-Graph.spec @@ -0,0 +1,79 @@ +Name: perl-SVG-Graph +Version: 0.01 +Release: 6%{?dist} +Summary: Visualize your data in Scalable Vector Graphics (SVG) format +License: Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/SVG-Graph/ +Source0: http://www.cpan.org/modules/by-module/SVG/SVG-Graph-%{version}.tar.gz +Source1: LICENSE.fedora +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(SVG) >= 2.27 +BuildRequires: perl(Statistics::Descriptive) >= 2.6 +BuildRequires: perl(Tree::DAG_Node) >= 1.04 +BuildRequires: perl(Math::Derivative) +BuildRequires: perl(Math::Spline) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Tree::DAG_Node) + +%description +SVG::Graph is a suite of perl modules for plotting data. SVG::Graph +currently supports plots of one-, two- and three-dimensional data, as well +as N-ary rooted trees. + +%prep +%setup -q -n SVG-Graph-%{version} +cp %{SOURCE1} . + +# remove all execute bits from eg subdirectory +find eg -type f -exec chmod -x {} 2>/dev/null ';' + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README LICENSE.fedora +%doc eg +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sat Apr 07 2007 Alex Lancaster 0.01-6 +- Fixes BR for perl(Tree::DAG_Node) + +* Sat Apr 07 2007 Alex Lancaster 0.01-5 +- Add BR: perl(SVG), perl(Tree::DAG_Node) and versions + +* Sat Apr 07 2007 Alex Lancaster 0.01-4 +- Add BR: perl(Statistics::Descriptive). +- Add "eg" subdirectory as documentation. + +* Fri Apr 06 2007 Alex Lancaster 0.01-3 +- Added e-mail confirmation for license in package. + +* Fri Apr 06 2007 Alex Lancaster 0.01-2 +- Updated license. +- Add BR: perl(ExtUtils::MakeMaker) + +* Fri Mar 23 2007 Alex Lancaster 0.01-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..2ea124b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3fbf3ae9aa6ea33fd548e63dd926ee2b SVG-Graph-0.01.tar.gz