From ad57a6c87e6dd8acfde539e4b6b1869e78a0a34c Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Aug 27 2015 12:17:36 +0000 Subject: 0.04 bump; Modernize spec --- diff --git a/.gitignore b/.gitignore index 4add02c..c995684 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ SVG-Graph-0.02.tar.gz +/SVG-Graph-0.04.tar.gz diff --git a/LICENSE.fedora b/LICENSE.fedora deleted file mode 100644 index 1921145..0000000 --- a/LICENSE.fedora +++ /dev/null @@ -1,60 +0,0 @@ -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 index 26de4ab..cccb97f 100644 --- a/perl-SVG-Graph.spec +++ b/perl-SVG-Graph.spec @@ -1,15 +1,19 @@ Name: perl-SVG-Graph -Version: 0.02 -Release: 18%{?dist} +Version: 0.04 +Release: 1%{?dist} Summary: Visualize your data in Scalable Vector Graphics (SVG) format License: Artistic 2.0 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) +Source0: http://search.cpan.org/CPAN/authors/id/C/CJ/CJFIELDS/SVG-Graph-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl +BuildRequires: perl(Module::Build) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Run-time BuildRequires: perl(base) BuildRequires: perl(constant) @@ -19,7 +23,9 @@ BuildRequires: perl(Statistics::Descriptive) >= 2.6 BuildRequires: perl(SVG) >= 2.27 BuildRequires: perl(Tree::DAG_Node) >= 1.04 # Tests -BuildRequires: perl(Test) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Statistics::Descriptive) >= 2.6 Requires: perl(SVG) >= 2.27 @@ -35,39 +41,32 @@ 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} +%{__perl} Build.PL installdirs=vendor +./Build %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 \; - +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 %{_fixperms} $RPM_BUILD_ROOT/* %check -make test - -%clean -rm -rf $RPM_BUILD_ROOT +./Build test %files -%defattr(-,root,root,-) -%doc Changes README LICENSE.fedora -%doc eg +%license LICENSE +%doc Changes README eg %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Aug 27 2015 Jitka Plesnikova - 0.04-1 +- 0.04 bump +- Modernize spec + * Thu Jun 18 2015 Fedora Release Engineering - 0.02-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index 90f1c30..8389256 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e922f0b323056ecf306eb8085db283f5 SVG-Graph-0.02.tar.gz +4e1c02f5af53137515b8301a8926b1b7 SVG-Graph-0.04.tar.gz