|
|
@ -1,6 +1,7 @@ |
|
|
|
%define version 0.2.12 |
|
|
|
%define version 0.2.12 |
|
|
|
%define release 1.beta2 |
|
|
|
%define release 1 |
|
|
|
%define name ipasserelle-groupware |
|
|
|
%define name ipasserelle-groupware |
|
|
|
|
|
|
|
%define debug_package %{nil} |
|
|
|
|
|
|
|
|
|
|
|
Name: %{name} |
|
|
|
Name: %{name} |
|
|
|
Version: %{version} |
|
|
|
Version: %{version} |
|
|
@ -10,7 +11,6 @@ Group: Networking/Daemons |
|
|
|
License: GPLv3+ |
|
|
|
License: GPLv3+ |
|
|
|
URL: http://www.ipasserelle.com |
|
|
|
URL: http://www.ipasserelle.com |
|
|
|
Source0: %{name}-%{version}.tar.gz |
|
|
|
Source0: %{name}-%{version}.tar.gz |
|
|
|
Source1: cas-proxy-validate.c |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch |
|
|
|
BuildArch: noarch |
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
|
|
@ -28,6 +28,7 @@ Requires: memcached |
|
|
|
Requires: ipasserelle-portal |
|
|
|
Requires: ipasserelle-portal |
|
|
|
Requires: smeserver-lemonldap-ng >= 0.2.6 |
|
|
|
Requires: smeserver-lemonldap-ng >= 0.2.6 |
|
|
|
Requires: smeserver-pam_cas |
|
|
|
Requires: smeserver-pam_cas |
|
|
|
|
|
|
|
Requires: python-memcached |
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: smeserver-sogo |
|
|
|
Obsoletes: smeserver-sogo |
|
|
|
Provides: smeserver-sogo |
|
|
|
Provides: smeserver-sogo |
|
|
@ -164,7 +165,8 @@ Based on smeserver-sogo from nethesis |
|
|
|
%{__mkdir_p} root/var/log/memcached-sogo |
|
|
|
%{__mkdir_p} root/var/log/memcached-sogo |
|
|
|
%{__mkdir_p} root/usr/share/SOGo/cgi-bin |
|
|
|
%{__mkdir_p} root/usr/share/SOGo/cgi-bin |
|
|
|
perl ./createlinks |
|
|
|
perl ./createlinks |
|
|
|
gcc -o root/usr/share/SOGo/cgi-bin/cas-proxy-validate %{SOURCE1} |
|
|
|
gcc -o cas-proxy-validate ./cas-proxy-validate.c $RPM_OPT_FLAGS |
|
|
|
|
|
|
|
find . |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
@ -172,6 +174,7 @@ rm -f %{name}-%{version}-filelist |
|
|
|
|
|
|
|
|
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
|
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install -p cas-proxy-validate $RPM_BUILD_ROOT/usr/share/SOGo/cgi-bin/ |
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/home/e-smith/db/sogo |
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/home/e-smith/db/sogo |
|
|
|
|
|
|
|
|
|
|
|
/sbin/e-smith/genfilelist \ |
|
|
|
/sbin/e-smith/genfilelist \ |
|
|
@ -184,7 +187,7 @@ rm -f %{name}-%{version}-filelist |
|
|
|
--dir /var/log/memcached-sogo 'attr(0700, sogo, sogo)' \ |
|
|
|
--dir /var/log/memcached-sogo 'attr(0700, sogo, sogo)' \ |
|
|
|
--file /etc/cron.hourly/sogo-sessions 'attr(0755, root, root)' \ |
|
|
|
--file /etc/cron.hourly/sogo-sessions 'attr(0755, root, root)' \ |
|
|
|
--file /usr/share/SOGo/cgi-bin/cas-proxy-validate 'attr(4750, sogo, www)' \ |
|
|
|
--file /usr/share/SOGo/cgi-bin/cas-proxy-validate 'attr(4750, sogo, www)' \ |
|
|
|
--file /usr/share/SOGo/cgi-bin/cas-proxy-validate.py 'attr(0755, root, root)' \ |
|
|
|
--file /usr/share/SOGo/cgi-bin/cas-proxy-validate.py 'attr(0755, sogo, www)' \ |
|
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
|
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}-%{version}-%{release}-filelist |
|
|
|
%files -f %{name}-%{version}-%{release}-filelist |
|
|
|