summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bc94fb0)
raw | patch | inline | side by side (parent: bc94fb0)
author | scheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Jun 2005 18:33:38 +0000 (18:33 +0000) | ||
committer | scheiter <scheiter@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Jun 2005 18:33:38 +0000 (18:33 +0000) |
contrib/gosa.spec | patch | blob | history |
diff --git a/contrib/gosa.spec b/contrib/gosa.spec
index 2dcf39383feb4ec74ea28a1ff5fc9dafd3bba112..7388c43a29374544ee8b1b4b321a4de6e47432a2 100644 (file)
--- a/contrib/gosa.spec
+++ b/contrib/gosa.spec
%define apacheuser wwwrun
%define apachegroup root
%define webconf /etc/apache2/conf.d/
+ %define docdir /usr/share/doc/packages/gosa
%else
%{echo:Building other rpm}
%define apacheuser apache
%define apachegroup apache
%define webconf /etc/httpd/conf.d/
+ %define docdir /usr/share/doc/gosa-%{version}
%endif
%description
mkdir -p %{buildroot}/etc/openldap/schema/gosa
mv contrib/openldap/*.schema %{buildroot}/etc/openldap/schema/gosa
-sed 's§"CONFIG_TEMPLATE_DIR", "../contrib/"§"CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa-%{version}/"§g' %{buildroot}/usr/share/gosa/include/functions.inc > %{buildroot}/usr/share/gosa/include/functions.inc.new
+sed 's§"CONFIG_TEMPLATE_DIR", "../contrib/"§"CONFIG_TEMPLATE_DIR", "%{docdir}/"§g' %{buildroot}/usr/share/gosa/include/functions.inc > %{buildroot}/usr/share/gosa/include/functions.inc.new
mv -f %{buildroot}/usr/share/gosa/include/functions.inc.new %{buildroot}/usr/share/gosa/include/functions.inc
mv -f doc manual
mkdir -p %{buildroot}/etc/gosa/vacation