Name: qxmpp-dev Version: 0.6.3.1 Release: 1%{?dist} License: LGPLv2+ Source0: https://github.com/downloads/0xd34df00d/qxmpp-dev/qxmpp-%{version}-extras.tar.bz2 # Removing old documentations Patch0: qxmpp-dev-htmldoc.patch # This patch's used for building the dynamic library Patch1: qxmpp-dev-dynamiclib.patch # name conflicts resolution Patch2: qxmpp-dev-rename.patch Group: Development/Libraries Summary: Qt XMPP Library URL: http://github.com/0xd34df00d/qxmpp-dev BuildRequires: qt4-devel BuildRequires: speex-devel %description QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++. This package's the fork of QXmpp for Leechcraft Internet Client QXmpp is pretty intuitive and easy to use. It uses Qt extensively. Qt is the only third party library it is dependent on. Users need to a have working knowledge of C++ and Qt basics (Signals and Slots and Qt data types). The underlying TCP socket and the XMPP RFCs (RFC3920 and RFC3921) have been encapsulated into classes and functions. Therefore the user would not be bothered with these details. But it is always recommended to the advanced users to read and enjoy the low level details. %package devel Summary: QXmpp-dev Development Files Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel It's a development package for qxmpp-dev. QXmpp-dev is a cross-platform C++ XMPP client library. It is based on Qt and C++. %prep %setup -qn qxmpp-%{version} %patch2 -p1 %patch0 -p1 %patch1 -p1 %build %{_qt4_qmake} PREFIX=%{_prefix} QMAKE_STRIP="" QMAKE_CXXFLAGS+="%{optflags}" make %{?_smp_mflags} %install %make_install INSTALL_ROOT=${RPM_BUILD_ROOT} %if "%{_lib}" == "lib64" %__mv ${RPM_BUILD_ROOT}/usr/{lib,lib64} %endif %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig %files %{_libdir}/libqxmpp-dev.so.0 %{_libdir}/libqxmpp-dev.so.0.6 %{_libdir}/libqxmpp-dev.so.0.6.3 %files devel %doc AUTHORS CHANGELOG LICENSE.LGPL README %{_libdir}/lib%{name}.so %{_includedir}/%{name} %{_libdir}/pkgconfig/%{name}.pc %changelog * Sat Aug 11 2012 Minh Ngo <nlminhtl@gmail.com> 0.6.3.1-1 - Updating to the new version - Changelog https://raw.github.com/0xd34df00d/qxmpp-dev/master/CHANGELOG * Thu Apr 26 2012 Minh Ngo <nlminhtl@gmail.com> 0.3.61-1 - XEP 0033 * Sat Mar 17 2012 Minh Ngo <nlminhtl@gmail.com> 0.3.47-1 - Synchronization with upstream - updating patches * Sun Mar 14 2012 Minh Ngo <nlminhtl@gmail.com> 0.3.45.2-1 - Synchronization with upstream * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.45.1-6 - Rebuilt for c++ ABI breakage * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.45.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jan 08 2012 Minh Ngo <nlminhtl@gmail.com> 0.3.45.1-4 - fixing summary/description in the devel package - adding a dependence for the devel package * Fri Nov 11 2011 Minh Ngo <nlminhtl@gmail.com> 0.3.45.1-3 - rename the lib to libqxmpp-dev * Tue Aug 02 2011 Minh Ngo <nlminhtl@gmail.com> 0.3.45.1-2 - dynamic libs * Mon Jul 25 2011 Minh Ngo <nlminhtl@gmail.com> 0.3.45.1-1 - new version * Mon Jun 06 2011 Minh Ngo <nlminhtl@gmail.com> 0.3.44-0.1.pre21062011 - initial build