Author: arekm                        Date: Mon Apr  7 07:17:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   qt4-plugin-qca-pkcs11.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/qt4-plugin-qca-pkcs11.spec
diff -u /dev/null SPECS/qt4-plugin-qca-pkcs11.spec:1.1
--- /dev/null   Mon Apr  7 09:17:35 2008
+++ SPECS/qt4-plugin-qca-pkcs11.spec    Mon Apr  7 09:17:30 2008
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+%define                rname qca-pkcs11
+#
+%define        snap    beta2
+Summary:       Qt Cryptographic Architecture (QCA) PKCS#11 Plugin
+Summary(pl.UTF-8):     Wtyczka PKCS#11 dla Qt Cryptographic Architecture (QCA)
+Name:          qt4-plugin-%{rname}
+Version:       2.0.0
+Release:       0.%{snap}.1
+Epoch:         1
+License:       LGPL v2.1
+Group:         Libraries
+Source0:       
http://delta.affinix.com/download/qca/2.0/plugins/%{rname}-%{version}-%{snap}.tar.bz2
+# Source0-md5: 34fa5de399eea79781c988621277d657
+URL:           http://delta.affinix.com/qca/
+BuildRequires: libstdc++-devel
+BuildRequires: pkcs11-helper-devel
+BuildRequires: qca-devel >= 2.0.0
+BuildRequires: qt4-qmake >= 4.3.3-3
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _plugindir %{_libdir}/qt4/plugins/crypto
+
+# chrpath stripping fails
+%define                no_install_post_chrpath 1
+
+%description
+A plugin to provide PKCS#11 capability to programs that utilize the
+Qt Cryptographic Architecture (QCA).
+
+%description -l pl.UTF-8
+Wtyczka pozwalająca wykorzystać możliwości PKCS#11 w programach
+korzystających z Qt Cryptographic Architecture (QCA).
+
+%prep
+%setup -qn %{rname}-%{version}-%{snap}
+
+%build
+export QTDIR=%{_libdir}/qt4
+./configure
+
+qmake-qt4 %{rname}.pro \
+       QMAKE_CXX="%{__cxx}" \
+       QMAKE_LINK="%{__cxx}" \
+       QMAKE_CXXFLAGS_RELEASE="%{rpmcflags}" \
+       QMAKE_RPATH=
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_plugindir}/*.so
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-04-07 07:17:30  arekm
+- initial
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to