Name: udisks2-qt5 Version: 5.0.3 Release: 1%{?dist} Summary: Qt5 binding for udisks2 License: GPLv3+ URL: https://github.com/linuxdeepin/udisks2-qt5 Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5Core) %description This package provides a Qt5 binding for udisks2. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel%{?isa} %description devel Header files and libraries for %{name}. %prep %setup -q sed -i 's|/lib|/%{_lib}|' udisks2.pro %build # help find (and prefer) qt5 utilities, e.g. qmake, lrelease export PATH=%{_qt5_bindir}:$PATH %qmake_qt5 PREFIX=%{_prefix} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %files %doc CHANGELOG.md %{_libdir}/lib%{name}.so.0* %files devel %{_includedir}/%{name} %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %changelog * Fri Jan 31 2020 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 05 2019 Robin Lee - 5.0.0-1 - Release 5.0.0 * Sat Jul 27 2019 Fedora Release Engineering - 0.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Apr 4 2019 Robin Lee - 0.0.1-1 - Initial packaging