Группа :: Сети/WWW
Пакет: opengoo
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define httpdroot /var/www/apache2/html
%define httpdconfd %_sysconfdir/httpd2/conf/addon.d
AutoReqprov: off
%define _verify_elf_method skip
%define _strip_method none
Name: opengoo
Version: 1.5.2
Release: alt2.3
Summary: OpenGoo is an Open Source Web Office.
License: GPLv3
Group: Networking/WWW
Url: http://opengoo.org
Packager: Lebedev Sergey <barabashka at altlinux.org>
Source: %name-%version.tar
Source1: %name.httpd2.conf
BuildArch: noarch
PreReq: apache2
Requires: apache2-mod_php5 php5-mysql php5-mbstring php5-ldap php5-imap php5-gd2 php5-simplexml php5-pdo_mysql
%description
OpenGoo is an Open Source Web Office. It is a complete solution
for every organization to create, collaborate, share and publish
all its internal and external documents.
%prep
%setup -n %name-%version
%build
%install
mkdir -p %buildroot/%httpdroot/%name
cp -R * %buildroot/%httpdroot/%name
install -pD -m0644 %SOURCE1 %buildroot/%httpdconfd/A.%name.conf
%files
%dir %httpdroot/%name
%httpdroot/%name/*
%attr(0775,apache2,apache2) %httpdroot/%name/public/files
%attr(0775,apache2,apache2) %httpdroot/%name/upload
%attr(0775,apache2,apache2) %httpdroot/%name/cache
%attr(0775,apache2,apache2) %httpdroot/%name/tmp
%attr(0440,apache2,apache2) %httpdroot/%name/config/config.php
%config(noreplace) %httpdroot/%name/config/config.php
%config(noreplace) %httpdconfd/A.%name.conf
%post
%post_service httpd2
%preun
%preun_service httpd2
%changelog
…
Полный changelog можно просмотреть здесь
%define httpdconfd %_sysconfdir/httpd2/conf/addon.d
AutoReqprov: off
%define _verify_elf_method skip
%define _strip_method none
Name: opengoo
Version: 1.5.2
Release: alt2.3
Summary: OpenGoo is an Open Source Web Office.
License: GPLv3
Group: Networking/WWW
Url: http://opengoo.org
Packager: Lebedev Sergey <barabashka at altlinux.org>
Source: %name-%version.tar
Source1: %name.httpd2.conf
BuildArch: noarch
PreReq: apache2
Requires: apache2-mod_php5 php5-mysql php5-mbstring php5-ldap php5-imap php5-gd2 php5-simplexml php5-pdo_mysql
%description
OpenGoo is an Open Source Web Office. It is a complete solution
for every organization to create, collaborate, share and publish
all its internal and external documents.
%prep
%setup -n %name-%version
%build
%install
mkdir -p %buildroot/%httpdroot/%name
cp -R * %buildroot/%httpdroot/%name
install -pD -m0644 %SOURCE1 %buildroot/%httpdconfd/A.%name.conf
%files
%dir %httpdroot/%name
%httpdroot/%name/*
%attr(0775,apache2,apache2) %httpdroot/%name/public/files
%attr(0775,apache2,apache2) %httpdroot/%name/upload
%attr(0775,apache2,apache2) %httpdroot/%name/cache
%attr(0775,apache2,apache2) %httpdroot/%name/tmp
%attr(0440,apache2,apache2) %httpdroot/%name/config/config.php
%config(noreplace) %httpdroot/%name/config/config.php
%config(noreplace) %httpdconfd/A.%name.conf
%post
%post_service httpd2
%preun
%preun_service httpd2
%changelog
…
Полный changelog можно просмотреть здесь