[521] | 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: 1%{?_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 | * Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.03-1 |
---|
| 83 | - new upstream release |
---|
| 84 | - built with perl-5.10.0 |
---|
| 85 | - installed files to vendor_perl dir |
---|
| 86 | - applied new versioning policy, spec in UTF-8 |
---|
| 87 | - changed Group to Development/Libraries |
---|
| 88 | |
---|
| 89 | * Sat Dec 4 2004 IWAI, Masaharu <iwai@alib.jp> 0.02-0vl2 |
---|
| 90 | - build with perl-5.8.6-0vl1 |
---|
| 91 | - add manpage translated into Japanese ( Source1,2 ) from perldoc.jp |
---|
| 92 | - add Japanese Summary and description |
---|
| 93 | |
---|
| 94 | * Sun Jul 6 2003 IWAI Masaharu <iwai@alib.jp> 0.02-0vl1 |
---|
| 95 | - first build for Vine Linux |
---|