forked from pool/perl-GDGraph
Accepting request 68657 from home:vitezslav_cizek:branches:devel:languages:perl
- license correction (same as Perl) - added new dependencies (bnc#676080) - spec renewal OBS-URL: https://build.opensuse.org/request/show/68657 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-GDGraph?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
5c0c72b2dc
commit
c187e076e2
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 28 09:15:17 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
- license correction (same as Perl)
|
||||||
|
- added new dependencies (bnc#676080)
|
||||||
|
- spec renewal
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 1 06:55:37 UTC 2010 - coolo@novell.com
|
Wed Dec 1 06:55:37 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -19,18 +19,25 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-GDGraph
|
Name: perl-GDGraph
|
||||||
BuildRequires: ImageMagick libtiff-devel perl-GD perl-GDTextUtil xorg-x11-devel
|
%define cpan_name GDGraph
|
||||||
BuildRequires: perl-macros
|
|
||||||
Version: 1.44
|
Version: 1.44
|
||||||
Release: 183
|
Release: 183
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic
|
License: GPL+ or Artistic
|
||||||
Url: http://cpan.org/modules/by-module/GD/
|
Url: http://cpan.org/modules/by-module/GD/
|
||||||
Summary: package to generate charts, using Lincoln Stein's GD.pm
|
Summary: Package to generate charts, using Lincoln Stein's GD.pm
|
||||||
Source: GDGraph-%{version}.tar.bz2
|
BuildRequires: ImageMagick libtiff-devel xorg-x11-devel
|
||||||
Patch: GDGraph-trim_miter.diff
|
BuildRequires: perl(GD) >= 1.18
|
||||||
|
BuildRequires: perl(GD::Text) >= 0.80
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
Requires: perl(GD) >= 1.18
|
||||||
|
Requires: perl(GD::Text) >= 0.80
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
Patch: %{cpan_name}-trim_miter.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -38,34 +45,28 @@ This is GDGraph, a package to generate charts, using Lincoln Stein's
|
|||||||
GD.pm. See the documentation for some history and more information.
|
GD.pm. See the documentation for some history and more information.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Martien Verbruggen <mgjv@tradingpost.com.au>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n GDGraph-%{version}
|
%setup -n %{cpan_name}-%{version}
|
||||||
%patch -p1
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
make test
|
%{__make} samples
|
||||||
make samples
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc README*
|
%doc README*
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorarch}/auto/GD/Graph
|
|
||||||
%{perl_vendorlib}/GD
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user