Hello community, here is the log from the commit of package kile for openSUSE:Factory checked in at Mon Jul 4 16:08:28 CEST 2011.
-------- --- KDE/kile/kile.changes 2011-06-11 16:47:57.000000000 +0200 +++ /mounts/work_src_done/STABLE/kile/kile.changes 2011-06-22 21:43:16.000000000 +0200 @@ -1,0 +2,10 @@ +Wed Jun 22 19:32:10 UTC 2011 - [email protected] + +- Spec file updates + * Added update-mime-database in %post/%postun scripts for the mime file + installed by the package. + * Fix locales removal if suse_version is not set. + * Removed support for openSUSE < 11.2. + * Minor other updates. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kile.spec ++++++ --- /var/tmp/diff_new_pack.IL0JWY/_old 2011-07-04 16:07:55.000000000 +0200 +++ /var/tmp/diff_new_pack.IL0JWY/_new 2011-07-04 16:07:55.000000000 +0200 @@ -21,13 +21,13 @@ Name: kile Version: 2.1 -Release: 1 +Release: 11 Summary: A LaTeX Source Editor and TeX Shell License: GPLv2+ and GFDL Url: http://kile.sourceforge.net/ Group: Productivity/Publishing/TeX/Frontends -Source0: %{name}-%{version}.tar.bz2 +Source0: http://prdownloads.sourceforge.net/kile/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ImageMagick @@ -42,6 +42,8 @@ Requires: texlive-latex Requires: texlive-xetex %kde4_runtime_requires +Requires(post): shared-mime-info +Requires(postun): shared-mime-info Recommends: ImageMagick Recommends: dblatex Recommends: ghostscript-library @@ -83,19 +85,9 @@ * Easy access to various help sources. * Advanced editing commands. - - -Authors: --------- - Pascal Brachet <[email protected]> - Jeroen Wijnhout <[email protected]> - Michel Ludwig <[email protected]> - Thomas Braun <[email protected]> - - %lang_package %prep -%setup -q %{name}-%{version} +%setup -q %build %cmake_kde4 -d build @@ -121,27 +113,22 @@ # Remove unneeded locale rm -rf %{buildroot}%{_datadir}/locale/x-test -%if 0%{?suse_version} <= 1130 +%if 0%{?suse_version} && 0%{?suse_version} <= 1130 rm -rf %{buildroot}%{_datadir}/locale/hne %endif -%if 0%{?suse_version} < 1120 -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/es/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/pt/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/fr/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/sv/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/uk/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/it/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/et/common -mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/pt_BR/common -%endif - %find_lang %{name} %fdupes -s %{buildroot} %kde_post_install +%post +/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : + +%postun +/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : + %clean rm -rf %{buildroot} @@ -151,7 +138,7 @@ %{_kde4_bindir}/kile %{_kde4_applicationsdir}/kile.desktop %{_datadir}/dbus-1/interfaces/net.sourceforge.kile.main.xml -%{_kde4_htmldir}/en/kile/ +%doc %{_kde4_htmldir}/en/kile/ %{_kde4_iconsdir}/hicolor/*/*/kile* %{_kde4_appsdir}/kconf_update/kile* %{_kde4_appsdir}/kile/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
