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

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/60730
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/deja-dup?expand=0&rev=12
This commit is contained in:
Vincent Untz
2011-02-13 20:50:48 +00:00
committed by Git OBS Bridge
parent 068035b6b7
commit 580429d0e8
2 changed files with 33 additions and 4 deletions

View File

@@ -41,8 +41,8 @@ BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(unique-1.0)
BuildRequires: update-desktop-files
BuildRequires: vala
Requires: %{name}-lang = %{version}
Requires: duplicity
Recommends: %{name}-lang
%gconf_schemas_prereq
%description
@@ -96,7 +96,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file deja-dup
%suse_update_desktop_file deja-dup-monitor
%suse_update_desktop_file deja-dup-preferences
%find_lang %{name}
%find_lang %{name} %{?no_lang_C}
# Localized man pages
for man in %{buildroot}%{_mandir}/*/man1/*; do
LOCALE=`echo $man | sed "s:.*%{_mandir}/\([^/]*\)/man1/.*:\1:g"`
@@ -110,18 +110,34 @@ done
%fdupes %{buildroot}
%find_gconf_schemas
%clean
rm -rf %{buildroot}
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%clean
rm -rf %{buildroot}
%if 0%{?suse_version} > 1130
%post
%desktop_database_post
%icon_theme_cache_post
%endif
%if 0%{?suse_version} > 1130
%postun
%desktop_database_postun
%icon_theme_cache_postun
%endif
%files -f %{name}.schemas_list -f %{name}.man-lang
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%{_bindir}/deja-dup
%{_bindir}/deja-dup-preferences
%{_mandir}/man1/deja-dup.*