]> git.pld-linux.org Git - packages/QtKeychain.git/commitdiff
ensure qt4 version is built, package lang; rel 1
authorElan Ruusamäe <glen@delfi.ee>
Sat, 7 Feb 2015 14:44:51 +0000 (16:44 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 7 Feb 2015 14:44:56 +0000 (16:44 +0200)
QtKeychain.spec

index 6e97e4001a58c22461b0877cb2ae937cb50463a8..576d287bca3e86e5b2efa99699b3fd87e41836c2 100644 (file)
@@ -1,7 +1,9 @@
+# TODO
+# - qt5 version
 Summary:       Qt API to store passwords and other secret data securely
 Name:          QtKeychain
 Version:       0.3.0
-Release:       0.1
+Release:       1
 License:       Modified BSD License
 Group:         Libraries
 # Repackaged from https://github.com/frankosterfeld/qtkeychain/archive/master.zip
@@ -15,10 +17,9 @@ BuildRequires:       qt4-linguist
 BuildRequires: qt4-qmake
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _qt4_datadir    %{_datadir}/qt4
-
 %description
 QtKeychain a Qt API to store passwords and other secret data securely.
+
 How the data is stored depends on the platform:
 - Mac OS X: Passwords are stored in the OS X Keychain.
 - Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain
@@ -44,7 +45,8 @@ applications that use QKeychain.
 install -d build
 cd build
 %cmake \
-               ..
+       -DBUILD_WITH_QT4=ON \
+       ..
 %{__make}
 
 %install
@@ -52,13 +54,15 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang qtkeychain --with-qm
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%files
+%files -f qtkeychain.lang
 %defattr(644,root,root,755)
 %doc COPYING ReadMe.txt ChangeLog
 %attr(755,root,root) %{_libdir}/libqtkeychain.so.*.*.*
@@ -66,7 +70,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-#%doc doc examples
 %dir %{_includedir}/qtkeychain
 %{_includedir}/qtkeychain/keychain.h
 %{_includedir}/qtkeychain/qkeychain_export.h
This page took 0.118941 seconds and 4 git commands to generate.