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:
parent
068035b6b7
commit
580429d0e8
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 12 17:09:17 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Call relevant macros in %post/%postun:
|
||||||
|
+ %desktop_database_post/postun because the package ships at
|
||||||
|
least one desktop file.
|
||||||
|
+ %icon_theme_cache_post/postun because the package ships themed
|
||||||
|
icons.
|
||||||
|
- Pass %{?no_lang_C} to %find_lang so that english documentation
|
||||||
|
can be packaged with the program, and not in the lang subpackage.
|
||||||
|
- Change Requires of lang subpackage to Recommends, since the
|
||||||
|
english documentation is not there anymore.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 14 16:17:23 CET 2010 - vuntz@opensuse.org
|
Tue Dec 14 16:17:23 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -41,8 +41,8 @@ BuildRequires: pkgconfig(libnotify)
|
|||||||
BuildRequires: pkgconfig(unique-1.0)
|
BuildRequires: pkgconfig(unique-1.0)
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
Requires: %{name}-lang = %{version}
|
|
||||||
Requires: duplicity
|
Requires: duplicity
|
||||||
|
Recommends: %{name}-lang
|
||||||
%gconf_schemas_prereq
|
%gconf_schemas_prereq
|
||||||
|
|
||||||
%description
|
%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
|
||||||
%suse_update_desktop_file deja-dup-monitor
|
%suse_update_desktop_file deja-dup-monitor
|
||||||
%suse_update_desktop_file deja-dup-preferences
|
%suse_update_desktop_file deja-dup-preferences
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
# 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"`
|
||||||
@ -110,18 +110,34 @@ done
|
|||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
%find_gconf_schemas
|
%find_gconf_schemas
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%pre -f %{name}.schemas_pre
|
%pre -f %{name}.schemas_pre
|
||||||
|
|
||||||
%posttrans -f %{name}.schemas_posttrans
|
%posttrans -f %{name}.schemas_posttrans
|
||||||
|
|
||||||
%preun -f %{name}.schemas_preun
|
%preun -f %{name}.schemas_preun
|
||||||
|
|
||||||
%clean
|
%if 0%{?suse_version} > 1130
|
||||||
rm -rf %{buildroot}
|
%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
|
%files -f %{name}.schemas_list -f %{name}.man-lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING NEWS
|
%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
|
||||||
%{_bindir}/deja-dup-preferences
|
%{_bindir}/deja-dup-preferences
|
||||||
%{_mandir}/man1/deja-dup.*
|
%{_mandir}/man1/deja-dup.*
|
||||||
|
Loading…
Reference in New Issue
Block a user