source: projects/specs/trunk/p/perl-XML-FOAF/perl-XML-FOAF-vl.spec @ 9124

Revision 9124, 2.6 KB checked in by inagaki, 9 years ago (diff)

2014-11-30 Ryoichi INAGAKI <ryo1@…>

  • perl-Perl-Critic-More: rebuilt
  • perl-XML-{Dumper, Filter-BufferText?, Grove, XPath}: rebuilt
  • perl-XML-{LibXML, LibXSLT, SAX-Writer, Writer}: updated
  • perl-YAML-LibYAML: updated


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