]> git.pld-linux.org Git - packages/QtKeychain.git/blobdiff - QtKeychain.spec
drop qt*-build, and qt*-qmake from -devel deps
[packages/QtKeychain.git] / QtKeychain.spec
index d576520f4b3a08d1af1ba86592d409c81e14c9ba..46b8ab3de4d57ea6d2a8975d866eaf1ab91150e2 100644 (file)
@@ -5,25 +5,26 @@
 
 Summary:       Qt API to store passwords and other secret data securely
 Name:          QtKeychain
-Version:       0.3.0
-Release:       1
+Version:       0.4.0
+Release:       2
 License:       Modified BSD License
 Group:         Libraries
-# Repackaged from https://github.com/frankosterfeld/qtkeychain/archive/master.zip
-Source0:       %{name}-%{version}.tar.bz2
-# Source0-md5: a9de9be0cae568c03b152009d24ff170
+Source0:       https://github.com/frankosterfeld/qtkeychain/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: e4e48d8742a9fd2664425d58be236424
 URL:           https://github.com/frankosterfeld/qtkeychain
 BuildRequires: cmake
-BuildRequires: gettext-tools
 BuildRequires: libstdc++-devel
+BuildRequires: rpmbuild(find_lang) >= 1.37
 %if %{with qt4}
 BuildRequires: QtCore-devel
+BuildRequires: QtDBus-devel
 BuildRequires: qt4-build
 BuildRequires: qt4-linguist
 BuildRequires: qt4-qmake
 %endif
 %if %{with qt5}
 BuildRequires: Qt5Core-devel
+BuildRequires: Qt5DBus-devel
 BuildRequires: qt5-build
 BuildRequires: qt5-linguist
 BuildRequires: qt5-qmake
@@ -44,8 +45,6 @@ How the data is stored depends on the platform:
 Summary:       Development files for QtKeychain
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      qt4-build
-Requires:      qt4-qmake
 
 %description devel
 This package contains libraries and header files for developing
@@ -54,8 +53,6 @@ applications that use QKeychain.
 %package -n Qt5Keychain
 Summary:       Qt API to store passwords and other secret data securely
 Group:         Libraries
-Requires:      qt5-build
-Requires:      qt5-qmake
 
 %description -n Qt5Keychain
 QtKeychain a Qt API to store passwords and other secret data securely.
@@ -71,15 +68,13 @@ How the data is stored depends on the platform:
 Summary:       Development files for QtKeychain
 Group:         Development/Libraries
 Requires:      Qt5Keychain = %{version}-%{release}
-Requires:      qt5-build
-Requires:      qt5-qmake
 
 %description -n Qt5Keychain-devel
 This package contains libraries and header files for developing
 applications that use QKeychain.
 
 %prep
-%setup -q
+%setup -q -n qtkeychain-%{version}
 
 %build
 %if %{with qt4}
This page took 0.115201 seconds and 4 git commands to generate.