%global qt_module qtconfiguration Summary: Qt5 - QtConfiguration module Name: qt5-%{qt_module} Version: 0.3.1 Release: 3%{?dist} # See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details License: LGPLv2 with exceptions or GPLv3 with exceptions URL: https://github.com/mauios/qtconfiguration Source0: http://downloads.sourceforge.net/project/mauios/hawaii/%{qt_module}/%{qt_module}-%{version}.tar.gz BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(dconf) BuildRequires: cmake %{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}} %description Settings API with change notifications. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel%{?_isa} %description devel %{summary}. %prep %setup -q -n %{qt_module}-%{version} %build %cmake . make %{?_smp_mflags} LINK='g++ -Wl,--as-needed' %install make install DESTDIR=$RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_libdir}/libqtconfiguration.so.0* %{_libdir}/hawaii %doc LICENSE.FDL %doc LICENSE.GPL %doc LICENSE.LGPL %doc README.md %files devel %{_includedir}/QtConfiguration/ %{_libdir}/libqtconfiguration.so %{_libdir}/cmake/QtConfiguration/ %changelog * Sat Feb 11 2017 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Sep 25 2015 Pier Luigi Fiorini - 0.3.1-1 * Update to latest version * Thu Jun 18 2015 Fedora Release Engineering - 0.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.3.0-3 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 15 2014 Lubomir Rintel - 0.3.0-1 - Update to latest version * Sun Jun 08 2014 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Nov 17 2013 Pier Luigi Fiorini - 0.2.1-1 - Upstream switched from qmake to cmake - Update to latest version * Tue Sep 24 2013 Lubomir Rintel - 0.1.0-3 - Get rid of extra library links (Christopher Meng, #1011501) - Drop irrelevant license file (Christopher Meng, #1011501) * Tue Sep 24 2013 Lubomir Rintel - 0.1.0-2 - Incorporate some review fixes (Christopher Meng, #1011501) * Thu Sep 12 2013 Lubomir Rintel - 0.1.0-1 - Initial packaging