b4fa4c2
Name:           disomaster
e186834
Version:        5.0.0
e186834
Release:        1%{?dist}
b4fa4c2
Summary:        Library to manipulate DISC burning
b4fa4c2
License:        GPLv3+
b4fa4c2
URL:            https://github.com/linuxdeepin/%{name}
b4fa4c2
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
b4fa4c2
BuildRequires:  gcc-c++
b4fa4c2
BuildRequires:  pkgconfig(Qt5Core)
b4fa4c2
BuildRequires:  libisoburn-devel
b4fa4c2
b4fa4c2
%description
b4fa4c2
This package provides a libisoburn wrapper class for Qt.
b4fa4c2
b4fa4c2
b4fa4c2
%package devel
b4fa4c2
Summary:        Development package for %{name}
b4fa4c2
Requires:       %{name}%{?_isa} = %{version}-%{release}
b4fa4c2
Requires:       qt5-qtbase-devel%{?isa}
b4fa4c2
Requires:       libisoburn-devel%{?isa}
b4fa4c2
b4fa4c2
%description devel
b4fa4c2
Header files and libraries for %{name}.
b4fa4c2
b4fa4c2
%prep
b4fa4c2
%setup -q
b4fa4c2
sed -i 's|/lib|/%{_lib}|' lib%{name}/lib%{name}.pro
b4fa4c2
b4fa4c2
%build
b4fa4c2
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
b4fa4c2
export PATH=%{_qt5_bindir}:$PATH
b4fa4c2
%qmake_qt5 PREFIX=%{_prefix}
b4fa4c2
%make_build
b4fa4c2
b4fa4c2
%install
b4fa4c2
%make_install INSTALL_ROOT=%{buildroot}
b4fa4c2
b4fa4c2
%files
b4fa4c2
%doc README.md
b4fa4c2
%license LICENSE
b4fa4c2
%{_libdir}/lib%{name}.so.1*
b4fa4c2
b4fa4c2
%files devel
b4fa4c2
%{_includedir}/%{name}
b4fa4c2
%{_libdir}/lib%{name}.so
b4fa4c2
%{_libdir}/pkgconfig/%{name}.pc
b4fa4c2
b4fa4c2
%changelog
e186834
* Mon Aug 05 2019 Robin Lee <cheeselee@fedoraproject.org> - 5.0.0-1
e186834
- Release 5.0.0
e186834
a193545
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
a193545
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a193545
b4fa4c2
* Fri Jul 19 2019 Robin Lee <cheeselee@fedoraproject.org> - 0.2.0-1
b4fa4c2
- Initial packaging