Browse Source

update: qca2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2612 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 14 years ago
parent
commit
c6919da34b
1 changed files with 11 additions and 7 deletions
  1. 11 7
      q/qca2/qca2-vl.spec

+ 11 - 7
q/qca2/qca2-vl.spec

@@ -1,9 +1,11 @@
-%define qt4_ver 4.6.3
+%define qt4_ver 4.7.1
+%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
+%define _qt4_prefix %(pkg-config --variable prefix --silence-errors Qt 2>/dev/null || echo %{_libdir}/qt-%{qt4_ver})
 
 Name:           qca2
 Summary:        Qt Cryptographic Architecture
-Version:        2.0.2
-Release:        8%{?_dist_release}
+Version:        2.0.3
+Release:        1%{?_dist_release}
 
 Group:          System Environment/Libraries
 License:        LGPLv2+
@@ -11,11 +13,9 @@ URL:            http://delta.affinix.com/qca
 Source0:        http://delta.affinix.com/download/qca/2.0/qca-%{version}.tar.bz2
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
-BuildRequires:  qt4-devel = %{qt4_ver}
+BuildRequires:  qt4-devel >= 4.2
 BuildRequires:  pkgconfig
 
-%define _qt4_version %(pkg-config --modversion --silence-errors Qt 2>/dev/null || echo %{qt4_ver})
-
 %description
 Taking a hint from the similarly-named Java Cryptography Architecture,
 QCA aims to provide a straightforward and cross-platform crypto API,
@@ -79,10 +79,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/qca2.pc
 %{_libdir}/libqca.prl
-%{_libdir}/qt-%{_qt4_version}/mkspecs/features/crypto.prf
+%{_qt4_prefix}/mkspecs/features/crypto.prf
 
 
 %changelog
+* Sun Jan 30 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-1
+- new upstream release
+- built with qt-4.7.1
+
 * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-8
 - rebuilt with rpm-4.8.1