|
|
@ -1,26 +1,18 @@
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
%bcond_without qt4
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%bcond_with qt4
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: qtkeychain
|
|
|
|
Name: qtkeychain
|
|
|
|
Version: 0.11.1
|
|
|
|
Version: 0.13.2
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A password store library
|
|
|
|
Summary: A password store library
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
Url: https://github.com/frankosterfeld/qtkeychain
|
|
|
|
Url: https://github.com/frankosterfeld/qtkeychain
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
%if %{with qt4}
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(QtCore)
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(QtDBus)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
|
|
|
|
|
|
BuildRequires: qt-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The qtkeychain library allows you to store passwords easily and securely.
|
|
|
|
The qtkeychain library allows you to store passwords easily and securely.
|
|
|
@ -57,19 +49,8 @@ This package contains development files for qt5keychain.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with qt4}
|
|
|
|
|
|
|
|
mkdir %{_target_platform}-qt4
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%if %{with qt4}
|
|
|
|
|
|
|
|
%cmake -B %{_target_platform}-qt4 \
|
|
|
|
|
|
|
|
-DBUILD_WITH_QT4:BOOL=ON \
|
|
|
|
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%make_build -C %{_target_platform}-qt4
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%cmake \
|
|
|
|
%cmake \
|
|
|
|
-DBUILD_WITH_QT4:BOOL=OFF \
|
|
|
|
-DBUILD_WITH_QT4:BOOL=OFF \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
@ -77,34 +58,13 @@ mkdir %{_target_platform}-qt4
|
|
|
|
%cmake_build
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%if %{with qt4}
|
|
|
|
|
|
|
|
%make_install -C %{_target_platform}-qt4
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%cmake_install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
%find_lang %{name} --with-qt
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with qt4}
|
|
|
|
|
|
|
|
grep %{_datadir}/%{name}/translations %{name}.lang > %{name}-qt4.lang
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
grep %{_datadir}/qt5keychain/translations %{name}.lang > %{name}-qt5.lang
|
|
|
|
grep %{_datadir}/qt5keychain/translations %{name}.lang > %{name}-qt5.lang
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with qt4}
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files qt5 -f %{name}-qt5.lang
|
|
|
|
%files qt5 -f %{name}-qt5.lang
|
|
|
|
%doc ReadMe.txt
|
|
|
|
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libqt5keychain.so.1
|
|
|
|
%{_libdir}/libqt5keychain.so.1
|
|
|
|
%{_libdir}/libqt5keychain.so.0*
|
|
|
|
%{_libdir}/libqt5keychain.so.0*
|
|
|
@ -116,6 +76,9 @@ grep %{_datadir}/qt5keychain/translations %{name}.lang > %{name}-qt5.lang
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Aug 20 2022 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.13.2-1
|
|
|
|
|
|
|
|
- Update to 0.13.2
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|