]> git.pld-linux.org Git - packages/apache-mod_bw.git/commitdiff
- dropped %%{_ver} macro, use %%{version} where possible
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 12 Mar 2005 12:55:08 +0000 (12:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added LICENSE file
- added TODO entry (think about renaming this spec)
- release 0.2

Changed files:
    apache-mod_bw.spec -> 1.18

apache-mod_bw.spec

index 4e147a872c56affd7f44e2143615a1544544a63f..95d1d10a384a85db3847ed2c21b0cdf4124a38ab 100644 (file)
@@ -1,17 +1,17 @@
 # TODO:
 # - cron?
+# - rename to apache-mod_bw (it is not the same as apache1-mod_bandwidth)
 
 %define                mod_name        bandwidth
 %define        apxs            /usr/sbin/apxs
-%define                _ver    0.6
 Summary:       Apache module: bandwidth limits
 Summary(pl):   Modu³ do Apache: limity pasma
 Name:          apache-mod_%{mod_name}
 Version:       0.6
-Release:       0.1
+Release:       0.2
 License:       Apache
 Group:         Networking/Daemons
-Source0:       http://www.ivn.cl/apache/bw_mod-%{_ver}.tgz
+Source0:       http://www.ivn.cl/apache/bw_mod-%{version}.tgz
 # Source0-md5: 0c92fa6344f487321291a592dbb49856
 Source1:       %{name}.conf
 URL:           http://www.ivn.cl/apache/
@@ -39,13 +39,13 @@ Modu
 na katalogu, wielko¶ci plików oraz zdalnym IP/domenie.
 
 %prep
-%setup -q -n bw_mod-0.6
+%setup -q -n bw_mod-%{version}
 
 %build
-perl -pi -e 's@include "apr@include "apr/apr@g' bw_mod-%{_ver}.c
-perl -pi -e 's@^.*apr_buckets.h.*$@@'  bw_mod-%{_ver}.c
-%{apxs} -c bw_mod-%{_ver}.c
-mv .libs/bw_mod-0.6.so mod_bandwidth.so
+perl -pi -e 's@include "apr@include "apr/apr@g' bw_mod-%{version}.c
+perl -pi -e 's@^.*apr_buckets.h.*$@@'  bw_mod-%{version}.c
+%{apxs} -c bw_mod-%{version}.c
+mv .libs/bw_mod-%{version}.so mod_bandwidth.so
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -74,7 +74,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc bw_mod-0.6.txt
+%doc bw_mod-%{version}.txt LICENSE
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/httpd.conf/*mod_*.conf
 #%config(noreplace) %verify(not size mtime md5) %attr(640,root,root) /etc/cron.d/%{name}
 #%attr(755,root,root) %{_sbindir}/*
This page took 0.087875 seconds and 4 git commands to generate.