]> git.pld-linux.org Git - packages/perl-SGML-Grove.git/blame - perl-SGML-Grove.spec
use generic url
[packages/perl-SGML-Grove.git] / perl-SGML-Grove.spec
CommitLineData
70fb83f1 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
00d99860 4
4650b116 5%define pdir SGML
6%define pnam Grove
00d99860 7%include /usr/lib/rpm/macros.perl
cee642d7 8Summary: SGML::Grove Perl module
0659f92b
ER
9Summary(cs.UTF-8): Modul SGML::Grove pro Perl
10Summary(da.UTF-8): Perlmodul SGML::Grove
11Summary(de.UTF-8): SGML::Grove Perl Modul
12Summary(es.UTF-8): Módulo de Perl SGML::Grove
13Summary(fr.UTF-8): Module Perl SGML::Grove
14Summary(it.UTF-8): Modulo di Perl SGML::Grove
15Summary(ja.UTF-8): SGML::Grove Perl モジュール
16Summary(ko.UTF-8): SGML::Grove 펄 모줄
17Summary(nb.UTF-8): Perlmodul SGML::Grove
18Summary(pl.UTF-8): Moduł Perla SGML::Grove
19Summary(pt.UTF-8): Módulo de Perl SGML::Grove
20Summary(pt_BR.UTF-8): Módulo Perl SGML::Grove
21Summary(ru.UTF-8): Модуль для Perl SGML::Grove
22Summary(sv.UTF-8): SGML::Grove Perlmodul
23Summary(uk.UTF-8): Модуль для Perl SGML::Grove
24Summary(zh_CN.UTF-8): SGML::Grove Perl 模块
04599611 25Name: perl-SGML-Grove
26Version: 2.03
c642beef 27Release: 12
cee642d7 28License: BSD-like
04599611 29Group: Development/Languages/Perl
12b2415d 30Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
2245f5c4 31# Source0-md5: 9764eaed3da0b4134224afe9b63a8966
793a20c7 32Patch0: %{name}-Simple-Spec.patch
00d99860
ER
33URL: http://search.cpan.org/dist/SGML-Grove/
34BuildRequires: perl-devel >= 1:5.8.0
35BuildRequires: rpm-perlprov >= 4.1-13
70fb83f1 36%if %{with tests}
37BuildRequires: perl-Class-Visitor
38%endif
176c1b3e 39BuildArch: noarch
d57a9955 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
04599611 41
e1f313e9 42%define _noautoreq 'perl(SGML::SubDocEntity)'
cee642d7 43
04599611 44%description
66ab25d1 45SGML::Grove provides an interface for accessing and manipulating SGML,
8a386aa1 46XML, HTML and other document instances after they've been built by a
47parsing or grove building module like SGML::SPGroveBuilder,
48Pod::GroveBuilder, etc.
04599611 49
ca5857b2
JR
50%description -l pl.UTF-8
51SGML::Grove umożliwia operowanie na dokumentach SGML, XML, HTML.
04599611 52
53%prep
6d7dfea8 54%setup -q -n %{pdir}-%{pnam}-%{version}
c42c4f35 55%patch0 -p1
04599611 56
57%build
e024ea51 58%{__perl} Makefile.PL \
55cb3bbb 59 INSTALLDIRS=vendor
004af60f 60%{__make}
04599611 61
70fb83f1 62%{?with_tests:%{__make} test}
63
04599611 64%install
65rm -rf $RPM_BUILD_ROOT
7eee9c07 66install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
04599611 67
e1f313e9
JB
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
00d99860 70cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
7eee9c07 71cp -a entities $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
04599611 72
04599611 73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%files
77%defattr(644,root,root,755)
cee642d7 78%doc COPYING Changes ChangeLog README ToDo DOM
e024ea51 79%{perl_vendorlib}/SGML
04599611 80%{_mandir}/man3/*
7eee9c07 81%{_examplesdir}/%{name}-%{version}
This page took 0.108194 seconds and 4 git commands to generate.