source: projects/specs/trunk/p/perl-GDGraph/perl-GDGraph-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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