| 1 | %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) |
|---|
| 2 | |
|---|
| 3 | Name: perl-GDGraph |
|---|
| 4 | Version: 1.43 |
|---|
| 5 | Release: 6%{?_dist_release} |
|---|
| 6 | |
|---|
| 7 | Summary: Graph generation package for Perl |
|---|
| 8 | Summary(ja): Perl によるグラフ生成パッケージ |
|---|
| 9 | |
|---|
| 10 | Group: Development/Libraries |
|---|
| 11 | License: GPL or Artistic |
|---|
| 12 | URL: http://search.cpan.org/dist/GDGraph/ |
|---|
| 13 | Source0: http://www.cpan.org/authors/id/M/MV/MVERB/GDGraph-%{version}.tar.gz |
|---|
| 14 | |
|---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 16 | BuildArch: noarch |
|---|
| 17 | BuildRequires: perl >= 5.6.1, perl-GD, perl-GDTextUtil |
|---|
| 18 | Requires: perl >= 5.6.1, perl-GD, perl-GDTextUtil |
|---|
| 19 | |
|---|
| 20 | %description |
|---|
| 21 | %{summary}. |
|---|
| 22 | |
|---|
| 23 | %prep |
|---|
| 24 | %setup -q -n GDGraph-%{version} |
|---|
| 25 | |
|---|
| 26 | %build |
|---|
| 27 | perl Makefile.PL INSTALLDIRS=vendor |
|---|
| 28 | make %{?_smp_mflags} |
|---|
| 29 | |
|---|
| 30 | %install |
|---|
| 31 | rm -rf $RPM_BUILD_ROOT |
|---|
| 32 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
|---|
| 33 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
|---|
| 34 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 35 | chmod -R u+w $RPM_BUILD_ROOT/* |
|---|
| 36 | |
|---|
| 37 | %check || : |
|---|
| 38 | make test |
|---|
| 39 | |
|---|
| 40 | %clean |
|---|
| 41 | rm -rf $RPM_BUILD_ROOT |
|---|
| 42 | |
|---|
| 43 | %files |
|---|
| 44 | %defattr(-,root,root,-) |
|---|
| 45 | %doc CHANGES README samples/ |
|---|
| 46 | %{perl_vendorlib}/GD/* |
|---|
| 47 | %{_mandir}/man3/*.3* |
|---|
| 48 | |
|---|
| 49 | %changelog |
|---|
| 50 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43-6 |
|---|
| 51 | - rebuild with perl-5.12.3 |
|---|
| 52 | |
|---|
| 53 | * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-5 |
|---|
| 54 | - applied new versioning policy, spec in UTF-8 |
|---|
| 55 | - rebuilt with perl-5.10.0 |
|---|
| 56 | |
|---|
| 57 | * Sun Sep 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl2 |
|---|
| 58 | - changed Group to Development/Libraries |
|---|
| 59 | |
|---|
| 60 | * Sat Sep 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.43-4vl1 |
|---|
| 61 | - rebuild for Vine Linux |
|---|
| 62 | - added Japanese summary |
|---|
| 63 | |
|---|
| 64 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
|---|
| 65 | - rebuilt |
|---|
| 66 | |
|---|
| 67 | * Sun Jul 11 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.3 |
|---|
| 68 | - Unowned directory: %%{perl_vendorlib}/GD (see bug 1800 comment #1). |
|---|
| 69 | |
|---|
| 70 | * Wed Jun 30 2004 Jose Pedro Oliveira <jpo@di.uminho.pt> - 0:1.43-0.fdr.2 |
|---|
| 71 | - Bring up to date with current fedora.us perl spec template. |
|---|
| 72 | - Added the samples directory to the documentation files. |
|---|
| 73 | |
|---|
| 74 | * Sun Oct 12 2003 Ville Skytt辰 <ville.skytta at iki.fi> - 0:1.43-0.fdr.1 |
|---|
| 75 | - First build. |
|---|