small changes only
OBS-URL: https://build.opensuse.org/package/show/Education/bibletime?expand=0&rev=30
This commit is contained in:
committed by
Git OBS Bridge
parent
b1d3b560bb
commit
5cef6aae7d
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user