1
0
forked from pool/libmirage

Add patch: proper-versioning-of-the-introspection-typelib

OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=23
This commit is contained in:
2013-06-10 12:06:23 +00:00
committed by Git OBS Bridge
parent bfaeab7ed9
commit fb1cf1fe13
3 changed files with 32 additions and 3 deletions

View File

@@ -30,6 +30,7 @@ Url: http://cdemu.sf.net/
#Git-Clone: git://git.code.sf.net/p/cdemu/code
#DL-URL: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
Source: http://downloads.sf.net/cdemu/%name-%version.tar.xz
Patch1: 0001-libMirage-proper-versioning-of-the-introspection-typ.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.5
BuildRequires: pkgconfig >= 0.16
@@ -116,11 +117,11 @@ file.
This package contains the MIME type definitions and documentation.
%package -n typelib-1_0-libmirage-2_0
%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-2_0
%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.
@@ -129,6 +130,7 @@ This package provides the GObject Introspection bindings for libmirage.
%prep
%setup -q
%patch -P 1 -p2
%build
# gir is busted on 12.1
@@ -176,7 +178,7 @@ update-mime-database %{_datadir}/mime || :;
%endif
%if 0%{?suse_version} != 1210
%files -n typelib-1_0-libmirage-2_0
%files -n typelib-1_0-libmirage-%pname
%defattr(-,root,root)
%_libdir/girepository-1.0
%endif