1
0
forked from pool/libmirage

Restore style and metadata fields, and add a changelog entry

OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=29
This commit is contained in:
Jan Engelhardt 2014-07-14 11:32:06 +00:00 committed by Git OBS Bridge
parent 1f576592c4
commit 02ccec71a7
2 changed files with 31 additions and 26 deletions

View File

@ -1,7 +1,12 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru
- Update to 3.0.0 - 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 Sun Nov 24 11:18:45 UTC 2013 - jengelh@inai.de

View File

@ -24,12 +24,12 @@ License: GPL-2.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Version: 3.0.0 Version: 3.0.0
Release: 0 Release: 0
Url: http://cdemu.sourceforge.net/about/libmirage/ Url: http://cdemu.sf.net/about/libmirage/
Source: %{name}-%{version}.tar.bz2 #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: cmake >= 2.8.5
BuildRequires: pkgconfig >= 0.16 BuildRequires: pkgconfig >= 0.16
BuildRequires: xz
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
@ -48,25 +48,25 @@ libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image image formats by creating a representation of disc stored in image
file. file.
%package -n %{lname} %package -n %lname
Summary: A CD-ROM image access library Summary: A CD-ROM image access library
Group: System/Libraries Group: System/Libraries
# Technically Suggests:, but pretty useless without # Technically Suggests:, but pretty useless without
Requires: libmirage-%{pname} >= %{version} Requires: libmirage-%pname >= %version
%description -n %{lname} %description -n %lname
A CD-ROM image access library part of the cdemu suite. A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image image formats by creating a representation of disc stored in image
file. file.
%package %{pname} %package %pname
Summary: CD-ROM image format plugins for libmirage Summary: CD-ROM image format plugins for libmirage
Group: System/Libraries Group: System/Libraries
Recommends: libmirage-data Recommends: libmirage-data
%description %{pname} %description %pname
A CD-ROM image access library part of the cdemu suite. A CD-ROM image access library part of the cdemu suite.
libmirage provides uniform access to the data stored in different libmirage provides uniform access to the data stored in different
@ -78,7 +78,7 @@ This package provides the image format plugins for libmirage.
%package devel %package devel
Summary: Development files for libmirage, a CD-ROM image access library Summary: Development files for libmirage, a CD-ROM image access library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %lname = %version
%description devel %description devel
A CD-ROM image access library part of the cdemu suite. A CD-ROM image access library part of the cdemu suite.
@ -103,11 +103,11 @@ 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
libmirage provides uniform access to the data stored in different libmirage provides uniform access to the data stored in different
image formats by creating a representation of disc stored in image image formats by creating a representation of disc stored in image
file. file.
@ -119,38 +119,38 @@ This package provides the GObject Introspection bindings for libmirage.
%build %build
cmake . \ cmake . \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DCMAKE_C_FLAGS:STRING="%{optflags}" -DCMAKE_C_FLAGS:STRING="%optflags"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR="%buildroot"
%post -n %{lname} -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libmirage.so.10* %_libdir/libmirage.so.10*
%files %pname %files %pname
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libmirage-3.0/ %_libdir/libmirage-3.0/
%files data %files data
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/gtk-doc/ %_datadir/gtk-doc/
%{_datadir}/mime/packages/* %_datadir/mime/packages/*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/libmirage-3.0/ %_includedir/libmirage-3.0/
%{_libdir}/libmirage.so %_libdir/libmirage.so
%{_libdir}/pkgconfig/libmirage.pc %_libdir/pkgconfig/libmirage.pc
%{_datadir}/gir-1.0 %_datadir/gir-1.0
%files -n typelib-1_0-libmirage-%pname %files -n typelib-1_0-libmirage-%pname
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/girepository-1.0 %_libdir/girepository-1.0
%changelog %changelog