SPECS: qt4-plugin-qca-cyrus-sasl.spec (NEW) - initial

arekm arekm at pld-linux.org
Mon Apr 7 09:12:02 CEST 2008


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

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

---- Diffs:

================================================================
Index: SPECS/qt4-plugin-qca-cyrus-sasl.spec
diff -u /dev/null SPECS/qt4-plugin-qca-cyrus-sasl.spec:1.1
--- /dev/null	Mon Apr  7 09:12:02 2008
+++ SPECS/qt4-plugin-qca-cyrus-sasl.spec	Mon Apr  7 09:11:56 2008
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+%define		rname qca-cyrus-sasl
+#
+%define	snap	beta3
+Summary:	Qt Cryptographic Architecture (QCA) Cyrus SASL Plugin
+Summary(pl.UTF-8):	Wtyczka Cyrus SASL 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:	db51df751478f60416659809e11990fd
+URL:		http://delta.affinix.com/qca/
+BuildRequires:	cyrus-sasl-devel >= 0.9.7d
+BuildRequires:	libstdc++-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 Cyrus SASL capability to programs that utilize the
+Qt Cryptographic Architecture (QCA).
+
+%description -l pl.UTF-8
+Wtyczka pozwalająca wykorzystać możliwości Cyrus SASL 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 <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-04-07 07:11:56  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list