]> git.pld-linux.org Git - packages/perl-XML-Catalog.git/blame - perl-XML-Catalog.spec
- updated to 1.0.1 (adds OASIS nextCatalog support)
[packages/perl-XML-Catalog.git] / perl-XML-Catalog.spec
CommitLineData
cdd80861
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir XML
6%define pnam Catalog
7%include /usr/lib/rpm/macros.perl
8Summary: XML::Catalog - Resolve public identifiers and remap system identifiers
9Summary(pl.UTF-8): XML::Catalog - rozwiązywanie identyfikatorów publicznych i przemapowywanie systemowych
10Name: perl-XML-Catalog
573be2b9 11Version: 1.0.1
cdd80861
JB
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/XML/%{pdir}-%{pnam}-v%{version}.tar.gz
573be2b9 17# Source0-md5: 5c04659a9d8057fb4e9541bb3fbde397
cdd80861
JB
18URL: http://search.cpan.org/dist/XML-Catalog/
19BuildRequires: perl-Module-Build
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
22%if %{with tests}
23BuildRequires: perl-libwww
24BuildRequires: perl-Test-Simple
25BuildRequires: perl-URI
26BuildRequires: perl-XML-Parser
27%endif
28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32This module implements draft 0.4 of John Cowan's XML Catalog (formerly
33known as XCatalog) proposal
34(<http://www.ccil.org/~cowan/XML/XCatalog.html>). Catalogs may be
35written in either SOCAT or XML syntax (see the proposal for syntax
36details); XML::Catalog will assume SOCAT syntax if the catalog is not
37in well-formed XML syntax.
38
39This module, as of 1.0.0, also supports Oasis XML catalogs.
40
41%description -l pl.UTF-8
42Ten moduł implementuje szkic (draft) wersji 0.4 propozycji XML Catalog
43Johna Cowana (wcześniej znanej jako XCatalog:
44<http://www.ccil.org/~cowan/XML/XCatalog.html>). Katalogi mogą być
45pisane z użyciem składni SOCAT lub XML (szczegóły w propozycji;
46XML::Catalog zakłada składnię SOCAT, jeśli katalog nie jest dobrze
47sformułowanym XML-em).
48
49Ten moduł w wersji 1.0.0 obsługuje także katalogi Oasis XML.
50
51%prep
52%setup -q -n %{pdir}-%{pnam}-v%{version}
53
54%build
55%{__perl} Build.PL \
56 destdir=$RPM_BUILD_ROOT \
57 installdirs=vendor
58./Build
59
60%{?with_tests:./Build test}
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65./Build install
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc Changes README
73%{perl_vendorlib}/XML/Catalog.pm
74%{_mandir}/man3/XML::Catalog.3pm*
This page took 0.061679 seconds and 4 git commands to generate.