Accepting request 55965 from home:vuntz:branches:GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/55965
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/deja-dup?expand=0&rev=10
This commit is contained in:
Vincent Untz 2010-12-14 18:32:31 +00:00 committed by Git OBS Bridge
parent a5827e1818
commit b96b38a681
2 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Dec 14 16:17:23 CET 2010 - vuntz@opensuse.org
- Own directories of localized man pages to fix build. Also move
those files to the main package: they should eventually live in
the lang subpackage, but at the moment, they would create a file
conflict between bundles and the lang subpackage.
- Own %{_libdir}/deja-dup.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Nov 20 20:22:58 CET 2010 - badshah400@gmail.com Sat Nov 20 20:22:58 CET 2010 - badshah400@gmail.com

View File

@ -100,7 +100,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
# Localized man pages # Localized man pages
for man in %{buildroot}%{_mandir}/*/man1/*; do for man in %{buildroot}%{_mandir}/*/man1/*; do
LOCALE=`echo $man | sed "s:.*%{_mandir}/\([^/]*\)/man1/.*:\1:g"` LOCALE=`echo $man | sed "s:.*%{_mandir}/\([^/]*\)/man1/.*:\1:g"`
echo "%%lang($LOCALE) %%doc ${man##%{buildroot}}*" >> %{name}.lang echo "%%lang($LOCALE) %%dir %%{_mandir}/$LOCALE" >> %{name}.man-lang
echo "%%lang($LOCALE) %%dir %%{_mandir}/$LOCALE/man1" >> %{name}.man-lang
echo "%%lang($LOCALE) %%doc ${man##%{buildroot}}*" >> %{name}.man-lang
done done
# create symlinks for man pages # create symlinks for man pages
%fdupes -s %{buildroot}%{_mandir} %fdupes -s %{buildroot}%{_mandir}
@ -117,7 +119,7 @@ done
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
%files -f %{name}.schemas_list %files -f %{name}.schemas_list -f %{name}.man-lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING NEWS %doc AUTHORS COPYING NEWS
%{_bindir}/deja-dup %{_bindir}/deja-dup
@ -125,6 +127,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/deja-dup.* %{_mandir}/man1/deja-dup.*
%{_mandir}/man1/deja-dup-preferences.* %{_mandir}/man1/deja-dup-preferences.*
%{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop %{_sysconfdir}/xdg/autostart/deja-dup-monitor.desktop
# We explicitly list the content of %%{_libdir}/deja-dup to make sure we put
# the files in the right subpackage
%dir %{_libdir}/deja-dup
%{_libdir}/deja-dup/deja-dup-monitor %{_libdir}/deja-dup/deja-dup-monitor
%{_datadir}/applications/deja-dup.desktop %{_datadir}/applications/deja-dup.desktop
%{_datadir}/applications/deja-dup-preferences.desktop %{_datadir}/applications/deja-dup-preferences.desktop