Projects
Kolab:3.4
chwala
chwala.spec
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chwala.spec of Package chwala (Revision 20)
Currently displaying revision
20
,
Show latest
# Needed for opensuse build system %if 0%{?opensuse_bs} #!BuildIgnore: boa #!BuildIgnore: cherokee #!BuildIgnore: nginx #!BuildIgnore: httpd-itk #!BuildIgnore: lighttpd #!BuildIgnore: thttpd #!BuildIgnore: php-mysqlnd %endif %{!?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.2 Release: 1%{?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(HTTP_Request2) Requires: php-Smarty >= 3.1.7 Requires: roundcubemail Requires: roundcubemail-plugins-kolab %if 0%{?suse_version} Requires: http_daemon %else Requires: webserver %endif %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 * Sun Nov 24 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.2-1 - New upstream version * Tue Oct 29 2013 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 0.1-0.5 - Require only "webserver" or "http_daemon" * 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
.