Name: qtkeychain Version: 0.9.1 Release: 4%{?dist} Summary: A password store library License: BSD Url: https://github.com/frankosterfeld/qtkeychain Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz # https://github.com/frankosterfeld/qtkeychain/pull/144 Patch0: 0001-Convert-QStringLiteral-to-QLatin1String-to-keep-comp.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: pkgconfig(QtCore) BuildRequires: pkgconfig(QtDBus) BuildRequires: pkgconfig(libsecret-1) %description The qtkeychain library allows you to store passwords easily and securely. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: pkgconfig(QtDBus) # deps referenced in QtKeychainLibraryDepends-relwithdebinfo.cmake: IMPORTED_LINK_INTERFACE_LIBRARIES_RELWITHDEBINFO "/usr/lib64/libQtCore.so;secret-1;gio-2.0;gobject-2.0;glib-2.0;/usr/lib64/libQtDBus.so" # *probably* overlinking and can be pruned, but requires closer inspection Requires: pkgconfig(libsecret-1) %description devel This package contains development files for qtkeychain. %package qt5 Summary: %{summary} %description qt5 The qt5keychain library allows you to store passwords easily and securely. %package qt5-devel Summary: Development files for %{name}-qt5 BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5LinguistTools) Requires: %{name}-qt5%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: qt5-qtbase-devel%{?_isa} # deps referenced in Qt5KeychainLibraryDepends-relwithdebinfo.cmake: IMPORTED_LINK_INTERFACE_LIBRARIES_RELWITHDEBINFO "Qt5::Core;secret-1;gio-2.0;gobject-2.0;glib-2.0;Qt5::DBus" # *probably* overlinking and can be pruned, but requires closer inspection Requires: pkgconfig(libsecret-1) %description qt5-devel This package contains development files for qt5keychain. %prep %autosetup -p1 mkdir %{_target_platform}-qt4 mkdir %{_target_platform}-qt5 %build pushd %{_target_platform}-qt4 %cmake .. \ -DBUILD_WITH_QT4:BOOL=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo popd pushd %{_target_platform}-qt5 %cmake .. \ -DBUILD_WITH_QT4:BOOL=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo popd %make_build -C %{_target_platform}-qt4 %make_build -C %{_target_platform}-qt5 %install %make_install -C %{_target_platform}-qt4 %make_install -C %{_target_platform}-qt5 %find_lang %{name} --with-qt grep %{_qt4_translationdir} %{name}.lang > %{name}-qt4.lang grep %{_qt5_translationdir} %{name}.lang > %{name}-qt5.lang %files -f %{name}-qt4.lang %doc ReadMe.txt %license COPYING %{_libdir}/libqtkeychain.so.1 %{_libdir}/libqtkeychain.so.0* %files devel %{_includedir}/qtkeychain/ %{_libdir}/cmake/QtKeychain/ %{_libdir}/libqtkeychain.so %{_libdir}/qt5/mkspecs/modules/qt_QtKeychain.pri %files qt5 -f %{name}-qt5.lang %doc ReadMe.txt %license COPYING %{_libdir}/libqt5keychain.so.1 %{_libdir}/libqt5keychain.so.0* %files qt5-devel %{_includedir}/qt5keychain/ %{_libdir}/cmake/Qt5Keychain/ %{_libdir}/libqt5keychain.so %{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri %changelog * Thu Jan 30 2020 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 31 2019 Rex Dieter - 0.9.1-3 - -devel: +Requires: pkgconfig(libsecret-1) * Fri Jul 26 2019 Fedora Release Engineering - 0.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 28 2019 Robert-André Mauchin - 0.9.1-1 - Release 0.9.1 (#1601122, #1481589) * Sat Feb 02 2019 Fedora Release Engineering - 0.7.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sat Jul 23 2016 Igor Gnatenko - 0.7.0-2 - Fix packaging problems * Mon May 23 2016 nikos roussos 0.7.0-1 - update to 0.7.0 * Sun May 22 2016 Nikos Roussos 0.6.2-2 - Bump release * Thu Apr 28 2016 Nikos Roussos 0.6.2-1 - update to 0.6.2 * Thu Feb 04 2016 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Sep 29 2015 Rex Dieter 0.5.0-1 - qtkeychain-0.5.0 (#1136285), enable Qt5 support * Thu Jun 18 2015 Fedora Release Engineering - 0.3.90-6.20140405git - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.3.90-5.20140405git - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.3.90-4.20140405git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 0.3.90-3.20140405git - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 06 2014 Rex Dieter 0.3.90-2.20140405git - track libqtkeychain soname - use %%find_lang - omit dup'd cmake defines * Sun May 04 2014 0.3.90-1 - Update to latest github commit. * Sun Mar 16 2014 0.3.0-1 - Update to latest upstream version * Tue Jan 07 2014 0.1.0-4.20130805git - Remove gcc-c++ dep - Fix Requires - Remove unneeded line in devel description - Leave black line between changelogs * Sat Jan 04 2014 0.1.0-3.20130805git - Fix Version and Release - Fix %%files devel's cmake ownership by pointing the subfiles - Fix Changelog to reflect version and release changes * Tue Dec 24 2013 0.1.0-2.20130805git - Fix descriptions * Mon Dec 23 2013 0.1.0-1.20130805git - Initial Packaging