Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 36651425
en ru br
ALT Linux repos
5.0: 3.2.1-alt1.cvs.20080613
4.1: 3.1.6-alt2.cvs.20070929
4.0: 3.0.7-alt1
3.0: 3.0.4-alt1

Other repositories

Group :: Networking/Other
RPM: horde3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define installdir %apache_htdocsdir/addon-modules/horde3
%define cvsdate 20070929

Name: horde3
Version: 3.1.6
Release: alt2.cvs.%cvsdate

Summary: The common Horde Framework for all Horde modules, H3 branch
License: LGPL
Group: Networking/Other

Packager: Denis Klimov <zver at>
# git-cvsimport -v -o upstream -d :pserver:cvsread at horde
BuildArch: noarch

Source: horde3.tar
Source1: horde3.conf

Requires: pear-core >= 1.3.1
Requires: php-engine
Requires: apache-common >= 1.3.31rusPL30.20-alt10
BuildPreReq: apache-devel

# Speed-up build process

AutoReqProv: off
%define _verify_elf_method skip
%define _strip_method none

The Horde Framework provides a common structure and interface for Horde
applications (such as IMP, a web-based mail program).  This RPM is
required for all other Horde module RPMs.

The Horde Project writes web applications in PHP and releases them under
Open Source licenses.  For more information (including help with Horde
and its modules) please visit

%package apache
Summary: Apache conf files for Horde
Group: Networking/Other
Requires: %name = %version-%release

%description apache
This package provides Apache config files for Horde.

%package php
Summary: PHP depends for horde3
Group: Networking/Mail
Requires: php-imap

%description php
PHP depends for horde3

%package php5
Summary: PHP5 depends for horde3
Group: Networking/Mail
Requires: php5-imap

%description php5
PHP5 depends for horde3

%setup -n horde3


mkdir -p %buildroot%apache_addonconfdir.d
cp -p %SOURCE1 %buildroot%apache_addonconfdir.d
mkdir -p %buildroot%installdir
cp --preserve -pR * %buildroot%installdir/
rm -rf %buildroot%installdir/docs
rm -f %buildroot%installdir/{README,COPYING}
chmod go-rwx %buildroot%installdir/test.php
cd %buildroot%installdir/config
for d in *.dist; do
d0=`basename $d .dist`
if [ ! -f "$d0" ]; then
cp -p $d $d0

%post apache
%_initdir/httpd condrestart >/dev/null 2>&1 ||:

%postun apache
%_initdir/httpd condrestart >/dev/null 2>&1 ||:

# Include top-level files by hand
%doc docs/* README
# Mark configuration files with %%config and use secure permissions
# (note that .dist files are considered software; don't mark %%config)
%dir %attr(750,root,apache) %installdir/config
%attr(640,root,apache) %installdir/config/.htaccess
%attr(640,root,apache) %installdir/config/*.dist
%attr(640,root,apache) %installdir/config/*.xml
%config(noreplace) %attr(640,root,apache) %installdir/config/*.php
%dir %installdir

%files apache
# Apache horde3.conf file
%config(noreplace) %apache_addonconfdir.d/horde3.conf

%files php

%files php5


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin