Jan Engelhardt 2012-12-22 13:45:28 +00:00 committed by Git OBS Bridge
parent 9b22c1de79
commit 944ae798e3
4 changed files with 64 additions and 25 deletions

View File

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

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

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Dec 22 08:23:15 UTC 2012 - jengelh@inai.de
- Update to new upstream release 2.0.0 (up from 1.5.0)
* Added ISZ, CSO and DMG file filters
* Converted DAA parser to a file filter and added support for the
related GBI format
* Converted audio fragment to a file filter
* Added file filter machinery and converted existing code to use it
* Image analyzer displays disc structures
* Added support for gobject introspection
* Added support for GZIP and XZ compressed images
* Added support for ECM'ed files
* Improved CIF parser
* Partial support for (one track) MDX images
* Improved GVFS support
-------------------------------------------------------------------
Mon May 21 17:33:17 UTC 2012 - jengelh@inai.de

View File

@ -17,28 +17,30 @@
Name: libmirage
%define lname libmirage6
%define pname 1_5
%define lname libmirage7_0_0
%define pname 2_0
Summary: A CD-ROM image access library
License: GPL-2.0+
Group: Development/Libraries/C and C++
Version: 1.5.0
Version: 2.0.0
Release: 0
Url: http://cdemu.sf.net/
#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: autoconf >= 2.59, automake
BuildRequires: gtk-doc >= 1.4
BuildRequires: libtool
BuildRequires: cmake
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0) >= 2.6
BuildRequires: pkgconfig(gmodule-2.0) >= 2.6
BuildRequires: pkgconfig(gobject-2.0) >= 2.6
BuildRequires: pkgconfig(glib-2.0) >= 2.28
BuildRequires: pkgconfig(gmodule-2.0) >= 2.28
BuildRequires: pkgconfig(gobject-2.0) >= 2.28
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.30.0
BuildRequires: pkgconfig(gtk-doc) >= 1.4
BuildRequires: pkgconfig(liblzma) >= 5.0.0
BuildRequires: pkgconfig(sndfile) >= 1.0.0
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(zlib) >= 1.2.0
%description
A CD-ROM image access library part of the cdemu suite.
@ -47,25 +49,29 @@ libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
%package -n libmirage6
%package -n %lname
Summary: A CD-ROM image access library
Group: System/Libraries
# Technically Suggests:, but pretty useless without
Requires: libmirage-1_5 >= 1.5
Requires: libmirage-2_0 >= 2.0
%description -n libmirage6
%description -n %lname
A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
%package 1_5
%package 2_0
Summary: CD-ROM image format plugins for libmirage
Group: System/Libraries
%if 0%{?suse_version}
Recommends: libmirage-data
%else
Requires: libmirage-data
%endif
%description 1_5
%description 2_0
A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different
@ -104,17 +110,28 @@ file.
This package contains the MIME type definitions and documentation.
%package -n typelib-1_0-libmirage-2_0
Summary: The libmirage CD-ROM image access library - introspection bindings
Group: System/Libraries
%description -n typelib-1_0-libmirage-2_0
libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image
file.
This package provides the GObject Introspection bindings for libmirage.
%prep
%setup -q
%setup -Tcqa0
%build
%configure --disable-static --enable-gtk-doc
cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DCMAKE_C_FLAGS="%optflags" ;
make %{?_smp_mflags};
%install
b="%buildroot";
make install DESTDIR="$b";
find "$b/%_libdir" -type f -name "*.la" -delete;
%post -n %lname -p /sbin/ldconfig
@ -126,13 +143,13 @@ update-mime-database %{_datadir}/mime || :;
%postun data
update-mime-database %{_datadir}/mime || :;
%files -n libmirage6
%files -n %lname
%defattr(-,root,root)
%_libdir/libmirage.so.6*
%_libdir/libmirage.so.*
%files 1_5
%files 2_0
%defattr(-,root,root)
%_libdir/libmirage-1.5
%_libdir/libmirage-2.0
%files data
%defattr(-,root,root)
@ -144,5 +161,10 @@ update-mime-database %{_datadir}/mime || :;
%_includedir/libmirage
%_libdir/libmirage.so
%_libdir/pkgconfig/libmirage.pc
%_datadir/gir-1.0
%files -n typelib-1_0-libmirage-2_0
%defattr(-,root,root)
%_libdir/girepository-1.0
%changelog