1 | Summary: Parse FOAF (Friend of a Friend) data using Perl |
---|
2 | Summary(ja): Perl を使って FOAF (Friend of a Friend) を解析 |
---|
3 | Name: perl-XML-FOAF |
---|
4 | Version: 0.03 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: Artistic and GPL |
---|
7 | Group: Development/Libraries |
---|
8 | Source0: XML-FOAF-%{version}.tar.gz |
---|
9 | Source1: XML-FOAF-0.02.pod.ja |
---|
10 | Source2: XML-FOAF-Person-0.02.pod.ja |
---|
11 | URL: http://www.cpan.org/dist/XML-FOAF/ |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: perl >= 5.004 |
---|
15 | BuildRequires: perl-ExtUtils-AutoInstall |
---|
16 | BuildRequires: perl-RDF-Core |
---|
17 | BuildRequires: perl-URI |
---|
18 | BuildRequires: perl-libwww-perl |
---|
19 | BuildArch: noarch |
---|
20 | Requires: perl >= 5.004 |
---|
21 | Requires: perl-RDF-Core |
---|
22 | Requires: perl-URI |
---|
23 | Requires: perl-libwww-perl |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | Parse FOAF (Friend of a Friend) data using Perl |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | Perl を使って FOAF (Friend of a Friend) を解析 |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q -n XML-FOAF-%{version} |
---|
36 | |
---|
37 | %build |
---|
38 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor << _OPT_ |
---|
39 | n |
---|
40 | _OPT_ |
---|
41 | |
---|
42 | make |
---|
43 | cp %{SOURCE1} FOAF.ja.pm |
---|
44 | cp %{SOURCE2} Person.ja.pm |
---|
45 | |
---|
46 | %clean |
---|
47 | rm -rf %{buildroot} |
---|
48 | |
---|
49 | %install |
---|
50 | rm -rf %{buildroot} |
---|
51 | mkdir -p %{buildroot}%{_prefix} |
---|
52 | make DESTDIR=%{buildroot} install |
---|
53 | |
---|
54 | rm -f %{buildroot}%{perl_archlib}/perllocal.pod |
---|
55 | rm -f %{buildroot}%{perl_sitearch}/perllocal.pod |
---|
56 | rm -f %{buildroot}%{perl_sitearch}/auto/XML/FOAF/.packlist |
---|
57 | |
---|
58 | mkdir -p %{buildroot}%{_mandir}/ja/man3 |
---|
59 | pod2man --section=3 FOAF.ja.pm %{buildroot}%{_mandir}/ja/man3/XML::FOAF.3pm |
---|
60 | pod2man --section=3 Person.ja.pm %{buildroot}%{_mandir}/ja/man3/XML::FOAF::Person.3pm |
---|
61 | |
---|
62 | find %{buildroot}%{_prefix} -type f -print | |
---|
63 | sed "s@^%{buildroot}@@g" | |
---|
64 | grep -v ^%{_mandir} > %{name}.files |
---|
65 | if [ "$(cat %{name}.files)X" = "X" ] ; then |
---|
66 | echo "ERROR: EMPTY FILE LIST" |
---|
67 | exit -1 |
---|
68 | fi |
---|
69 | |
---|
70 | %check |
---|
71 | make test |
---|
72 | |
---|
73 | %files -f %{name}.files |
---|
74 | %defattr(-,root,root) |
---|
75 | %doc Changes README |
---|
76 | %{_mandir}/man3/* |
---|
77 | %{_mandir}/ja/man3/* |
---|
78 | %dir %{perl_vendorlib}/XML |
---|
79 | %dir %{perl_vendorlib}/XML/FOAF |
---|
80 | |
---|
81 | %changelog |
---|
82 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.03-2 |
---|
83 | - rebuild with perl-5.12.3 |
---|
84 | |
---|
85 | * Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.03-1 |
---|
86 | - new upstream release |
---|
87 | - built with perl-5.10.0 |
---|
88 | - installed files to vendor_perl dir |
---|
89 | - applied new versioning policy, spec in UTF-8 |
---|
90 | - changed Group to Development/Libraries |
---|
91 | |
---|
92 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.02-0vl2 |
---|
93 | - build with perl-5.8.6-0vl1 |
---|
94 | - add manpage translated into Japanese ( Source1,2 ) from perldoc.jp |
---|
95 | - add Japanese Summary and description |
---|
96 | |
---|
97 | * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.02-0vl1 |
---|
98 | - first build for Vine Linux |
---|