]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd.spec
- bugfix for #1307; rel 2
[packages/lighttpd.git] / lighttpd.spec
index 4e23cfad8939505cf4ac85f0a11577909a651fc8..201bf667a8d7f83787909837e4674af9de59ba04 100644 (file)
 Summary:       Fast and light HTTP server
 Summary(pl.UTF-8):     Szybki i lekki serwer HTTP
 Name:          lighttpd
-Version:       1.4.23
-Release:       7
+Version:       1.4.24
+Release:       2
 License:       BSD
 Group:         Networking/Daemons/HTTP
 Source0:       http://www.lighttpd.net/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 0ab6bb7b17bf0f515ce7dce68e5e215a
+# Source0-md5: e2324a24e4a5bce74663c21c58ddd200
 Source1:       %{name}.init
 Source2:       %{name}.conf
 Source3:       %{name}.user
@@ -36,12 +36,12 @@ Source5:    %{name}.sysconfig
 Source6:       %{name}-mime.types.sh
 Source7:       http://glen.alkohol.ee/pld/lighty/favicon.ico
 # Source7-md5: 00fcac5b861a54f5eb147a589504d480
-Source8:       http://www.lighttpd.net/light_button.png
-# Source8-md5: 02330e2313fadc29144edfd6000879f8
-Source9:       http://www.lighttpd.net/light_logo.png
-# Source9-md5: ac20784510e420d5cbe5fc1cdb53d7a7
-Source10:      http://gdl.hopto.org/~spider/pldstats/gfx/pld1.png
-# Source10-md5:        486ecec3f6f4fe7f9bf7cee757b864f4
+Source8:       light_button.png
+# Source8-md5: 3e1008ee1d3d6d390cf81fe3072b4f50
+Source9:       light_logo.png
+# Source9-md5: cbb7f0676e51ee2e26cf004df293fc62
+Source10:      pld_button.png
+# Source10-md5:        185afa921e81bd726b9f0f9f0909dc6e
 Source11:      %{name}-pld.html
 Source12:      %{name}.monitrc
 Source13:      %{name}-branch.sh
@@ -822,6 +822,12 @@ rm -f src/mod_ssi_exprparser.h # bad patching: should be removed by is emptied i
 sh %{SOURCE6} /etc/mime.types
 
 %build
+ver=$(awk '/AC_INIT/{a=$2;gsub(/[\[\],]/, "", a); print a}' configure.ac)
+if [ "$ver" != "%{version}" ]; then
+       : configure.ac specifies wrong version
+       exit 1
+fi
+
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -1054,7 +1060,7 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc NEWS README ChangeLog doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
+%doc NEWS README doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
 %dir %attr(751,root,lighttpd) %{_sysconfdir}
 %dir %attr(750,root,root) %{_sysconfdir}/webapps.d
 %dir %attr(750,root,root) %{_sysconfdir}/conf.d
This page took 0.045536 seconds and 4 git commands to generate.