Accepting request 60916 from GNOME:Apps
Accepted submit request 60916 from user vuntz OBS-URL: https://build.opensuse.org/request/show/60916 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dia?expand=0&rev=21
This commit is contained in:
parent
1415ed5caf
commit
535d35ea8e
13
dia.changes
13
dia.changes
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 12 17:10:52 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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 24 21:02:39 CET 2010 - vuntz@opensuse.org
|
Sun Jan 24 21:02:39 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
23
dia.spec
23
dia.spec
@ -57,7 +57,7 @@ Patch14: dia-python-acinclude.patch
|
|||||||
Patch17: dia-remove-datetime.patch
|
Patch17: dia-remove-datetime.patch
|
||||||
Url: http://live.gnome.org/Dia
|
Url: http://live.gnome.org/Dia
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: %{name}-lang = %{version}
|
Recommends: %{name}-lang
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Dia is designed to be much like the commercial program 'Visio.' It can
|
Dia is designed to be much like the commercial program 'Visio.' It can
|
||||||
@ -103,7 +103,7 @@ mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@lati
|
|||||||
# find_lang doesn't like this
|
# find_lang doesn't like this
|
||||||
rm %{buildroot}%{_datadir}/gnome/help/dia/C
|
rm %{buildroot}%{_datadir}/gnome/help/dia/C
|
||||||
mv %{buildroot}%{_datadir}/gnome/help/dia/en %{buildroot}%{_datadir}/gnome/help/dia/C
|
mv %{buildroot}%{_datadir}/gnome/help/dia/en %{buildroot}%{_datadir}/gnome/help/dia/C
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
# No need for mime-info-to-mime, application/x-dia-diagram is defined in freedesktop.org.xml
|
# No need for mime-info-to-mime, application/x-dia-diagram is defined in freedesktop.org.xml
|
||||||
rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info
|
rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info
|
||||||
rm samples/Makefile* samples/*png
|
rm samples/Makefile* samples/*png
|
||||||
@ -112,9 +112,28 @@ rm samples/Makefile* samples/*png
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO samples/ font-test*dia
|
%doc AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO samples/ font-test*dia
|
||||||
|
%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}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/dia
|
%{_libdir}/dia
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
|
Loading…
Reference in New Issue
Block a user