Accepting request 195622 from home:DarkSS

- Full VoIP support was enabled.
- Spec was fixed up via spec-cleaner.

OBS-URL: https://build.opensuse.org/request/show/195622
OBS-URL: https://build.opensuse.org/package/show/network/libqxmpp?expand=0&rev=9
This commit is contained in:
Andrey Karepin 2013-08-21 15:34:14 +00:00 committed by Git OBS Bridge
parent 56afa4cba8
commit adebeec7ea
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,14 +19,18 @@
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
@ -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