%global vermm %%(echo %{version} | cut -d. -f-2) Name: libmirage Version: 3.2.7 Release: 100%{?dist} Summary: A CD/DVD-ROM image access library Epoch: 1 License: GPL-2.0-or-later URL: https://cdemu.sourceforge.io/ Source0: https://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: make BuildRequires: gcc BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(zlib) BuildRequires: gtk-doc BuildRequires: intltool BuildRequires: shared-mime-info Requires: shared-mime-info %description The libMirage library is a CD/DVD-ROM image access library - it aims to provide abstraction of data stored in various optical disc image formats. It is part of CDEmu, a CD/DVD-ROM device emulator for Linux. %package devel Summary: A CD/DVD-ROM image access library Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: gtk-doc %description devel The libMirage library is a CD/DVD-ROM image access library - it aims to provide abstraction of data stored in various optical disc image formats. It is part of CDEmu, a CD/DVD-ROM device emulator for Linux. This package contains files needed to develop with libMirage. %prep %autosetup %build %cmake \ -DPOST_INSTALL_HOOKS:BOOL=OFF \ %{nil} %cmake_build %install %cmake_install %find_lang %{name} %files -f %{name}.lang %license COPYING %doc AUTHORS README ChangeLog %{_libdir}/libmirage.so.* %dir %{_libdir}/libmirage-%{vermm} %{_libdir}/libmirage-%{vermm}/*.so %{_datadir}/mime/packages/* %{_libdir}/girepository-1.0/* %{_datadir}/gir-1.0/* %files devel %{_libdir}/lib*.so %{_includedir}/* %{_libdir}/pkgconfig/* %doc %{_datadir}/gtk-doc/html/* %changelog * Sat Feb 17 2024 Phantom X - 1:3.2.7-100 - 3.2.7 * Sun Dec 19 2021 Phantom X - 1:3.2.6-100 - 3.2.6 * Tue Apr 20 2021 Phantom X - 1:3.2.5-100 - 3.2.5 * Wed Mar 18 2020 Phantom X - 1:3.2.4-101 - Fix build with gcc 10 * Mon Feb 24 2020 Phantom X - 1:3.2.4-100 - 3.2.4 * Tue Aug 27 2019 Phantom X - 1:3.2.3-100 - 3.2.3 * Mon Mar 18 2019 Phantom X - 3.2.2-100 - 3.2.2 * Sun Mar 03 2019 Phantom X - 3.2.1-1 - 3.2.1 * Tue Jul 10 2018 Phantom X - 3.2.0-100.chinfo - 3.2.0 * Fri Oct 06 2017 Phantom X - 3.1.0-100.chinfo - chinforpms release * Sat Jun 10 2017 Rok Mandeljc - 3.1.0-1 - Updated to 3.1.0 * Sun Oct 9 2016 Rok Mandeljc - 3.0.5-1 - Updated to 3.0.5 * Sat Apr 23 2016 Rok Mandeljc - 3.0.4-2 - Fixed rpmlint errors and warnings * Sat Nov 21 2015 Rok Mandeljc - 3.0.4-1 - Updated to 3.0.4 - Updated mime scripts * Sun Nov 9 2014 Rok Mandeljc - 3.0.3-1 - Updated to 3.0.3 * Sun Sep 28 2014 Rok Mandeljc - 3.0.2-1 - Updated to 3.0.2 * Fri Jul 25 2014 Rok Mandeljc - 3.0.1-1 - Updated to 3.0.1 * Sun Jun 29 2014 Rok Mandeljc - 3.0.0-1 - Updated to 3.0.0 * Thu Sep 19 2013 Rok Mandeljc - 2.1.1-1 - Updated to 2.1.1 * Fri Jun 7 2013 Rok Mandeljc - 2.1.0-1 - Updated to 2.1.0 * Mon Dec 24 2012 Rok Mandeljc - 2.0.0-1 - RPM release for new version