Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fchua:fedora
ais
aiserver.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aiserver.spec of Package ais
# # spec file for package aiserver (Version 0.0.5) # # Copyright 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # norootforbuild %if 0%{?suse_version} BuildRequires: gcc-c++ ais-qt4-devel ais-mysql-devel pwdutils %endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: gcc-c++ libstdc++-devel ais-qt4-devel ais-mysql-devel %endif Name: aiserver License: GPL Group: Development/Languages/Other Version: 0.0.5 Release: 1 URL: https://sourceforge.net/projects/aiserver/ Summary: An IDE with High-Speed JIT Compiler for LISP PreReq: /usr/sbin/useradd /usr/sbin/groupadd Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description AIS is a Development Platform providing a high-speed JIT compiler for LISP and JavaScript, web server, object repositories, MySQL integration and libraries supporting a wide variety of advanced genetic programming and symbolic regression techniques. %package -n ais-common Summary: AIS common files Group: Development/Languages/Other %description -n ais-common This package includes files needed by all AIS packages. %package -n ais-service Summary: AIS service files Requires: ais-common Group: Development/Languages/Other %description -n ais-service This package includes the server binaries. %package -n ais-ide Summary: ais-common Group: Development/Languages/Other %description -n ais-ide This package includes the graphical client binaries. %prep # extract the source and to into the aiserver-x.x.x directory %setup -q %build qmake -recursive aisdev.pro make release %install make INSTALL_ROOT=%buildroot install mkdir -p %buildroot/var/log/ais mkdir -p %buildroot/var/lib/ais/mysqldata install -d -m 755 %buildroot/etc/init.d install -m 755 extras/aissvc %buildroot/etc/init.d/aissvc %pre -n ais-common if ! getent group ais > /dev/null; then # Adding system group: ais. /usr/sbin/groupadd -r ais > /dev/null fi if ! getent passwd ais > /dev/null; then # Adding system user: ais. /usr/sbin/useradd -r -o -g ais -c "AIS Service User" -d /var/lib/ais ais > /dev/null fi %post -n ais-common chown -R ais:ais /etc/ais chown -R ais:ais /usr/share/ais %post -n ais-service chown -R ais:ais /var/lib/ais chown -R ais:ais /var/log/ais %preun -n ais-service %stop_on_removal aissvc %postun -n ais-service %restart_on_update aissvc %insserv_cleanup %clean rm -rf %buildroot %files -n ais-common %defattr(-,root,root) %dir /etc/ais %dir /usr/share/ais %config /etc/ais/aisinstall.ini %config /etc/ais/rideinstall.ini /usr/share/ais/* %files -n ais-service %defattr(-,root,root) %dir /var/lib/ais %dir /var/log/ais /var/lib/ais/* /usr/bin/aissvcdevexe /etc/init.d/aissvc %files -n ais-ide %defattr(-,root,root) /usr/bin/webidedevexe /usr/bin/aiseditdevexe /usr/bin/ridedevexe %changelog * Wed Apr 22 2009 - franklin.chua@gmail.com - Linked binaries with custom static Qt libraries * Thu Apr 16 2009 - franklin.chua@gmail.com - Update rules for separate packages * Sun Apr 12 2009 - franklin.chua@gmail.om - Updated rules for new files system * Thu Mar 26 2009 - franklin.chua@gmail.com - Added %%config directives * Wed Mar 25 2009 - franklin.chua@gmail.com - Added %%dir directives
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor