Accepting request 345939 from filesystems

- Update to 3.0.4:

OBS-URL: https://build.opensuse.org/request/show/345939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmirage?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2015-11-26 16:03:59 +00:00 committed by Git OBS Bridge
commit 4a7e617671
4 changed files with 31 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d65b70fe7045a4575d3bc71678d515db93e0b047bca58798b515e202497a2d0e
size 210568

3
libmirage-3.0.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc05370f0cc15348910a149207384f03b48b204a19215c1510924244996a3f3f
size 210624

View File

@ -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 Tue Nov 25 05:46:30 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libmirage # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -22,14 +22,14 @@ Name: libmirage
Summary: A CD-ROM image access library Summary: A CD-ROM image access library
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Version: 3.0.3 Version: 3.0.4
Release: 0 Release: 0
Url: http://cdemu.sf.net/about/libmirage/ Url: http://cdemu.sf.net/about/libmirage/
#Git-Clone: git://git.code.sf.net/p/cdemu/code #Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
BuildRequires: cmake >= 2.8.5 BuildRequires: cmake >= 2.8.5
BuildRequires: pkgconfig >= 0.16 BuildRequires: pkg-config >= 0.16
BuildRequires: pkgconfig(bzip2) >= 1.0.0 BuildRequires: pkgconfig(bzip2) >= 1.0.0
BuildRequires: pkgconfig(glib-2.0) >= 2.28 BuildRequires: pkgconfig(glib-2.0) >= 2.28
BuildRequires: pkgconfig(gmodule-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(gtk-doc) >= 1.4
BuildRequires: pkgconfig(liblzma) >= 5.0.0 BuildRequires: pkgconfig(liblzma) >= 5.0.0
BuildRequires: pkgconfig(samplerate) >= 0.1.0 BuildRequires: pkgconfig(samplerate) >= 0.1.0
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(sndfile) >= 1.0.0 BuildRequires: pkgconfig(sndfile) >= 1.0.0
BuildRequires: pkgconfig(zlib) >= 1.2.0 BuildRequires: pkgconfig(zlib) >= 1.2.0
@ -104,7 +105,7 @@ file.
This package contains the MIME type definitions and documentation. This package contains the MIME type definitions and documentation.
%package -n typelib-1_0-libmirage-%pname %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 Group: System/Libraries
%description -n typelib-1_0-libmirage-%pname %description -n typelib-1_0-libmirage-%pname
@ -118,17 +119,21 @@ This package provides the GObject Introspection bindings for libmirage.
%setup -q %setup -q
%build %build
cmake . \ %cmake -DCMAKE_MODULE_LINKER_FLAGS=""
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DCMAKE_C_FLAGS:STRING="%optflags"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR="%buildroot" %cmake_install
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%post data
%mime_database_post
%postun data
%mime_database_postun
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libmirage.so.10* %_libdir/libmirage.so.10*