small changes only

OBS-URL: https://build.opensuse.org/package/show/Education/bibletime?expand=0&rev=30
This commit is contained in:
Lars Vogdt
2011-12-30 09:03:44 +00:00
committed by Git OBS Bridge
parent b1d3b560bb
commit 5cef6aae7d

View File

@@ -90,6 +90,7 @@ popd
pushd build
make DESTDIR=%buildroot install
popd
# fix language pathnames
test -d %buildroot/%kdeprefix/share/locale/pt_br && mv %buildroot/%kdeprefix/share/locale/pt_br %buildroot/%kdeprefix/share/locale/pt_BR
test -d %buildroot/%kdeprefix/share/doc/HTML/pt-br && mv %buildroot/%kdeprefix/share/doc/HTML/pt-br %buildroot/%kdeprefix/share/doc/HTML/pt_BR
# install manpages
@@ -99,7 +100,7 @@ install -Dm644 %{SOURCE1} %buildroot/%{_datadir}/pixmaps/%{name}.xpm
%if 0%{?suse_version}
%fdupes -s %buildroot
sed -i "s|bibletime/handbook/index.html|bibletime/handbook/en/index.html|" %buildroot/%{_datadir}/applications/%{name}.desktop
%suse_update_desktop_file -r bibletime Education Teaching
%suse_update_desktop_file -r %{name} Education Teaching
%endif
#
%if 0%{?mandriva_version}
@@ -112,7 +113,6 @@ desktop-file-install --vendor="%{vendor}" \
%endif
%clean
rm -rf %buildroot