Группа :: Сети/WWW
Пакет: wordpress
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _htmldir %_var/www/html/addon-modules
AutoReqprov: off
%define _verify_elf_method skip
%define _strip_method none
Name: wordpress
Version: 2.3.3
Release: alt2
Summary: WordPress is what you use when you want to work with your blogging software, not fight it
License: GPL
Group: Networking/WWW
Url: http://wordpress.org/latest.tar.gz
Packager: Lebedev Sergey <barabashka at altlinux.org>
Source: %name-%version.tar
Source1: %name.httpd2.conf
Patch: %name-%version-%release.patch
BuildArch: noarch
Requires: apache2-mod_php5 php5-mysql
%description
WordPress is a powerful personal publishing platform, and it comes
with a great set of features designed to make your experience as a
publisher on the Internet as easy, pleasant and appealing as possible.
%prep
%setup -n %name-%version
%patch -p1
%build
%install
mkdir -p %buildroot/%_htmldir/%name
cp *.php %buildroot/%_htmldir/%name
cp wp-config-sample.php %buildroot/%_htmldir/%name/wp-config.php
cp -R wp-admin %buildroot/%_htmldir/%name
cp -R wp-content %buildroot/%_htmldir/%name
cp -R wp-includes %buildroot/%_htmldir/%name
install -pD -m0644 %SOURCE1 %buildroot%_sysconfdir/httpd2/conf/addon.d/A%name.conf
%files
%doc license.txt readme.html
%dir %_htmldir/%name
%_htmldir/%name/*.php
%_htmldir/%name/wp-admin
%_htmldir/%name/wp-content
%_htmldir/%name/wp-includes
%config(noreplace) %_sysconfdir/httpd2/conf/addon.d/A%name.conf
%config(noreplace) %_htmldir/%name/wp-config.php
%pre
%_initdir/httpd2 reload
%post
%_initdir/httpd2 reload
%changelog
…
Полный changelog можно просмотреть здесь
AutoReqprov: off
%define _verify_elf_method skip
%define _strip_method none
Name: wordpress
Version: 2.3.3
Release: alt2
Summary: WordPress is what you use when you want to work with your blogging software, not fight it
License: GPL
Group: Networking/WWW
Url: http://wordpress.org/latest.tar.gz
Packager: Lebedev Sergey <barabashka at altlinux.org>
Source: %name-%version.tar
Source1: %name.httpd2.conf
Patch: %name-%version-%release.patch
BuildArch: noarch
Requires: apache2-mod_php5 php5-mysql
%description
WordPress is a powerful personal publishing platform, and it comes
with a great set of features designed to make your experience as a
publisher on the Internet as easy, pleasant and appealing as possible.
%prep
%setup -n %name-%version
%patch -p1
%build
%install
mkdir -p %buildroot/%_htmldir/%name
cp *.php %buildroot/%_htmldir/%name
cp wp-config-sample.php %buildroot/%_htmldir/%name/wp-config.php
cp -R wp-admin %buildroot/%_htmldir/%name
cp -R wp-content %buildroot/%_htmldir/%name
cp -R wp-includes %buildroot/%_htmldir/%name
install -pD -m0644 %SOURCE1 %buildroot%_sysconfdir/httpd2/conf/addon.d/A%name.conf
%files
%doc license.txt readme.html
%dir %_htmldir/%name
%_htmldir/%name/*.php
%_htmldir/%name/wp-admin
%_htmldir/%name/wp-content
%_htmldir/%name/wp-includes
%config(noreplace) %_sysconfdir/httpd2/conf/addon.d/A%name.conf
%config(noreplace) %_htmldir/%name/wp-config.php
%pre
%_initdir/httpd2 reload
%post
%_initdir/httpd2 reload
%changelog
…
Полный changelog можно просмотреть здесь