Accepting request 61034 from GNOME:Factory
Accepted submit request 61034 from user vuntz OBS-URL: https://build.opensuse.org/request/show/61034 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-color-manager?expand=0&rev=16
This commit is contained in:
commit
0751e51edc
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 13 14:20:08 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 15:09:28 CET 2010 - vuntz@opensuse.org
|
Tue Dec 14 15:09:28 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -55,9 +55,9 @@ BuildRequires: pkgconfig(vte)
|
|||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xrandr)
|
BuildRequires: pkgconfig(xrandr)
|
||||||
BuildRequires: pkgconfig(xxf86vm)
|
BuildRequires: pkgconfig(xxf86vm)
|
||||||
Requires: %{name}-lang = %{version}
|
|
||||||
Requires: PackageKit
|
Requires: PackageKit
|
||||||
Requires: shared-color-profiles
|
Requires: shared-color-profiles
|
||||||
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%gconf_schemas_prereq
|
%gconf_schemas_prereq
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ grep -q X-GNOME-SystemSettings %{buildroot}%{_datadir}/applications/gcm-prefs.de
|
|||||||
%suse_update_desktop_file -r gcm-prefs GNOME Settings HardwareSettings
|
%suse_update_desktop_file -r gcm-prefs GNOME Settings HardwareSettings
|
||||||
%suse_update_desktop_file gcm-apply
|
%suse_update_desktop_file gcm-apply
|
||||||
%suse_update_desktop_file gcm-import
|
%suse_update_desktop_file gcm-import
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
%find_gconf_schemas
|
%find_gconf_schemas
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -92,13 +92,28 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%pre -f %{name}.schemas_pre
|
%pre -f %{name}.schemas_pre
|
||||||
|
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%posttrans -f %{name}.schemas_posttrans
|
%posttrans -f %{name}.schemas_posttrans
|
||||||
|
|
||||||
%preun -f %{name}.schemas_preun
|
%preun -f %{name}.schemas_preun
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
%files -f %{name}.schemas_list
|
%files -f %{name}.schemas_list
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
|
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
|
||||||
|
%dir %{_datadir}/gnome/
|
||||||
|
%dir %{_datadir}/gnome/help/
|
||||||
|
%dir %{_datadir}/gnome/help/%{name}/
|
||||||
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
||||||
|
%dir %{_datadir}/omf/
|
||||||
|
%dir %{_datadir}/omf/%{name}/
|
||||||
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
||||||
%dir /lib/udev
|
%dir /lib/udev
|
||||||
%dir /lib/udev/rules.d
|
%dir /lib/udev/rules.d
|
||||||
/lib/udev/rules.d/*.rules
|
/lib/udev/rules.d/*.rules
|
||||||
@ -114,8 +129,5 @@ rm -rf %{buildroot}
|
|||||||
%{_sysconfdir}/xdg/autostart/*.desktop
|
%{_sysconfdir}/xdg/autostart/*.desktop
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%defattr(-, root, root)
|
|
||||||
%dir %{_datadir}/gnome
|
|
||||||
%dir %{_datadir}/gnome/help
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user