Projects
Kolab:3.4
kolab-webadmin
kolab-webadmin.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kolab-webadmin.spec of Package kolab-webadmin (Revision 3)
Currently displaying revision
3
,
Show latest
%global kolab_user kolab %global kolab_user_id 412 %global kolab_group kolab %global kolab_group_id 412 %global kolabn_user kolab-n %global kolabn_user_id 413 %global kolabn_group kolab-n %global kolabn_group_id 413 %global kolabr_user kolab-r %global kolabr_user_id 414 %global kolabr_group kolab-r %global kolabr_group_id 414 %if 0%{?suse_version} %global _ap_sysconfdir %{_sysconfdir}/apache2 %else %global _ap_sysconfdir %{_sysconfdir}/httpd %endif Name: kolab-webadmin Version: 3.0.5 Release: 1%{?dist} Summary: Kolab Groupware Server Web Administration Interface License: AGPLv3+ Group: Productivity/Office/Organizers Url: http://www.kolab.org Source0: http://git.kolab.org/kolab-wap/snapshot/kolab-webadmin-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(pre): httpd Requires: mozldap-tools Requires: php >= 5.3 Requires: php-Smarty >= 3.1.7 Requires: php-pear(Net_Socket) Requires: php-pear(Net_LDAP2) Requires: php-gettext Requires: php-ldap Requires: php-mysql %description Web based admin - and user interface for the Kolab Groupware Server %prep %setup -q %build %install mkdir -p \ %{buildroot}/%{_datadir}/%{name}/ \ %{buildroot}/%{_ap_sysconfdir}/conf.d/ \ %{buildroot}/%{_var}/log/%{name} \ %{buildroot}/%{_var}/cache/%{name} cp -a lib/ public_html/ hosted/ %{buildroot}/%{_datadir}/%{name}/. cp -a doc/kolab-webadmin.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/ cp -a doc/hosted-kolab.conf %{buildroot}/%{_ap_sysconfdir}/conf.d/ pushd %{buildroot}/%{_datadir}/%{name}/ ln -s ../../..%{_var}/cache/%{name} cache ln -s ../../..%{_var}/log/%{name} logs pushd hosted/skins/kolabsys ln -sf ../../../public_html/skins/default/style.css style.css ln -sf ../../../public_html/skins/default/ui.js ui.js rm -rf images ln -sf ../../../public_html/skins/default/images images popd popd %clean %__rm -rf %{buildroot} %pre # Add the kolab user and group accounts getent group %{kolab_group} &>/dev/null || groupadd -r %{kolab_group} -g %{kolab_group_id} &>/dev/null getent passwd %{kolab_user} &>/dev/null || \ useradd -r -u %{kolab_user_id} -g %{kolab_group} -d %{_localstatedir}/lib/%{kolab_user} -s /sbin/nologin \ -c "Kolab System Account" %{kolab_user} &>/dev/null || : gpasswd -a apache kolab >/dev/null 2>&1 || : if [ $1 -gt 1 ]; then if [ ! -L "/usr/share/kolab-webadmin/hosted/js" -a -d "/usr/share/kolab-webadmin/hosted/js" ]; then rm -rf /usr/share/kolab-webadmin/hosted/js >/dev/null 2>&1 || : fi if [ ! -L "/usr/share/kolab-webadmin/hosted/skins" -a -d "/usr/share/kolab-webadmin/hosted/skins" ]; then rm -rf /usr/share/kolab-webadmin/hosted/skins >/dev/null 2>&1 || : fi if [ ! -L "/usr/share/kolab-webadmin/public_html/skins/minimal/images" -a -d "/usr/share/kolab-webadmin/public_html/skins/minimal/images" ]; then rm -rf /usr/share/kolab-webadmin/public_html/skins/minimal/images >/dev/null 2>&1 || : fi fi %files %defattr(-, root, root) %doc doc/* INSTALL LICENSE %config(noreplace) %{_ap_sysconfdir}/conf.d/%{name}.conf %config(noreplace) %{_ap_sysconfdir}/conf.d/hosted-kolab.conf %{_datadir}/%{name} %attr(0770,apache,apache) %{_var}/cache/%{name} %attr(0770,apache,apache) %{_var}/log/%{name} %changelog * Tue Jan 15 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.4-1 - New upstream release * Thu Dec 20 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.3-6 * Thu Nov 29 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.3-5 - Ship fix for not being able to add a domain - Attempt to correct the removal of directories that are now symbolic links * Mon Nov 26 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.3-3 - Fix replacing directory by symbolic link (Fix typo) - New upstream version * Tue Sep 18 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.2-3 - Allow a setting to control whether hosted domain aliases are shown - Fix symbolic links introduced by patch - New upstream release * Tue Sep 4 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.1-1 - New upstream release * Sun Aug 12 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0.0-1 - New upstream release * Mon Jul 30 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0-0.3 - Add apache user to kolab group for read permissions on configuration * Wed Jul 11 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 3.0-0.2 - Development snapshot version for Kolab 3.0 * Fri May 18 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.2-1 - New upstream release * Fri May 11 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.1-1 - New upstream release * Tue May 8 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.0-5 - Also require php-pear(Net_LDAP2) * Thu May 3 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.0-4 - Ship some very nice patches * Fri Apr 12 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.0-3 - Re-packaged sources - Require mozldap-tools * Thu Apr 12 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.0-2 - Re-packaged sources - First release of the new Kolab Web Admin
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.