Accepting request 60966 from GNOME:Apps

Accepted submit request 60966 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/60966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/inkscape?expand=0&rev=48
This commit is contained in:
Ruediger Oertel 2011-02-14 00:12:14 +00:00 committed by Git OBS Bridge
parent 0a72d4a37b
commit 965a89ac4b
2 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Feb 12 19:22:44 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.
-------------------------------------------------------------------
Mon Jan 31 12:07:52 UTC 2011 - mrdocs@opensuse.org

View File

@ -52,12 +52,12 @@ BuildRequires: python-devel
BuildRequires: python-gtk-devel
BuildRequires: sgml-skel
BuildRequires: update-desktop-files
Requires: %{name}-lang = %{version}
Requires: /usr/bin/gs
Requires: ghostscript-fonts-std
Requires: gzip
Requires: pstoedit
Requires: python-gtk
Recommends: %{name}-lang
Recommends: python-lxml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -176,13 +176,25 @@ install -D -m 0644 %{S:1} %{buildroot}%{_datadir}/inkscape/palettes
# te_IN should really just be te, see lp#690255
test ! -e %{buildroot}%{_datadir}/locale/te
mv %{buildroot}%{_datadir}/locale/te_IN %{buildroot}%{_datadir}/locale/te
%find_lang %{name}
%find_lang %{name} %{?no_lang_C}
bash %{S:2} %{buildroot}%{_datadir}/inkscape/extensions "%%{_datadir}/inkscape/extensions/"
%fdupes %{buildroot}
%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 inkscape.lst
%defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README* TRANSLATORS