Update to 0.13.2

epel9
Mukundan Ragavan 2 years ago
parent 533b588734
commit 9a69fef1cb

1
.gitignore vendored

@ -8,3 +8,4 @@
/qtkeychain-0.9.1.tar.gz
/qtkeychain-0.10.0.tar.gz
/qtkeychain-0.11.1.tar.gz
/qtkeychain-0.13.2.tar.gz

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

@ -1 +1 @@
SHA512 (qtkeychain-0.11.1.tar.gz) = 45551003000b8ed76d44767c54d18dcbb956d5aeb63d8bf2f0fc06c61eab4d7d2e70b894e9c0729722dfcb5004f818f4f4c9a413444fc2aebe0271f104b500e6
SHA512 (qtkeychain-0.13.2.tar.gz) = 10f8b1c959a126ba14614b797ea5640404a0b95c71e452225c74856eae90e966aac581ca393508a2106033c3d5ad70427ea6f7ef3f2997eddf6d09a7b4fa26eb

Loading…
Cancel
Save