]> git.pld-linux.org Git - packages/apache1-mod_xslt.git/commitdiff
- pl description
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 31 Oct 2001 12:06:55 +0000 (12:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_xslt.spec -> 1.6

apache1-mod_xslt.spec

index 2610481ac01e006e164fc5a4e30b05922561003f..da8bd3a64cdaf2d4a204b183b19cf1131e8d8996 100644 (file)
@@ -25,14 +25,25 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 mod_xslt is a simple Apache module to serve XML based content. Data is
 stored in XML files on the server. The user requests the XML file and
 the translation method via a url such as this:
-http://localhost/sourcefile.html The module will parse this URL into a
-XML source file and an XSL source file. In the example above, the XML
-file will be sourcefile.xml. The module will open sourcefile.xml and
-determine its DOCTYPE. Based on the DOCTYPE, the XSL file will be
+http://localhost/sourcefile.html. The module will parse this URL into
+a XML source file and an XSL source file. In the example above, the
+XML file will be sourcefile.xml. The module will open sourcefile.xml
+and determine its DOCTYPE. Based on the DOCTYPE, the XSL file will be
 opened. Should the DOCTYPE be "tutorial", the XSL file opened would be
 tutorial_html.xsl. The content-type returned to the browser is
 text/html. The translation occurs transparently to the user.
 
+%description -l pl
+mod_xslt jest prostym modu³em Apache do udostêpniania dokumentów XML.
+Dane s± zapisane w plikach XML na serwerze. U¿ytkownik ¿±da pliku XML
+i t³maczenia poprzez URL w stylu http://localhost/sourcefile.html.
+Modu³ zamienia ten URL na pliki ¼ród³owe XML i XSL. W tym przyk³adzie
+plikiem XML bêdzie sourcefile.xml. Modu³ otworzy plik sourcefile.xml i
+okre¶li DOCTYPE, na podstawie którego otworzy odpowiedni plik XSL.
+Je¿eli DOCTYPE jest "tutorial", plikiem XSL bêdzie tutorial_html.xsl.
+Pole content-type zwrócone przegl±darce bêdzie zawiera³o text/html.
+T³umaczenie jest przezroczyste dla u¿ytkownika.
+
 %prep
 %setup -q -n mod%{mod_name}
 %patch0 -p1
@@ -48,6 +59,9 @@ install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mod_xslt.conf
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_%{mod_name}.conf" /etc/httpd/httpd.conf; then
        echo "Include /etc/httpd/mod_%{mod_name}.conf" >> /etc/httpd/httpd.conf
@@ -66,9 +80,6 @@ if [ "$1" = "0" ]; then
        fi
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_pkglibdir}/*
This page took 0.079775 seconds and 4 git commands to generate.