Projects
Kolab:3.4:Updates
kolab-freebusy
kolab-freebusy.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kolab-freebusy.spec of Package kolab-freebusy (Revision 9)
Currently displaying revision
9
,
Show latest
%{!?php_inidir: %global php_inidir %{_sysconfdir}/php.d} %if 0%{?suse_version} < 1 && 0%{?fedora} < 1 && 0%{?rhel} < 7 %global with_systemd 0 %else %global with_systemd 1 %endif %if 0%{?suse_version} %global httpd_group www %global httpd_name apache2 %global httpd_user wwwrun %else %global httpd_group apache %global httpd_name httpd %global httpd_user apache %endif %global _ap_sysconfdir %{_sysconfdir}/%{httpd_name} Name: kolab-freebusy Version: 1.0.2 Release: 3%{?dist} Summary: Kolab Free/Busy Web Presentation Layer Group: Applications/Internet License: AGPLv3+ URL: http://kolab.org/about/kolab-freebusy Source0: http://mirror.kolabsys.com/pub/releases/%{name}-%{version}.tar.gz Patch1: 1777-lc_attributes.patch BuildArch: noarch %if 0%{?suse_version} Requires: http_daemon %else Requires: webserver %endif Requires: php-common >= 5.3 Requires: php-ldap %description This software enables a multi-sourced publication of Free/Busy information for its users. %prep %setup -q %patch1 -p1 %build %install mkdir -p \ %{buildroot}/%{_ap_sysconfdir}/conf.d/ \ %{buildroot}/%{_sysconfdir}/%{name}/ \ %{buildroot}/%{_datadir}/%{name}/ \ %{buildroot}/%{_localstatedir}/log/%{name}/ cat > %{buildroot}/%{_ap_sysconfdir}/conf.d/%{name}.conf <<EOF ScriptAlias /freebusy /usr/share/kolab-freebusy/public_html/index.php EOF cp -a lib %{buildroot}/%{_datadir}/%{name}/lib cp -a web %{buildroot}/%{_datadir}/%{name}/public_html cp -a vendor %{buildroot}/%{_datadir}/%{name}/vendor cp -a config/config.ini.sample %{buildroot}/%{_sysconfdir}/%{name}/config.ini pushd %{buildroot}/%{_datadir}/%{name}/ ln -s ../../..%{_sysconfdir}/%{name} config ln -s ../../..%{_localstatedir}/log/%{name} log popd %post if [ -f "%{php_inidir}/apc.ini" ]; then if [ ! -z "`grep ^apc.enabled=1 %{php_inidir}/apc.ini`" ]; then %if 0%{?with_systemd} /sbin/systemctl condrestart %{httpd_name}.service %else /sbin/service %{httpd_name} condrestart %endif fi fi %files %doc README.md %if 0%{?suse_version} %dir %{_ap_sysconfdir} %dir %{_ap_sysconfdir}/conf.d %endif %config(noreplace) %{_ap_sysconfdir}/conf.d/%{name}.conf %attr(0750,root,%{httpd_group}) %dir %{_sysconfdir}/%{name}/ %attr(0640,root,%{httpd_group}) %config(noreplace) %{_sysconfdir}/%{name}/config.ini %{_datadir}/%{name}/ %attr(0770,root,%{httpd_group}) %{_localstatedir}/log/%{name} %changelog * Tue Oct 29 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.2-3 - Do not require PHP itself * Tue Apr 30 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.2-2 - Ship fix for lower-casing attributes (#1777) * Thu Feb 21 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.2-1 - Repack of original sources * Mon Feb 18 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0-1 - First package
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
.