Accepting request 81690 from home:vuntz:branches:GNOME:Apps
Move help translations to lang OBS-URL: https://build.opensuse.org/request/show/81690 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/deja-dup?expand=0&rev=21
This commit is contained in:
parent
7bb7219541
commit
6fedc56074
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 9 12:28:59 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Move translations of the help documents to the lang subpackage,
|
||||||
|
now that filesystem owns /usr/share/help.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 5 12:34:05 UTC 2011 - vuntz@opensuse.org
|
Mon Sep 5 12:34:05 UTC 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
Name: deja-dup
|
Name: deja-dup
|
||||||
Version: 19.91
|
Version: 19.91
|
||||||
Release: 1
|
Release: 1
|
||||||
# FIXME: the %%{_datadir}/help/$locale/ files should go in lang subpackage and be found by %%find_lang; but before fixing everything, we need to check if this will be used by other packages
|
# FIXME: the %%{_datadir}/help/$locale/ files be found by %%find_lang
|
||||||
# FIXME: check if python-cloudfiles is packaged, and if yes, uncomment Recommends
|
# FIXME: check if python-cloudfiles is packaged, and if yes, uncomment Recommends
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Summary: Simple backup tool and frontend for duplicity
|
Summary: Simple backup tool and frontend for duplicity
|
||||||
@ -99,7 +99,7 @@ for help in %{buildroot}%{_datadir}/help/*/deja-dup/; do
|
|||||||
echo "%%lang($LOCALE) %%dir %%{_datadir}/help/$LOCALE" >> %{name}.help-lang.tmp
|
echo "%%lang($LOCALE) %%dir %%{_datadir}/help/$LOCALE" >> %{name}.help-lang.tmp
|
||||||
echo "%%lang($LOCALE) %%doc /${help##%{buildroot}}" >> %{name}.help-lang.tmp
|
echo "%%lang($LOCALE) %%doc /${help##%{buildroot}}" >> %{name}.help-lang.tmp
|
||||||
done
|
done
|
||||||
sort -u %{name}.help-lang.tmp > %{name}.help-lang
|
sort -u %{name}.help-lang.tmp | grep -v "^%%lang(C)" > %{name}.help-lang
|
||||||
rm %{name}.help-lang.tmp
|
rm %{name}.help-lang.tmp
|
||||||
# Localized man pages
|
# Localized man pages
|
||||||
for man in %{buildroot}%{_mandir}/*/man1/*; do
|
for man in %{buildroot}%{_mandir}/*/man1/*; do
|
||||||
@ -134,11 +134,9 @@ rm -rf %{buildroot}
|
|||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -f %{name}.man-lang -f %{name}.help-lang
|
%files -f %{name}.man-lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING NEWS
|
%doc AUTHORS COPYING NEWS
|
||||||
%dir %{_datadir}/help/
|
|
||||||
%dir %{_datadir}/help/C/
|
|
||||||
%doc %{_datadir}/help/C/%{name}/
|
%doc %{_datadir}/help/C/%{name}/
|
||||||
%{_bindir}/deja-dup
|
%{_bindir}/deja-dup
|
||||||
%{_bindir}/deja-dup-preferences
|
%{_bindir}/deja-dup-preferences
|
||||||
@ -162,6 +160,6 @@ rm -rf %{buildroot}
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/nautilus/extensions-3.0/libdeja-dup.so
|
%{_libdir}/nautilus/extensions-3.0/libdeja-dup.so
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang -f %{name}.help-lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user