git://git.onelab.eu
/
plstackapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter users correctly
[plstackapi.git]
/
opencloud.spec
diff --git
a/opencloud.spec
b/opencloud.spec
index
dc2c930
..
3420bdf
100644
(file)
--- a/
opencloud.spec
+++ b/
opencloud.spec
@@
-1,6
+1,6
@@
Summary: OpenCloud core services
Name: opencloud
Summary: OpenCloud core services
Name: opencloud
-Version: 1.0.
4
+Version: 1.0.
7
Release: 1
License: GPL+
Group: Development/Tools
Release: 1
License: GPL+
Group: Development/Tools
@@
-17,6
+17,7
@@
requires: python-pip
requires: tar
requires: gcc
requires: python-httplib2
requires: tar
requires: gcc
requires: python-httplib2
+requires: GeoIP
%description
%{summary}
%description
%{summary}
@@
-44,6
+45,7
@@
pip-python install django-extensions
pip-python install django-suit
pip-python install django-evolution
pip-python install django-bitfield
pip-python install django-suit
pip-python install django-evolution
pip-python install django-bitfield
+pip-python install django-ipware
easy_install django_evolution
easy_install python_gflags
easy_install django_evolution
easy_install python_gflags
@@
-51,6
+53,10
@@
easy_install google_api_python_client
wget -P /usr/lib/python2.7/site-packages/suit/static/suit/js http://code.jquery.com/jquery-1.9.1.min.js
wget -P /usr/lib/python2.7/site-packages/suit/static/suit/js http://code.jquery.com/jquery-1.9.1.min.js
+rm -f /usr/share/GeoIP/GeoLiteCity*
+wget -P /usr/share/GeoIP http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
+gzip -d /usr/share/GeoIP/GeoLiteCity*.gz
+
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
@@
-71,7
+77,10
@@
rm -rf %{buildroot}
/opt/planetstack/scripts/opencloud initdb
%preun
/opt/planetstack/scripts/opencloud initdb
%preun
-rm -rf /opt/planetstack
+if [ "$1" = 0 ] ; then
+ echo "doing preuninstall"
+ rm -rf /opt/planetstack
+fi
%changelog
* Sat Feb 22 2014 Siobhan Tully 1.0.0
%changelog
* Sat Feb 22 2014 Siobhan Tully 1.0.0