Projects
Kolab:3.4:Updates
chwala
chwala.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chwala.spec of Package chwala (Revision 2)
Currently displaying revision
2
,
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: chwala Version: 0.1 Release: 0.4.dev20130809.git69738e%{?dist} Summary: Glorified WebDAV, done right Group: Applications/Internet License: AGPLv3+ URL: http://chwala.org Source0: http://mirror.kolabsys.com/pub/releases/chwala-0.1.tar.gz Source1: chwala.conf BuildArch: noarch Requires: php-pear Requires: php-pear(Auth_SASL) Requires: php-pear(HTTP_Request2) Requires: php-pear(Mail_Mime) Requires: php-pear(Net_IDNA2) Requires: php-pear(Net_SMTP) Requires: php-pear(Net_Socket) Requires: php-pear(Net_URL2) Requires: roundcubemail Requires: roundcubemail-plugins-kolab Requires: webserver %if 0%{?suse_version} BuildRequires: roundcubemail BuildRequires: roundcubemail-plugins-kolab %endif %description Chwala is the implementation of a modular, scalable, driver-backed file- and media-storage, that with using an API, provides generated UI components based on context and content, for the purpose of integration with 3rd party applications. %prep %setup -q %build %install mkdir -p \ %{buildroot}/%{_ap_sysconfdir}/conf.d \ %{buildroot}/%{_datadir}/%{name} \ %{buildroot}/%{_localstatedir}/cache/%{name} \ %{buildroot}/%{_localstatedir}/lib/%{name} \ %{buildroot}/%{_localstatedir}/log/%{name} install -pm 644 %{SOURCE1} %{buildroot}/%{_ap_sysconfdir}/conf.d/chwala.conf cp -a lib public_html %{buildroot}/usr/share/%{name} pushd %{buildroot}/%{_datadir}/%{name} pushd lib/ext rm -rf Auth rm -rf HTTP rm -rf Mail rm -rf Net rm -rf PEAR*.php rm -rf Roundcube ln -s ../../../roundcubemail/program/lib/Roundcube Roundcube popd pushd lib/kolab/plugins rm -rf kolab_auth kolab_folders libkolab ln -s ../../../../roundcubemail/plugins/kolab_auth kolab_auth ln -s ../../../../roundcubemail/plugins/kolab_folders kolab_folders ln -s ../../../../roundcubemail/plugins/libkolab libkolab popd ln -s ../../..%{_localstatedir}/cache/%{name} cache ln -s ../../..%{_sysconfdir}/roundcubemail config ln -s ../../..%{_localstatedir}/lib/%{name} temp ln -s ../../..%{_localstatedir}/log/%{name} logs 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 LICENSE %{_ap_sysconfdir}/conf.d/%{name}.conf %{_datadir}/%{name} %attr(0750,%{httpd_user},%{httpd_group}) %{_localstatedir}/cache/%{name} %attr(0750,%{httpd_user},%{httpd_group}) %{_localstatedir}/lib/%{name} %attr(0750,%{httpd_user},%{httpd_group}) %{_localstatedir}/log/%{name} %changelog * Fri Aug 9 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.4 - New snapshot * Tue May 7 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.2 - A first version of chwala
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
.