3564 |
15 Feb 10 |
gregory |
# The build script will set the correct version |
3564 |
15 Feb 10 |
gregory |
Summary: A multi-user platform for analysis and management of proteomics data. |
3564 |
15 Feb 10 |
gregory |
Name: _PACKAGE_ |
3566 |
17 Feb 10 |
gregory |
Version: _VERSION_ |
3566 |
17 Feb 10 |
gregory |
Release: _RELEASE_ |
3564 |
15 Feb 10 |
gregory |
License: GPL |
3564 |
15 Feb 10 |
gregory |
Group: Applications/Scientific |
3566 |
17 Feb 10 |
gregory |
Source: http://www.proteios.org/htdocs/downloads/_VERSION_/_PACKAGE_-_VERSION_.tar.gz |
3564 |
15 Feb 10 |
gregory |
9 |
|
3564 |
15 Feb 10 |
gregory |
%description |
3564 |
15 Feb 10 |
gregory |
11 |
|
3564 |
15 Feb 10 |
gregory |
%prep |
3564 |
15 Feb 10 |
gregory |
%setup |
3564 |
15 Feb 10 |
gregory |
14 |
|
3564 |
15 Feb 10 |
gregory |
%install |
3564 |
15 Feb 10 |
gregory |
export CATALINA_HOME=/srv/tomcat6 |
3564 |
15 Feb 10 |
gregory |
export PREFIX=$RPM_BUILD_ROOT |
3564 |
15 Feb 10 |
gregory |
sh ./install.sh --force > filelist |
3564 |
15 Feb 10 |
gregory |
19 |
|
3564 |
15 Feb 10 |
gregory |
%files -f filelist |
3564 |
15 Feb 10 |
gregory |
21 |
|
3564 |
15 Feb 10 |
gregory |
%post |
3564 |
15 Feb 10 |
gregory |
chgrp tomcat -R /srv/tomcat6/webapps/proteios |
3564 |
15 Feb 10 |
gregory |
chown tomcat -R /srv/tomcat6/webapps/proteios |
3564 |
15 Feb 10 |
gregory |
chown root /etc/init.d/proteios_ftp_server.sh.in |
3564 |
15 Feb 10 |
gregory |
chgrp root /etc/init.d/proteios_ftp_server.sh.in |
3564 |
15 Feb 10 |
gregory |
chmod u+x /srv/tomcat6/webapps/proteios/WEB-INF/init.sh |
3564 |
15 Feb 10 |
gregory |
chmod u+x /srv/tomcat6/webapps/proteios/WEB-INF/update.sh |
3564 |
15 Feb 10 |
gregory |
chmod u+x /etc/init.d/proteios_ftp_server.sh.in |
3564 |
15 Feb 10 |
gregory |
if [ -e /srv/tomcat6/webapps/proteios/WEB-INF/classes/proteios.config ]; then |
3564 |
15 Feb 10 |
gregory |
chmod a-x /srv/tomcat6/webapps/proteios/WEB-INF/init.sh |
3564 |
15 Feb 10 |
gregory |
fi |
3564 |
15 Feb 10 |
gregory |
33 |
|
3564 |
15 Feb 10 |
gregory |
%changelog |