Hello community, here is the log from the commit of package shared-mime-info for openSUSE:Factory checked in at Fri Oct 15 13:57:34 CEST 2010. -------- --- shared-mime-info/shared-mime-info.changes 2010-08-07 15:03:27.000000000 +0200 +++ /mounts/work_src_done/STABLE/shared-mime-info/shared-mime-info.changes 2010-10-07 14:11:12.000000000 +0200 @@ -1,0 +2,55 @@ +Thu Oct 7 14:09:38 CEST 2010 - vuntz@opensuse.org + +- Add rpm macros to update the mime database: %mime_database_post + and %mime_database_postun. +- Update %post to never fail, and to not redirect the output to + /dev/null: if there is output, then it's important. + +------------------------------------------------------------------- +Fri Oct 1 19:40:56 CEST 2010 - vuntz@opensuse.org + +- Update to version 0.80: + + Mime-type Changes: + - Add magic for F4V (Flash) video files + - Add mime-type for Dia shapes + - Bump priority for KOffice magics to give them precedence over + gzip and zip + - Add mime-type for Verilog and SystemVerilog source files and + headers + - Add Qt Linguist translation file + - Add application/x-xspf+xml alias for XSPF playlists + - Use audio/flac for FLAC files, make audio/x-flac an alias of + it + - Add mime-type for HDF files + - Add mime-type for Mozilla Extension packages + - Add mime-type for text/cache-manifest + - Add YAML mime-type + - Add application/relax-ng-compact-syntax mime-type + - Add more tests for Matlab and Octave files + - Improve translator comments for VCD, SVCD and PictureCD + - Add application/pkcs8 mime-type + - Add audio and video WebM mime-types + - Add video/mp2t mime-type + - Use generic video icon for application/x-matroska + - Improve magic for Matroska files + - Add magic for audio/x-stm + - Update magic for Apple HTTP Streaming playlists + - Add Lrzip archive mime-type + - Fix PDF detection for some pesky files + - Add details about 3GPP and 3GPP2 files + - Add JavaFX video format + - Add Windows Imaging Format Disk Image mime-type + - Add application/x-apple-diskimage mime-type + - Add e-book reader content-type + - Add application/x-tex as an alias for text/x-tex + - Use application/oxps mime-type for XPS files + - Add magic to BibTeX files + + Other: + - Fix malformed D source test + - Avoid using ~/.local data when running the test suite + - Make sure that update-mime-info doesn't get called before + installed +- Remove workaround for ar locale (which was renamed from ara): + fixed upstream. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- shared-mime-info-0.71.tar.bz2 New: ---- macros.shared-mime-info shared-mime-info-0.80.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ shared-mime-info.spec ++++++ --- /var/tmp/diff_new_pack.IYEXZo/_old 2010-10-15 13:57:00.000000000 +0200 +++ /var/tmp/diff_new_pack.IYEXZo/_new 2010-10-15 13:57:00.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package shared-mime-info (Version 0.71) +# spec file for package shared-mime-info (Version 0.80) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -23,14 +23,15 @@ BuildRequires: intltool BuildRequires: libxml2-devel BuildRequires: translation-update-upstream -Version: 0.71 -Release: 7 +Version: 0.80 +Release: 1 Url: http://freedesktop.org/wiki/Software/shared-mime-info Group: System/X11/Utilities License: GPLv2+ Summary: Shared MIME Database Source: %{name}-%{version}.tar.bz2 Source1: mime-info-to-mime +Source2: macros.shared-mime-info # needed by mime-info-to-mime: Requires: /bin/rm /bin/mkdir /usr/bin/fgrep # needed by update-mime-database @@ -49,9 +50,6 @@ %prep %setup -q -# Fix issue with locale arabic locale (fdo#26519) -mv po/ara.po po/ar.po -sed -i s/ara/ar/ po/LINGUAS translation-update-upstream %build @@ -62,12 +60,14 @@ %makeinstall install %{S:1} $RPM_BUILD_ROOT%{_bindir}/ %find_lang %{name} +# Install rpm macros +install -D -m644 %{S:2} %{buildroot}%{_sysconfdir}/rpm/macros.shared-mime-info %clean rm -rf $RPM_BUILD_ROOT %post -usr/bin/update-mime-database usr/share/mime >/dev/null +%{_bindir}/update-mime-database %{_datadir}/mime || true %files -f %{name}.lang %defattr (-, root, root) @@ -77,5 +77,6 @@ %{_datadir}/pkgconfig/*.pc %ghost %{_datadir}/mime/[a-ms-vxX]* %{_mandir}/man?/*.* +%{_sysconfdir}/rpm/macros.shared-mime-info %changelog ++++++ macros.shared-mime-info ++++++ # RPM macros for packages installing a MIME type according to the XDG specification # ### # # When a package installs a MIME type as per the XDG specification, it should # use both macros: # # - %mime_database_post in %post # - %mime_database_postun in %postun # # Note that these macros can optionally take as argument the directory # where the MIME type is installed. If no argument is passed, then # %{_datadir}/mime will be used (which is where applications usually install # the MIME type information). # ### # On install, update the mime database %mime_database_post() \ if test -x %{_bindir}/update-mime-database; then \ %if "x%1" != "x%%1" \ %{_bindir}/update-mime-database "%1" || true \ %else \ %{_bindir}/update-mime-database "%{_datadir}/mime" || true \ %endif \ fi # On uninstall, update the mime database. Note: we ignore upgrades (already # handled in %post of the new package). %mime_database_postun() \ if [ $1 -eq 0 ]; then \ if test -x %{_bindir}/update-mime-database; then \ %{_bindir}/update-mime-database "${MIME_DIR}" || true \ %if "x%1" != "x%%1" \ %{_bindir}/update-mime-database "%1" || true \ %else \ %{_bindir}/update-mime-database "%{_datadir}/mime" || true \ %endif \ fi \ fi ++++++ shared-mime-info-0.71.tar.bz2 -> shared-mime-info-0.80.tar.bz2 ++++++ ++++ 115547 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org