diff --git a/libmirage-2.1.1.tar.xz b/libmirage-2.1.1.tar.xz deleted file mode 100644 index 2efd75b..0000000 --- a/libmirage-2.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3743d979c8bb2118d1d74ded815e81138cb9f6124b19c4c2161200f15c82f05f -size 191732 diff --git a/libmirage-3.0.0.tar.bz2 b/libmirage-3.0.0.tar.bz2 new file mode 100644 index 0000000..4f3dda7 --- /dev/null +++ b/libmirage-3.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb0e0f0ed082efe03be4254d1be1310956652b1cec9fad10f9e602a088d17f84 +size 210658 diff --git a/libmirage.changes b/libmirage.changes index 0369117..4548c64 100644 --- a/libmirage.changes +++ b/libmirage.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru + +- Update to new upstream release 3.0.0 +* The file access and filter stream layer in libMirage were + revised to allow implementation of filters for both reading and + writing, and an infrastructure for implementing image writers + was added, along with reference implementations for ISO and TOC + writers. + ------------------------------------------------------------------- Sun Nov 24 11:18:45 UTC 2013 - jengelh@inai.de diff --git a/libmirage.spec b/libmirage.spec index ab60f5c..8bf8ac9 100644 --- a/libmirage.spec +++ b/libmirage.spec @@ -1,7 +1,7 @@ # # spec file for package libmirage # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,20 @@ Name: libmirage -%define lname libmirage9 -%define pname 2_1 +%define lname libmirage10 +%define pname 3_0 Summary: A CD-ROM image access library License: GPL-2.0+ Group: Development/Libraries/C and C++ -Version: 2.1.1 +Version: 3.0.0 Release: 0 -Url: http://cdemu.sf.net/ +Url: http://cdemu.sf.net/about/libmirage/ -#Freecode-URL: https://freecode.com/projects/cdemu-for-linux -#Git-Clone: git://git.code.sf.net/p/cdemu/code -#DL-URL: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 -Source: %name-%version.tar.xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +#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: pkgconfig(bzip2) >= 1.0.0 BuildRequires: pkgconfig(glib-2.0) >= 2.28 BuildRequires: pkgconfig(gmodule-2.0) >= 2.28 BuildRequires: pkgconfig(gobject-2.0) >= 2.28 @@ -42,12 +40,6 @@ BuildRequires: pkgconfig(liblzma) >= 5.0.0 BuildRequires: pkgconfig(samplerate) >= 0.1.0 BuildRequires: pkgconfig(sndfile) >= 1.0.0 BuildRequires: pkgconfig(zlib) >= 1.2.0 -%if 0%{?fedora_version} -BuildRequires: bzip2-devel >= 1.0.0 -%else -BuildRequires: pkgconfig(bzip2) >= 1.0.0 -%endif -BuildRequires: xz %description A CD-ROM image access library part of the cdemu suite. @@ -72,11 +64,7 @@ file. %package %pname Summary: CD-ROM image format plugins for libmirage Group: System/Libraries -%if 0%{?suse_version} Recommends: libmirage-data -%else -Requires: libmirage-data -%endif %description %pname A CD-ROM image access library part of the cdemu suite. @@ -104,11 +92,9 @@ This package contains files needed to develop with libmirage. %package data Summary: MIME type definitions and documentation for libmirage Group: Development/Libraries/C and C++ -Requires(post): shared-mime-info -Requires(postun): shared-mime-info -%if 0%{?suse_version} >= 1140 +Requires(post): shared-mime-info +Requires(postun): shared-mime-info BuildArch: noarch -%endif %description data libmirage provides uniform access to the data stored in different @@ -132,35 +118,24 @@ This package provides the GObject Introspection bindings for libmirage. %setup -q %build -# gir is busted on 12.1 cmake . \ -%if 0%{?suse_version} == 1210 - -DINTROSPECTION_ENABLED=0 \ -%endif -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \ - -DCMAKE_C_FLAGS:STRING="%optflags"; -make %{?_smp_mflags}; + -DCMAKE_C_FLAGS:STRING="%optflags" +make %{?_smp_mflags} %install -b="%buildroot"; -make install DESTDIR="$b"; +make install DESTDIR="%buildroot" %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig -%post data -update-mime-database %{_datadir}/mime || :; - -%postun data -update-mime-database %{_datadir}/mime || :; - %files -n %lname %defattr(-,root,root) -%_libdir/libmirage.so.9* +%_libdir/libmirage.so.10* %files %pname %defattr(-,root,root) -%_libdir/libmirage-2.1/ +%_libdir/libmirage-3.0/ %files data %defattr(-,root,root) @@ -169,17 +144,13 @@ update-mime-database %{_datadir}/mime || :; %files devel %defattr(-,root,root) -%_includedir/libmirage/ +%_includedir/libmirage-3.0/ %_libdir/libmirage.so %_libdir/pkgconfig/libmirage.pc -%if 0%{?suse_version} != 1210 %_datadir/gir-1.0 -%endif -%if 0%{?suse_version} != 1210 %files -n typelib-1_0-libmirage-%pname %defattr(-,root,root) %_libdir/girepository-1.0 -%endif %changelog