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
- 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

View File

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