[#] new spec
vit01(lenina,50) — All
2014-05-03 17:18:36


Summary: the recreation of fido
Name: ii-net
Version: 03
Release: 1
URL: http://ii.51t.ru
Source0: http://irk38.tk/files/ii-%{version}.tar.gz
Source1: http://irk38.tk/files/iiclient-%{version}.tar.gz
Source2: http://irk38.tk/files/iitxt-%{version}.tar.gz
Source3: http://irk38.tk/files/scripts.tar.gz
License: custom
Group: Applications/Networking
Requires: python python-modules-wsgiref
Autoreq: 0

%description
russian fido-like messaging system with web interface, full version

%prep
tar -xzvf %_sourcedir/ii-%{version}.tar.gz
tar -xzvf %_sourcedir/iiclient-%{version}.tar.gz
tar -xzvf %_sourcedir/iitxt-%{version}.tar.gz
tar -xzvf %_sourcedir/scripts.tar.gz

%install
install -d %buildroot/usr/share/ii-net/ii-server/{api,echo,msg,iitpl,s/{fonts,css,js/vendor},tools/{gate,mkhtml,bundle,other,client-toss}}
install -d %buildroot/usr/share/ii-net/ii-client/{echo,msg,out,clapi,sa-node,tpl,s/{fonts,css,pretty,js/vendor}}
install -d %buildroot/usr/share/ii-net/ii-txt/{ii.test.14,.py/{echo,msg},.out}
install -d %buildroot/usr/bin
install -D -m 755 ii-03/api/{sx.py,bottle.py,__init__.py,splitparser.py,flt.py} %buildroot/usr/share/ii-net/ii-server/api/
install -D -m 755 ii-03/echo/my.local.14 %buildroot/usr/share/ii-net/ii-server/echo/
install -D -m 755 ii-03/iitpl/* %buildroot/usr/share/ii-net/ii-server/iitpl/
install -D -m 755 ii-03/msg/oocYs0PfAD0iC3GmmNIb %buildroot/usr/share/ii-net/ii-server/msg/
install -D -m 755 ii-03/{LICENSE*,my.local.14.header,README.utf8,run.sh,server.cfg,*.py} %buildroot/usr/share/ii-net/ii-server/
install -D -m 755 ii-03/s/favicon.png %buildroot/usr/share/ii-net/ii-server/s/
install -D -m 755 ii-03/s/fonts/* %buildroot/usr/share/ii-net/ii-server/s/fonts/
install -D -m 755 ii-03/s/css/* %buildroot/usr/share/ii-net/ii-server/s/css/
install -D -m 755 ii-03/s/js/foundation.min.js %buildroot/usr/share/ii-net/ii-server/s/js/
install -D -m 755 ii-03/s/js/vendor/* %buildroot/usr/share/ii-net/ii-server/s/js/vendor/
install -D -m 755 ii-03/tools/gate/* %buildroot/usr/share/ii-net/ii-server/tools/gate/
install -D -m 755 ii-03/tools/mkhtml/* %buildroot/usr/share/ii-net/ii-server/tools/mkhtml/
install -D -m 755 ii-03/tools/bundle/* %buildroot/usr/share/ii-net/ii-server/tools/bundle/
install -D -m 755 ii-03/tools/other/traf.py %buildroot/usr/share/ii-net/ii-server/tools/other/
install -D -m 755 ii-03/tools/client-toss/* %buildroot/usr/share/ii-net/ii-server/tools/client-toss/
install -D -m 755 iiclient-03/clapi/* %buildroot/usr/share/ii-net/ii-client/clapi/
install -D -m 755 iiclient-03/out/1.out %buildroot/usr/share/ii-net/ii-client/out/
install -D -m 755 iiclient-03/{config.cfg,run.py,run.sh} %buildroot/usr/share/ii-net/ii-client/
install -D -m 755 iiclient-03/s/favicon.png %buildroot/usr/share/ii-net/ii-client/s/
install -D -m 755 iiclient-03/s/pretty/* %buildroot/usr/share/ii-net/ii-client/s/pretty/
install -D -m 755 iiclient-03/s/fonts/* %buildroot/usr/share/ii-net/ii-client/s/fonts/
install -D -m 755 iiclient-03/s/css/* %buildroot/usr/share/ii-net/ii-client/s/css/
install -D -m 755 iiclient-03/s/js/foundation.min.js %buildroot/usr/share/ii-net/ii-client/s/js/
install -D -m 755 iiclient-03/s/js/vendor/* %buildroot/usr/share/ii-net/ii-client/s/js/vendor/
install -D -m 755 iiclient-03/sa-node/* %buildroot/usr/share/ii-net/ii-client/sa-node/
install -D -m 755 iiclient-03/tpl/* %buildroot/usr/share/ii-net/ii-client/tpl/
install -D -m 755 iitxt-03/{config.cfg,*.sh,README.utf8} %buildroot/usr/share/ii-net/ii-txt/
install -D -m 755 iitxt-03/.py/{*.py,bbs.bbs} %buildroot/usr/share/ii-net/ii-txt/.py/
install -D -m 755 iitxt-03/.out/{.counter,.readme} %buildroot/usr/share/ii-net/ii-txt/.out/
install -D -m 755 iitxt-03/ii.test.14/msg.new %buildroot/usr/share/ii-net/ii-txt/ii.test.14/
install -D -m 755 scripts/* %buildroot/usr/bin/
%files
#список файлов пакета