summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57dcc09)
raw | patch | inline | side by side (parent: 57dcc09)
author | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 May 2010 00:00:16 +0000 (00:00 +0000) | ||
committer | opensides <opensides@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 May 2010 00:00:16 +0000 (00:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18402 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/redhat/gosa.spec | patch | blob | history | |
gosa-core/redhat/rpm-make-gosa | patch | blob | history |
index 0bd16244c04a112123eebf71c25fa5f9e00fd896..08e2b36eb711f167e9ba09f8e9f9951339ab1b23 100644 (file)
mkdir -p %{buildroot}/usr/share/pixmaps
mkdir -p %{buildroot}/usr/share/applications
mkdir -p %{buildroot}/usr/share/man/man1/
+mkdir -p %{buildroot}/usr/share/man/man5/
mv contrib/desktoprc %{buildroot}/etc/gosa
mv contrib/gosa %{buildroot}/usr/bin
mv debian/gosa-desktop.desktop %{buildroot}/usr/share/applications
# Gzip manpages from source
-for x in update-gosa.1 dh-make-gosa.1 update-locale.1 update-online-help.1 update-pdf-help.1
+for x in update-gosa.1 dh-make-gosa.1 update-locale.1 update-online-help.1 update-pdf-help.1 gosa-encrypt-passwords.1
do
gzip $x
done
mv ./*.1.gz %{buildroot}/usr/share/man/man1/
gzip -c contrib/gosa.1 > contrib/gosa.1.gz
mv contrib/gosa.1.gz %{buildroot}/usr/share/man/man1/
+gzip -c contrib/gosa.conf.5 > contrib/gosa.conf.5.gz
+mv contrib/gosa.conf.5.gz %{buildroot}/usr/share/man/man5/
mkdir -p %{buildroot}/usr/share/doc/gosa-%{version}
rm -rf %{buildroot}/usr/share/gosa/contrib
#%attr(-,root,root) /contrib/openldap
%config %attr(-,root,root) /usr/share/doc/gosa/slapd.conf-example
%attr(755,root,root) /usr/sbin/update-gosa
+%attr(755,root,root) /usr/share/man/man1/gosa-encrypt-passwords.1.gz
%attr(755,root,root) /usr/share/man/man1/update-gosa.1.gz
+%attr(755,root,root) /usr/share/man/man5/gosa.conf.5.gz
%attr(644,root,root) /etc/gosa/shells
%attr(644,root,root) /etc/gosa/encodings
%attr(755,root,root) /usr/sbin/gosa-encrypt-passwords
%changelog
* Fri Nov 17 2008 Stefan Japes <japes@GONICUS.de>
- First build of GOsa 2.6 as an RPM, should work on SuSE and RedHat
+* Thu May 14 2010
+- Corrected errors when building RPM and plugins where not on right
+ place Closes #957 and #970
index 2fd225ed9abac93d24b5019b2092a3dbb84ab533..668216823a5fd4b76562210922dc71a9792b2f94 100755 (executable)
# Move localization
mkdir -p %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@
-if ls ./local/* &> /dev/null ;then
+if ls ./locale/* &> /dev/null ;then
mv ./locale/* %{buildroot}/usr/share/gosa/locale/plugins/@@NAME@@
fi
# Move plugin itself
-mkdir -p %{buildroot}/usr/share/gosa/plugins/@@NAME@@
-mv ./* %{buildroot}/usr/share/gosa/plugins/@@NAME@@
+mkdir -p %{buildroot}/usr/share/gosa/plugins/
+mv ./* %{buildroot}/usr/share/gosa/plugins/
%post
/usr/sbin/update-gosa
%files
%defattr(-,root,root)
-%attr (-,root,root) /usr/share/gosa/plugins/@@NAME@@
+%attr (-,root,root) /usr/share/gosa/plugins/
%attr (-,root,root) /usr/share/gosa/doc/plugins/@@NAME@@
%attr (-,root,root) /usr/share/gosa/locale/plugins/@@NAME@@
%attr (-,root,root) /usr/share/gosa/html/plugins/@@NAME@@
mv $configfile ${2}/SPECS
cp -r ./rpm_src/gosa-plugins/${1} /tmp/gosa-plugin-${1}-${version}
cd /tmp/
+rm /tmp/gosa-plugin-${1}-${version}/plugin.dsc
tar cjf ${2}/SOURCES/gosa-plugin-${1}-${version}.tar.bz2 ./gosa-plugin-${1}-${version}
rm -rf gosa-plugin-${1}-${version}
echo "Done."