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
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
Name: deja-dup
|
||||
Version: 19.91
|
||||
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
|
||||
License: GPLv3+
|
||||
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) %%doc /${help##%{buildroot}}" >> %{name}.help-lang.tmp
|
||||
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
|
||||
# Localized man pages
|
||||
for man in %{buildroot}%{_mandir}/*/man1/*; do
|
||||
@ -134,11 +134,9 @@ rm -rf %{buildroot}
|
||||
%icon_theme_cache_postun
|
||||
%endif
|
||||
|
||||
%files -f %{name}.man-lang -f %{name}.help-lang
|
||||
%files -f %{name}.man-lang
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING NEWS
|
||||
%dir %{_datadir}/help/
|
||||
%dir %{_datadir}/help/C/
|
||||
%doc %{_datadir}/help/C/%{name}/
|
||||
%{_bindir}/deja-dup
|
||||
%{_bindir}/deja-dup-preferences
|
||||
@ -162,6 +160,6 @@ rm -rf %{buildroot}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/nautilus/extensions-3.0/libdeja-dup.so
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%files lang -f %{name}.lang -f %{name}.help-lang
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user