Репозитории ALT
4.1: | 4.1.6-alt2.cvs.20070929 |
4.0: | 4.0.4-alt1 |
3.0: | 4.0.3-alt1 |
Группа :: Сети/Почта
Пакет: horde3-imp
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define installdir /var/www/html/addon-modules/horde/imp
%define apache_conf /etc/httpd/conf/httpd.conf
%define cvsdate 20070929
Name: horde3-imp
Version: 4.1.6
Release: alt2.cvs.%cvsdate
Summary: The Internet Messaging Program: webmail access to IMAP/POP3 accounts, H3 branch
License: GPL
Group: Networking/Mail
# git-cvsimport -v -o upstream -d :pserver:cvsread at anoncvs.horde.org:/repository imp
URL: http://www.horde.org/
Packager: Denis Klimov <zver at altlinux.ru>
BuildArch: noarch
Source: horde3-imp.tar
Source1: imp.conf
Requires: horde3 >= 3.1.4
BuildPreReq: apache-devel perl-DBI
# Speed-up build process
AutoReqProv: off
%define _verify_elf_method skip
%define _strip_method none
%description
IMP is the Internet Messaging Program, one of the Horde applications.
It provides webmail access to IMAP and POP3 accounts.
The Horde Project writes web applications in PHP and releases them under
Open Source licenses. For more information (including help with IMP)
please visit http://www.horde.org/.
%package apache
Summary: Apache conf files for horde3-imp
Group: Networking/Mail
Requires: %name = %version-%release, apache
%description apache
This package provides Apache config files for horde3-imp.
%package php
Summary: PHP depends for horde3-imp
Group: Networking/Mail
Requires: php-imap
Requires: php-domxml
%description php
PHP depends for horde3-imp
%package php5
Summary: PHP5 depends for horde3-imp
Group: Networking/Mail
Requires: php5-imap
Requires: php5-dom
%description php5
PHP5 depends for horde3-imp
%prep
%setup -q -n horde3-imp
%build
%install
mkdir -p %buildroot/etc/httpd/conf/addon-modules.d
cp %SOURCE1 %buildroot/etc/httpd/conf/addon-modules.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
fi
done
touch conf.php
%post apache
%_initdir/httpd condrestart >/dev/null 2>&1 ||:
%postun apache
%_initdir/httpd condrestart >/dev/null 2>&1 ||:
%files
# Include top-level files by hand
%installdir/*.php
%installdir/lib
%installdir/locale
%installdir/po
%installdir/js
%installdir/scripts
%installdir/themes
%installdir/templates
%doc README docs/*
# 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
%config(noreplace) %attr(640,root,apache) %installdir/config/*.txt
%dir %installdir
%files apache
# Apache imp.conf file
%config(noreplace) %_sysconfdir/httpd/conf/addon-modules.d/imp.conf
%files php
%files php5
%changelog
…
Полный changelog можно просмотреть здесь
%define apache_conf /etc/httpd/conf/httpd.conf
%define cvsdate 20070929
Name: horde3-imp
Version: 4.1.6
Release: alt2.cvs.%cvsdate
Summary: The Internet Messaging Program: webmail access to IMAP/POP3 accounts, H3 branch
License: GPL
Group: Networking/Mail
# git-cvsimport -v -o upstream -d :pserver:cvsread at anoncvs.horde.org:/repository imp
URL: http://www.horde.org/
Packager: Denis Klimov <zver at altlinux.ru>
BuildArch: noarch
Source: horde3-imp.tar
Source1: imp.conf
Requires: horde3 >= 3.1.4
BuildPreReq: apache-devel perl-DBI
# Speed-up build process
AutoReqProv: off
%define _verify_elf_method skip
%define _strip_method none
%description
IMP is the Internet Messaging Program, one of the Horde applications.
It provides webmail access to IMAP and POP3 accounts.
The Horde Project writes web applications in PHP and releases them under
Open Source licenses. For more information (including help with IMP)
please visit http://www.horde.org/.
%package apache
Summary: Apache conf files for horde3-imp
Group: Networking/Mail
Requires: %name = %version-%release, apache
%description apache
This package provides Apache config files for horde3-imp.
%package php
Summary: PHP depends for horde3-imp
Group: Networking/Mail
Requires: php-imap
Requires: php-domxml
%description php
PHP depends for horde3-imp
%package php5
Summary: PHP5 depends for horde3-imp
Group: Networking/Mail
Requires: php5-imap
Requires: php5-dom
%description php5
PHP5 depends for horde3-imp
%prep
%setup -q -n horde3-imp
%build
%install
mkdir -p %buildroot/etc/httpd/conf/addon-modules.d
cp %SOURCE1 %buildroot/etc/httpd/conf/addon-modules.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
fi
done
touch conf.php
%post apache
%_initdir/httpd condrestart >/dev/null 2>&1 ||:
%postun apache
%_initdir/httpd condrestart >/dev/null 2>&1 ||:
%files
# Include top-level files by hand
%installdir/*.php
%installdir/lib
%installdir/locale
%installdir/po
%installdir/js
%installdir/scripts
%installdir/themes
%installdir/templates
%doc README docs/*
# 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
%config(noreplace) %attr(640,root,apache) %installdir/config/*.txt
%dir %installdir
%files apache
# Apache imp.conf file
%config(noreplace) %_sysconfdir/httpd/conf/addon-modules.d/imp.conf
%files php
%files php5
%changelog
…
Полный changelog можно просмотреть здесь