From 358ba8b0618b41ab9c2eebdb2d6328f3f4cfa9eaec183136c4d6fd898c086f39 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 23 Nov 2015 22:02:33 +0000 Subject: [PATCH] pick rq 345936 - Update to 3.0.4 OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=37 --- libmirage-3.0.3.tar.bz2 | 3 --- libmirage-3.0.4.tar.bz2 | 3 +++ libmirage.changes | 15 +++++++++++++++ libmirage.spec | 21 +++++++++++++-------- 4 files changed, 31 insertions(+), 11 deletions(-) delete mode 100644 libmirage-3.0.3.tar.bz2 create mode 100644 libmirage-3.0.4.tar.bz2 diff --git a/libmirage-3.0.3.tar.bz2 b/libmirage-3.0.3.tar.bz2 deleted file mode 100644 index 9fb692b..0000000 --- a/libmirage-3.0.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d65b70fe7045a4575d3bc71678d515db93e0b047bca58798b515e202497a2d0e -size 210568 diff --git a/libmirage-3.0.4.tar.bz2 b/libmirage-3.0.4.tar.bz2 new file mode 100644 index 0000000..bfc32a9 --- /dev/null +++ b/libmirage-3.0.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc05370f0cc15348910a149207384f03b48b204a19215c1510924244996a3f3f +size 210624 diff --git a/libmirage.changes b/libmirage.changes index 2b94383..881263d 100644 --- a/libmirage.changes +++ b/libmirage.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Nov 23 20:34:07 UTC 2015 - sor.alexei@meowr.ru + +- Update to 3.0.4: + * CUE, CCD, TOC, XCDRoast parsers: Fix a crash due to invalid + read attempts on uninitialised regex match info structure. + * MDS, MDX parser: Fix a memory leak. + * CIF parser: Fix signature matching. + * CIF parser: Improve pretty-print of some values. + * CIF parser: Fix track length calculation. + * CMake: Replace whitespaces in custom target names with "-" + signs (silence CMP0037 warnings on CMake 3.2.2 and newer). +- Add missing MIME compilation. +- Use %cmake macro. + ------------------------------------------------------------------- Tue Nov 25 05:46:30 UTC 2014 - jengelh@inai.de diff --git a/libmirage.spec b/libmirage.spec index a6b9204..ebbb404 100644 --- a/libmirage.spec +++ b/libmirage.spec @@ -1,7 +1,7 @@ # # spec file for package libmirage # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,14 +22,14 @@ Name: libmirage Summary: A CD-ROM image access library License: GPL-2.0+ Group: Development/Libraries/C and C++ -Version: 3.0.3 +Version: 3.0.4 Release: 0 Url: http://cdemu.sf.net/about/libmirage/ #Git-Clone: git://git.code.sf.net/p/cdemu/code Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 BuildRequires: cmake >= 2.8.5 -BuildRequires: pkgconfig >= 0.16 +BuildRequires: pkg-config >= 0.16 BuildRequires: pkgconfig(bzip2) >= 1.0.0 BuildRequires: pkgconfig(glib-2.0) >= 2.28 BuildRequires: pkgconfig(gmodule-2.0) >= 2.28 @@ -38,6 +38,7 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.30.0 BuildRequires: pkgconfig(gtk-doc) >= 1.4 BuildRequires: pkgconfig(liblzma) >= 5.0.0 BuildRequires: pkgconfig(samplerate) >= 0.1.0 +BuildRequires: pkgconfig(shared-mime-info) BuildRequires: pkgconfig(sndfile) >= 1.0.0 BuildRequires: pkgconfig(zlib) >= 1.2.0 @@ -104,7 +105,7 @@ file. This package contains the MIME type definitions and documentation. %package -n typelib-1_0-libmirage-%pname -Summary: The libmirage CD-ROM image access library - introspection bindings +Summary: The libmirage CD-ROM image access library – introspection bindings Group: System/Libraries %description -n typelib-1_0-libmirage-%pname @@ -118,17 +119,21 @@ This package provides the GObject Introspection bindings for libmirage. %setup -q %build -cmake . \ - -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ - -DCMAKE_C_FLAGS:STRING="%optflags" +%cmake -DCMAKE_MODULE_LINKER_FLAGS="" make %{?_smp_mflags} %install -make install DESTDIR="%buildroot" +%cmake_install %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig +%post data +%mime_database_post + +%postun data +%mime_database_postun + %files -n %lname %defattr(-,root,root) %_libdir/libmirage.so.10*