packages: uwsgi/uwsgi.spec - up to 0.9.6.5 - init script and config file - ...
witekfl
witekfl at pld-linux.org
Thu Oct 21 14:29:30 CEST 2010
Author: witekfl Date: Thu Oct 21 12:29:30 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.9.6.5
- init script and config file
- FIXME: pldize init script
---- Files affected:
packages/uwsgi:
uwsgi.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/uwsgi/uwsgi.spec
diff -u packages/uwsgi/uwsgi.spec:1.3 packages/uwsgi/uwsgi.spec:1.4
--- packages/uwsgi/uwsgi.spec:1.3 Wed May 12 21:52:04 2010
+++ packages/uwsgi/uwsgi.spec Thu Oct 21 14:29:24 2010
@@ -7,15 +7,17 @@
Summary: Fast WSGI server
Summary(pl.UTF-8): Szybki serwer WSGI
Name: uwsgi
-Version: 0.9.4.3
+Version: 0.9.6.5
Release: 0.1
License: GPL v2
Group: Networking/Daemons
Source0: http://projects.unbit.it/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 5f6a7385138deccfd5f8a80f2e0dea04
+Source1: %{name}
+Source2: %{name}.xml
+# Source0-md5: 469cd5f143edb15e41ca907b82e9996b
URL: http://projects.unbit.it/uwsgi/
BuildRequires: libxml2-devel
-BuildRequires: python-devel >= 1:2.6
+BuildRequires: python-devel >= 1:2.7
BuildRequires: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -34,12 +36,15 @@
%setup -q
%build
-%{__make} -f Makefile.Py26 \
+%{__make} -f Makefile.Py27 \
CC="%{__cc}"
%install
rm -rf $RPM_BUILD_ROOT
-install -D uwsgi26 $RPM_BUILD_ROOT%{_bindir}/uWSGI
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}/rc.d/init.d,%{_sysconfdir}/sysconfig}
+install uwsgi $RPM_BUILD_ROOT%{_bindir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/
%clean
rm -rf $RPM_BUILD_ROOT
@@ -47,7 +52,9 @@
%files
%defattr(644,root,root,755)
%doc ChangeLog
-%attr(755,root,root) %{_bindir}/uWSGI
+%attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/uwsgi.xml
+%attr(754,root,root) %{_sysconfdir}/rc.d/init.d/uwsgi
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -55,6 +62,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2010/10/21 12:29:24 witekfl
+- up to 0.9.6.5
+- init script and config file
+- FIXME: pldize init script
+
Revision 1.3 2010/05/12 19:52:04 sparky
- BR: libxml2-devel
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/uwsgi/uwsgi.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list