]> git.pld-linux.org Git - packages/apache-mod_transform.git/blobdiff - apache-mod_transform.spec
- cosmetics
[packages/apache-mod_transform.git] / apache-mod_transform.spec
index d09a4fbedc32ec96c6640c094015f942f21c6224..8a7466f3279a7d3040c385b3a77bba2de866242d 100644 (file)
@@ -4,31 +4,42 @@ Summary:      Module to serve XML based content
 Summary(pl):   Modu³ do udostêpniania dokumentów XML
 Name:          apache-mod_%{mod_name}
 Version:       0.4.0
-Release:       1
-License:       GPL
+Release:       2
+License:       GPL v2+
 Group:         Networking/Daemons
 Source0:       http://www.outoforder.cc/downloads/mod_transform/mod_%{mod_name}-%{version}.tar.gz
 # Source0-md5: a41ea16eeefb9b798186153b154a1219
-Source1:       mod_%{mod_name}.conf
+Source1:       %{name}.conf
 URL:   http://www.outoforder.cc/projects/apache/mod_transform/
 BuildRequires: %{apxs}
-BuildRequires: libxslt-devel
 BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
 Requires(post,preun):  %{apxs}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
-%define                _sysconfdir     /etc/httpd
+%define                _sysconfdir     %(%{apxs} -q SYSCONFDIR)
 
 %description
-mod_transform is a filter module that allows Apache 2.0 to do dynamic XSL
-Transformations on either static XML documents, or XML documents generated
-from another Apache module or CGI program.
+mod_transform is a filter module that allows Apache 2.0 to do dynamic
+XSL Transformations on either static XML documents, or XML documents
+generated from another Apache module or CGI program.
+
+%description -l pl
+mod_transform to modu³ filtra umo¿liwiaj±cy serwerowi Apache 2.0
+wykonywaæ dynamiczne przekszta³cenia XML na statycznych dokumentach
+XML lub dokumentach XML generowanych przez inny modu³ Apache'a lub
+program CGI.
 
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
 %{__make}
 
@@ -36,10 +47,7 @@ from another Apache module or CGI program.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
 
-libtool --mode=install install src/libmod_%{mod_name}.la $RPM_BUILD_ROOT%{_pkglibdir}
-mv $RPM_BUILD_ROOT%{_pkglibdir}/libmod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}/mod_%{mod_name}.so
-#%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
+install src/.libs/libmod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/61_mod_transform.conf
 
 %clean
@@ -59,5 +67,6 @@ fi
 
 %files
 %defattr(644,root,root,755)
+%doc TODO
 %attr(755,root,root) %{_pkglibdir}/*
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*.conf
This page took 0.065149 seconds and 4 git commands to generate.