summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 229852f)
raw | patch | inline | side by side (parent: 229852f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Oct 2009 08:35:48 +0000 (08:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 13 Oct 2009 08:35:48 +0000 (08:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14589 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/redhat/rpm-make-gosa | patch | blob | history |
index 5d0a865f67782855364a95f7b8a7507f825d4344..35afae34cd3551571ee7626dd54827f5569b0f4f 100755 (executable)
echo "%{buildroot} <<---------"
-if [ -d html ]; then
+if [ -e ./html/* ]; then
mv ./html/* %{buildroot}/usr/share/gosa/html/plugins/@@NAME@@
fi
# Move contrib if available
mkdir -p %{buildroot}/usr/share/doc/%{name}
-if [ -d contrib ]; then
+if [ -e ./contrib/* ]; then
mv ./contrib %{buildroot}/usr/share/doc/%{name}
fi
# Move help
mkdir -p %{buildroot}/usr/share/gosa/doc/plugins/@@NAME@@
-if [ -d help ]; then
+if [ -e ./help/* ]; then
mv ./help/* %{buildroot}/usr/share/gosa/doc/plugins/@@NAME@@
fi
+# Copy etc
+mkdir -p %{buildroot}/etc/gosa
+if [ -e ./etc/* ]; then
+ mv ./etc/* %{buildroot}/etc/gosa
+fi
+
# Move localization
mkdir -p %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@
-if [ -d locale ]; then
+if [ -e ./locale/* ]; then
mv ./locale/* %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@
fi
%attr (-,root,root) /usr/share/gosa/locale/plugins/@@NAME@@
%attr (-,root,root) /usr/share/gosa/html/plugins/@@NAME@@
%attr (-,root,root) /usr/share/doc/%{name}
+%attr (-,root,root) /etc/gosa/
EOF
# Create eventually missing directories