| |
@@ -1,11 +1,6 @@
|
| |
- %if 0%{?fedora}
|
| |
- %bcond_without qt4
|
| |
- %else
|
| |
- %bcond_with qt4
|
| |
- %endif
|
| |
|
| |
Name: qtkeychain
|
| |
- Version: 0.11.1
|
| |
+ Version: 0.12.0
|
| |
Release: 1%{?dist}
|
| |
Summary: A password store library
|
| |
|
| |
@@ -15,10 +10,6 @@
|
| |
|
| |
BuildRequires: gcc-c++
|
| |
BuildRequires: cmake
|
| |
- %if %{with qt4}
|
| |
- BuildRequires: pkgconfig(QtCore)
|
| |
- BuildRequires: pkgconfig(QtDBus)
|
| |
- %endif
|
| |
BuildRequires: pkgconfig(libsecret-1)
|
| |
|
| |
%description
|
| |
@@ -37,6 +28,9 @@
|
| |
%package qt5
|
| |
Summary: %{summary}
|
| |
|
| |
+ Provides: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
+ Obsoletes: %{name} < %{?epoch:%{epoch}:}%{version}-%{release}
|
| |
+
|
| |
%description qt5
|
| |
The qt5keychain library allows you to store passwords easily and securely.
|
| |
|
| |
@@ -56,19 +50,8 @@
|
| |
%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
|
| |
@@ -76,34 +59,14 @@
|
| |
%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*
|
| |
@@ -115,6 +78,10 @@
|
| |
%{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri
|
| |
|
| |
%changelog
|
| |
+ * Tue Dec 22 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.12.0-1
|
| |
+ - Update to 0.12.0
|
| |
+ - Drop all qt4 bits - no longer supported
|
| |
+
|
| |
* Tue Sep 08 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.11.1-1
|
| |
- Update to 0.11.1
|
| |
|
| |
Release 0.12.0 drops qt4 support. I have removed all qt4 bits from the package but I am not sure if I should add provides/obsoletes.
@tdawson Can you take a look? Thanks.