]> git.pld-linux.org Git - SPECS.git/blob - perl-AxKit.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-AxKit.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (requires server)
4 #
5 %define         pdir    Apache
6 %define         pnam    AxKit
7 %define         _axver  1.62
8 Summary:        AxKit - the Apache XML delivery toolkit
9 Summary(pl.UTF-8):      AxKit - narzędzia dostarczające XML dla Apache'a
10 Name:           perl-AxKit
11 Version:        1.6.2
12 Release:        1
13 License:        GPL v2 or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
16 # Source0-md5:  1634ad62ac941c7d2ee3b1a2d129c14a
17 URL:            http://axkit.org/
18 BuildRequires:  apache-mod_perl >= 1.17
19 BuildRequires:  libxml2-devel
20 %if %{with tests}
21 BuildRequires:  perl-Apache-Filter
22 %endif
23 BuildRequires:  perl-Apache-Test >= 1.00
24 BuildRequires:  perl-Compress-Zlib
25 BuildRequires:  perl-DBI
26 BuildRequires:  perl-Digest-MD5 >= 2.09
27 BuildRequires:  perl-Error >= 0.14
28 BuildRequires:  perl-IPC-Run
29 BuildRequires:  perl-XML-DOM
30 BuildRequires:  perl-XML-Handler-AxPoint
31 BuildRequires:  perl-XML-LibXML-SAX >= 1.51
32 BuildRequires:  perl-XML-LibXSLT >= 1.49
33 BuildRequires:  perl-XML-Parser >= 2.27
34 BuildRequires:  perl-XML-SAX-Writer
35 BuildRequires:  perl-XML-Sablotron >= 0.40
36 BuildRequires:  perl-XML-XPath >= 1.00
37 BuildRequires:  perl-XMLNews-HTMLTemplate
38 BuildRequires:  perl-devel >= 1:5.8.0
39 BuildRequires:  perl-libapreq >= 0.32
40 BuildRequires:  perltidy
41 BuildRequires:  rpm-perlprov >= 3.0.3-16
42 BuildConflicts: perl-XML-LibXML = 1.53
43 Requires:       apache-mod_perl >= 1.17
44 Requires:       perl-Digest-MD5 >= 2.09
45 Requires:       perl-libapreq >= 0.32
46 Conflicts:      perl-HTTP-GHTTP < 1.00
47 Conflicts:      perl-XML-LibXML = 1.53
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %define         _noautoreqdep   'perl(UNIVERSAL)'
51
52 %description
53 The Apache XML Delivery Toolkit (AxKit) is a suite of tools for the
54 Apache httpd server running mod_perl, that give developers extremely
55 flexible options for delivering XML to all kinds of browsers, from
56 handheld systems, Braille readers, and ordinary browsers. All this can
57 be achieved using nothing but W3C standards, although the plugin
58 architecture provides the hooks for developers to write their own
59 stylesheet systems, should they so desire.
60
61 %description -l pl.UTF-8
62 AxKit (Apache XML Delivery Toolkit) to zestaw narzędzi dla serwera
63 Apache z działającym modułem mod_perl, dający programistom bardzo
64 elastyczne możliwości dostarczania XML-a do wszystkich rodzajów
65 przeglądarek: z palmtopów, czytników Braille'a, zwykłych przeglądarek.
66 Wszystko to można osiągnąć przy pomocy samych standardów W3C, ale
67 architektura wtycznek udostępnia programistom punkty zaczepienia
68 pozwalające na pisanie własnych systemów stylów.
69
70 %package Language-AxPoint
71 Summary:        AxPoint - an AxKit PDF Slideshow generator
72 Summary(pl.UTF-8):      AxPoint - generator slajdów PDF do AxKitu
73 Group:          Development/Languages/Perl
74 Requires:       %{name} = %{version}-%{release}
75
76 %description Language-AxPoint
77 AxPoint allows you to create PDF slideshows or presentations using an
78 XML definition of the slideshow.
79
80 %description Language-AxPoint -l pl.UTF-8
81 AxPoint pozwala na tworzenie slajdów lub prezentacji PDF przy użyciu
82 definicji XML.
83
84 %package Language-HtmlDoc
85 Summary:        HtmlDoc module for AxKit - deliver XHTML as PDF
86 Summary(pl.UTF-8):      Moduł HtmlDoc do AxKitu - dostarczajacy XHTML jako PDF
87 Group:          Development/Languages/Perl
88 Requires:       %{name}-Language-LibXSLT = %{version}-%{release}
89 Requires:       htmldoc
90
91 %description Language-HtmlDoc
92 HtmlDoc module allows to convert any XHTML page into a quite nice
93 looking PDF document. Be prepared to do some tweaking of your XHTML
94 input, though, because HTMLDOC is HTML 3.2 only, it does not yet
95 understand CSS and only some HTML 4.0 (as of version 1.8.18). Using an
96 extra XSLT stylesheet, it isn't all that hard to create HTMLDOC
97 friendly input and you get nice results.
98
99 %description Language-HtmlDoc -l pl.UTF-8
100 Moduł HtmlDoc pozwala na konwertowanie stron XHTML na dosyć ładnie
101 wyglądające dokumenty PDF. Trzeba jednak uważać na wejściowy XHTML,
102 ponieważ HTMLDOC rozumie tylko HTML 3.2, nie obsługuje CSS i części
103 HTML 4.0 (stan z wersji 1.8.18). Ale przy użyciu dodatkowego arkusza
104 XSLT nie jest trudne przygotowanie odpowiedniego wejścia dla HTMLDOC,
105 aby osiągnąć ładne wyniki.
106
107 %package Language-LibXSLT
108 Summary:        LibXSLT module for AxKit
109 Summary(pl.UTF-8):      Moduł LibXSLT do AxKitu
110 Group:          Development/Languages/Perl
111 Requires:       %{name} = %{version}-%{release}
112 Requires:       perl-XML-LibXSLT >= 1.49
113
114 %description Language-LibXSLT
115 LibXSLT module for AxKit.
116
117 %description Language-LibXSLT -l pl.UTF-8
118 Moduł LibXSLT do AxKitu.
119
120 %package Language-PassiveTeX
121 Summary:        PassiveTeX module for AxKit
122 Summary(pl.UTF-8):      Moduł PassiveTeX do AxKitu
123 Group:          Development/Languages/Perl
124 Requires:       %{name} = %{version}-%{release}
125 Requires:       passivetex
126
127 %description Language-PassiveTeX
128 PassiveTeX module for AxKit.
129
130 %description Language-PassiveTeX -l pl.UTF-8
131 Moduł PassiveTeX do AxKitu.
132
133 %package Language-Query
134 Summary:        Query module for AxKit
135 Summary(pl.UTF-8):      Moduł Query do AxKitu
136 Group:          Development/Languages/Perl
137 Requires:       %{name} = %{version}-%{release}
138
139 %description Language-Query
140 Query module for AxKit.
141
142 %description Language-Query -l pl.UTF-8
143 Moduł Query do AxKitu.
144
145 %package Language-SAXMachines
146 Summary:        SAXMachines module for AxKit - transform content with SAX Filters
147 Summary(pl.UTF-8):      Moduł SAXMachines do AxKitu - przepuszczający zawartość przez filtry SAX
148 Group:          Development/Languages/Perl
149 Requires:       %{name} = %{version}-%{release}
150 Requires:       perl-XML-LibXML-SAX >= 1.50
151 Requires:       perl-XML-LibXSLT >= 1.49
152 # not found by perl.req???
153 Requires:       perl-XML-SAX-Machines
154
155 %description Language-SAXMachines
156 Language::SAXMachines provides an easy way (via Barrie Slaymaker's
157 XML::SAX::Machines) to use SAX filter chains to transform XML content.
158 It is not technically a "language" in the same sense that XSP,
159 XPathScript, or XSLT are since there is no stylesheet to write or
160 process. Instead, the SAX filters are added via config directives in
161 your .htaccess or *.conf file.
162
163 %description Language-SAXMachines -l pl.UTF-8
164
165 Moduł Language::SAXMachines udostępnia łatwy sposób (poprzez moduł
166 XML::SAX::Machines Barrie Slaymakera) na użyawnie łańcuchów filtrów
167 SAX do przekształcania XML-a. Technicznie nie jest to "język" w takim
168 sensie jak XSP, XPathScript czy XSLT, ponieważ nie ma arkuszy styli do
169 zapisywania ani przetwarzania. Zamiast tego filtry SAX są dodawane
170 poprzez dyrektywy konfiguracyjne w plikach .htaccess lub *.conf.
171
172 %package Language-Sablot
173 Summary:        Sablot module for AxKit
174 Summary(pl.UTF-8):      Moduł Sablot do AxKitu
175 Group:          Development/Languages/Perl
176 Requires:       %{name} = %{version}-%{release}
177
178 %description Language-Sablot
179 Sablot module for AxKit.
180
181 %description Language-Sablot -l pl.UTF-8
182 Moduł Sablot do AxKitu.
183
184 %package Language-XMLNews
185 Summary:        XMLNews modules for AxKit
186 Summary(pl.UTF-8):      Moduły XMLNews do AxKitu
187 Group:          Development/Languages/Perl
188 Requires:       %{name} = %{version}-%{release}
189
190 %description Language-XMLNews
191 XMLNews modules (XMLNewsNITF and XMLNewsRDF) for AxKit.
192
193 %description Language-XMLNews -l pl.UTF-8
194 Moduły XMLNews (XMLNewsNITF i XMLNewsRDF) do AxKitu.
195
196 %package Language-XPathScript
197 Summary:        XPathScript language module for AxKit
198 Summary(pl.UTF-8):      Moduł języka XPathScript do AxKitu
199 Group:          Development/Languages/Perl
200 Requires:       %{name} = %{version}-%{release}
201 Requires:       perl-XML-Parser >= 2.27
202 Requires:       perl-XML-XPath >= 1.00
203
204 %description Language-XPathScript
205 XPathScript language module for AxKit.
206
207 %description Language-XPathScript -l pl.UTF-8
208 Moduł języka XPathScript do AxKitu.
209
210 %package Language-XSP
211 Summary:        XSP language module for AxKit - eXtensible Server Pages
212 Summary(pl.UTF-8):      Moduł językowy XSP do AxKitu
213 Group:          Development/Languages/Perl
214 Requires:       %{name} = %{version}-%{release}
215 Requires:       perl-XML-LibXML >= 1.50
216
217 %description Language-XSP
218 XSP language module for AxKit - eXtensible Server Pages.
219
220 %description Language-XSP -l pl.UTF-8
221 Moduł językowy XSP do AxKitu - "Rozszerzalne Strony Serwera".
222
223 %prep
224 %setup -q -n %{pnam}-%{_axver}
225
226 %build
227 %{__perl} Makefile.PL \
228         INSTALLDIRS=vendor
229 %{__make} \
230         CC="%{__cc}" \
231         OPTIMIZE="%{rpmcflags}"
232
233 # some problem with XML constants - broken test ?
234 %{?with_tests:%{__make} test}
235
236 %install
237 rm -rf $RPM_BUILD_ROOT
238 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
239
240 %{__make} install \
241         DESTDIR=$RPM_BUILD_ROOT
242
243 cp -rf demo examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
244
245 %clean
246 rm -rf $RPM_BUILD_ROOT
247
248 %files
249 %defattr(644,root,root,755)
250 %doc CONTRIB Changes README SUPPORT TODO axkit.org
251 %{perl_vendorarch}/AxKit.pm
252 %dir %{perl_vendorarch}/Apache/AxKit
253 %{perl_vendorarch}/Apache/AxKit/*.pm
254 %dir %{perl_vendorarch}/Apache/AxKit/Language
255 %{perl_vendorarch}/Apache/AxKit/MediaChooser
256 %dir %{perl_vendorarch}/Apache/AxKit/Plugin
257 %{perl_vendorarch}/Apache/AxKit/Plugin/[!F]*.pm
258 %{perl_vendorarch}/Apache/AxKit/Provider
259 %{perl_vendorarch}/Apache/AxKit/StyleChooser
260 %dir %{perl_vendorarch}/auto/AxKit
261 %attr(755,root,root) %{perl_vendorarch}/auto/AxKit/*.so
262 %dir %{perl_vendorarch}/auto/Apache/AxKit/CharsetConv
263 %attr(755,root,root) %{perl_vendorarch}/auto/Apache/AxKit/CharsetConv/*.so
264 %{_mandir}/man3/AxKit.3pm*
265 %{_mandir}/man3/Apache::AxKit::[!LP]*
266 %{_mandir}/man3/Apache::AxKit::Language.3pm*
267 %{_mandir}/man3/Apache::AxKit::LibXMLSupport.3pm*
268 %{_mandir}/man3/Apache::AxKit::Provider*
269 %{_mandir}/man3/Apache::AxKit::Plugin::[!F]*
270 %{_examplesdir}/%{name}-%{version}
271
272 %files Language-AxPoint
273 %defattr(644,root,root,755)
274 %{perl_vendorarch}/Apache/AxKit/Language/AxPoint.pm
275 %{_mandir}/man3/Apache::AxKit::Language::AxPoint.3pm*
276
277 %files Language-HtmlDoc
278 %defattr(644,root,root,755)
279 %{perl_vendorarch}/Apache/AxKit/Language/HtmlDoc.pm
280 %{_mandir}/man3/Apache::AxKit::Language::HtmlDoc.3pm*
281
282 %files Language-LibXSLT
283 %defattr(644,root,root,755)
284 %{perl_vendorarch}/Apache/AxKit/Language/LibXSLT.pm
285
286 %files Language-PassiveTeX
287 %defattr(644,root,root,755)
288 %{perl_vendorarch}/Apache/AxKit/Language/PassiveTeX.pm
289
290 %files Language-Query
291 %defattr(644,root,root,755)
292 %{perl_vendorarch}/Apache/AxKit/Language/Query.pm
293
294 %files Language-SAXMachines
295 %defattr(644,root,root,755)
296 %{perl_vendorarch}/Apache/AxKit/Language/SAXMachines.pm
297 %{_mandir}/man3/Apache::AxKit::Language::SAXMachines.3pm*
298
299 %files Language-Sablot
300 %defattr(644,root,root,755)
301 %{perl_vendorarch}/Apache/AxKit/Language/Sablot.pm
302
303 %files Language-XMLNews
304 %defattr(644,root,root,755)
305 %{perl_vendorarch}/Apache/AxKit/Language/XMLNews*.pm
306
307 %files Language-XPathScript
308 %defattr(644,root,root,755)
309 %{perl_vendorarch}/Apache/AxKit/Language/XPathScript.pm
310 %{perl_vendorarch}/Apache/AxKit/Plugin/Fragment.pm
311 %{_mandir}/man3/Apache::AxKit::Language::XPathScript.3pm*
312 %{_mandir}/man3/Apache::AxKit::Plugin::Fragment.3pm*
313
314 %files Language-XSP
315 %defattr(644,root,root,755)
316 %{perl_vendorarch}/Apache/AxKit/Language/XSP.pm
317 %{perl_vendorarch}/Apache/AxKit/Language/XSP
318 %{_mandir}/man3/Apache::AxKit::Language::XSP*
This page took 0.788654 seconds and 3 git commands to generate.