]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - horde.spec
- enable parallel build for ghc packages
[projects/template-specs.git] / horde.spec
index c49e71b745a34e2263ee3a01149f88b04b2d66fc..7c30d281168e82502a1b016eb8b85fa54ef8731a 100644 (file)
@@ -7,7 +7,6 @@
 # THOSE DIRS: find -name '.??*' IS EASY TO LOCATE.
 
 %define                hordeapp        skeleton
-%include       /usr/lib/rpm/macros.php
 Summary:       Template for horde projects
 Name:          horde-%{hordeapp}
 Version:       0.1
@@ -16,14 +15,14 @@ License:    GPL v2 (CHECK IT FIRST, could be ASL)
 Group:         Applications/WWW
 Source0:       ftp://ftp.horde.org/pub/skeleton/%{hordeapp}-h3-%{version}.tar.gz
 # Source0-md5: -
-Source1:       %{hordeapp}.conf
-Patch0:                %{hordeapp}-prefs.patch
+Source1:       apache.conf
+Patch0:                prefs.patch
 URL:           http://www.horde.org/skeleton/
 BuildRequires: rpm-php-pearprov >= 4.0.2-98
-BuildRequires: rpmbuild(macros) >= 1.264
-Requires:      apache(mod_access)
+BuildRequires: rpmbuild(macros) >= 1.745
 Requires:      horde >= 3.0
 Requires:      webapps
+Requires:      webserver(access)
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,6 +51,7 @@ Skeleton) można znaleźć na stronie <http://www.horde.org/>.
 
 %prep
 %setup -q -n %{hordeapp}-h3-%{version}
+%patch0 -p1
 
 rm {,*/}.htaccess
 for i in config/*.dist; do
@@ -80,17 +80,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 if [ ! -f %{_sysconfdir}/conf.php.bak ]; then
-       install /dev/null -o root -g http -m660 %{_sysconfdir}/conf.php.bak
+       install /dev/null -o root -g http -m 0660 %{_sysconfdir}/conf.php.bak
 fi
 
 # CHECK FIRST DOES IT HAVE SQL AND FILE THERE.
 if [ "$1" = 1 ]; then
-%banner %{name} -e <<-EOF
+       %banner %{name} -e <<-EOF
        IMPORTANT:
        If you are installing Skeleton for the first time, You may need to
        create the Skeleton database tables. To do so run:
        zcat %{_docdir}/%{name}-%{version}/scripts/sql/%{hordeapp}.sql.gz | mysql horde
-EOF
+       EOF
 fi
 
 %triggerin -- apache1 < 1.3.37-3, apache1-base
This page took 0.029324 seconds and 4 git commands to generate.