SHA256
1
0
forked from pool/gucharmap

Accepting request 61057 from GNOME:Factory

Accepted submit request 61057 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/61057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gucharmap?expand=0&rev=44
This commit is contained in:
Ruediger Oertel 2011-02-14 00:12:21 +00:00 committed by Git OBS Bridge
commit ac58bbc0fa
2 changed files with 26 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Feb 13 16:23:07 CET 2011 - vuntz@opensuse.org
- Call relevant macros in %post/%postun:
+ %desktop_database_post/postun because the package ships at
least one desktop file.
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Dec 23 19:05:01 CET 2010 - vuntz@opensuse.org Thu Dec 23 19:05:01 CET 2010 - vuntz@opensuse.org

View File

@ -36,7 +36,7 @@ Summary: A Featureful Unicode Character Map
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Url: http://gucharmap.sourceforge.net/ Url: http://gucharmap.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version} Recommends: %{name}-lang
%gconf_schemas_prereq %gconf_schemas_prereq
%description %description
@ -89,7 +89,7 @@ make %{?jobs:-j%jobs}
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif %endif
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name} %find_lang %{name} %{?no_lang_C}
%find_gconf_schemas %find_gconf_schemas
%fdupes $RPM_BUILD_ROOT %fdupes $RPM_BUILD_ROOT
# We need X-SuSE-Editor to avoid an error for the categories check. We don't # We need X-SuSE-Editor to avoid an error for the categories check. We don't
@ -102,8 +102,14 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%pre -f %{name}.schemas_pre %pre -f %{name}.schemas_pre
%post
%desktop_database_post
%preun -f %{name}.schemas_preun %preun -f %{name}.schemas_preun
%postun
%desktop_database_postun
%posttrans -f %{name}.schemas_posttrans %posttrans -f %{name}.schemas_posttrans
%clean %clean
@ -112,6 +118,13 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.schemas_list %files -f %{name}.schemas_list
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING ChangeLog NEWS README TODO %doc COPYING ChangeLog NEWS README TODO
%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
%{_bindir}/charmap %{_bindir}/charmap
%{_bindir}/gnome-character-map %{_bindir}/gnome-character-map
%{_bindir}/gucharmap %{_bindir}/gucharmap