]> git.pld-linux.org Git - packages/apache-mod_whois.git/commitdiff
- release 1: unified auto/ac/apache-mod_whois-0_1-1
authorradek <radek@pld-linux.org>
Sun, 19 Sep 2004 19:34:03 +0000 (19:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_whois.spec -> 1.3

apache-mod_whois.spec

index c6ba89ae4c775917b5e5e346fda660ecca675a98..751ff040b0fb617635cfeaf2110d2fb41fc8f685 100644 (file)
@@ -1,11 +1,10 @@
 %define                mod_name        whois
-%define                ver             0.1
 %define        apxs            /usr/sbin/apxs
 Summary:       Apache module: WHOIS->WEB gateway
 Summary(pl):   Modu³ Apache'a: bramka WHOIS->WWW
 Name:          apache-mod_%{mod_name}
-Version:       %{ver}
-Release:       0.1
+Version:       0.1
+Release:       1
 License:       distributable
 Group:         Networking/Daemons
 Source0:       http://dl.sourceforge.net/modwhois/mod_%{mod_name}-%{version}.tar.gz
@@ -18,6 +17,7 @@ Requires(post,preun): %{apxs}
 Requires:      apache
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _sysconfdir     %(%{apxs} -q SYSCONFDIR)
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
 
 %description
@@ -34,10 +34,10 @@ Modu
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd/httpd.conf,%{_pkglibdir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd.conf,%{_pkglibdir}}
 
-libtool --mode=install install mod_%{mod_name}.la $RPM_BUILD_ROOT%{_pkglibdir}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/83_mod-whois.conf
+install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/83_mod-whois.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -46,4 +46,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc LICENSE README
 %attr(755,root,root) %{_pkglibdir}/*.so
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd/httpd.conf/*.conf
+%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*.conf
This page took 0.111209 seconds and 4 git commands to generate.