Accepting request 195825 from network

- Full VoIP support was enabled.
- Spec was fixed up via spec-cleaner. (forwarded request 195622 from DarkSS)

OBS-URL: https://build.opensuse.org/request/show/195825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqxmpp?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2013-08-22 07:23:16 +00:00 committed by Git OBS Bridge
commit fa5538c39b
2 changed files with 28 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 19 17:07:28 UTC 2013 - dap.darkness@gmail.com
- Full VoIP support was enabled.
- Spec was fixed up via spec-cleaner.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 22 10:33:12 UTC 2013 - schwab@suse.de Fri Mar 22 10:33:12 UTC 2013 - schwab@suse.de

View File

@ -19,21 +19,25 @@
Name: libqxmpp Name: libqxmpp
Version: 0.7.6 Version: 0.7.6
Release: 0 Release: 0
Source0: https://qxmpp.googlecode.com/files/qxmpp-%{version}.tar.gz
Source1: baselibs.conf
Summary: Qt XMPP Library Summary: Qt XMPP Library
License: LGPL-2.0+ License: LGPL-2.0+
Group: System/Libraries Group: System/Libraries
Url: https://code.google.com/p/qxmpp/ Url: https://code.google.com/p/qxmpp/
Source0: https://qxmpp.googlecode.com/files/qxmpp-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libqt4-devel BuildRequires: libqt4-devel
BuildRequires: libtheora-devel
%if 0%{?suse_version} >= 1140
BuildRequires: libvpx-devel
%endif
BuildRequires: speex-devel BuildRequires: speex-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++. QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++.
QXmpp is pretty intuitive and easy to use. It uses Qt extensively. Qt is the only 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 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 C++ and Qt basics (Signals and Slots and Qt data types). The underlying TCP socket
@ -49,7 +53,7 @@ Obsoletes: libqxmpp-lc1 < %{version}
%description -n %{name}0 %description -n %{name}0
QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++. QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++.
QXmpp is pretty intuitive and easy to use. It uses Qt extensively. Qt is the only 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 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 C++ and Qt basics (Signals and Slots and Qt data types). The underlying TCP socket
@ -71,11 +75,11 @@ It's a development package for qxmpp.
QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++. QXmpp is a cross-platform C++ XMPP client library. It is based on Qt and C++.
%package doc %package doc
%if 0%{suse_version} > 1110
BuildArch: noarch
%endif
Summary: Qxmpp library documentation Summary: Qxmpp library documentation
Group: Documentation/HTML Group: Documentation/HTML
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%description doc %description doc
This packages provides documentation of Qxmpp library API. This packages provides documentation of Qxmpp library API.
@ -84,7 +88,17 @@ This packages provides documentation of Qxmpp library API.
%setup -q -n qxmpp-%{version} %setup -q -n qxmpp-%{version}
%build %build
qmake PREFIX=%{_prefix} LIBDIR=%{_lib} QMAKE_STRIP= QMAKE_CXXFLAGS+="%{optflags}" qmake \
PREFIX=%{_prefix} \
LIBDIR=%{_lib} \
QMAKE_STRIP="" \
QMAKE_CXXFLAGS+="%{optflags}" \
%if 0%{?suse_version} >= 1140
QXMPP_USE_VPX=1 \
%endif
QXMPP_USE_SPEEX=1 \
QXMPP_USE_THEORA=1
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install