This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
qutecom/qutecom.spec

112 lines
3.3 KiB
RPMSpec

Name: qutecom
Version: 2.2.1
Release: 1mamba
Summary: A SIP-compliant VoIP client offering free calling to other softphones.
Group: Graphical Desktop/Applications/Communications
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://trac.qutecom.org
Source: http://downloads.sourceforge.net/project/qutecom.mirror/qutecom-%{version}.tar.gz
Patch0: qutecom-2.2.1-libboost-1.50.patch
Patch1: qutecom-2.2.1-ffmpeg-2.2.2.patch
Patch2: qutecom-2.2.1-new-videodev.patch
Patch3: qutecom-2.2.1-libboost-link.patch
Patch4: qutecom-2.2.1-phapi-ffmpeg-2.2.patch
Patch5: qutecom-2.2.1-ffmpeg-2.2-no_CODEC_FLAG_QP_RD.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXpm-devel
BuildRequires: libXv-devel
BuildRequires: libalsa-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libavutil-ffmpeg-devel
BuildRequires: libboost-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libopenssl-devel
BuildRequires: libqt4-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libspeex-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
QuteCom (previously called OpenWengo) is a SIP-compliant voice-over-IP client that allows you to speak to other users of SIP-compliant softphones at no cost. It also allows users to call landlines and cell phones, send SMS text, and make video calls, and is compatible with any SIP provider.
%debug_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p0
%patch4 -p1
%patch5 -p1
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
chmod 755 %{buildroot}%{_libdir}/pm-utils/sleep.d/70QuteCom
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%posttrans
if [ $1 -ge 1 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database %{_datadir}/mime >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/qutecom
%{_libdir}/pm-utils/sleep.d/70QuteCom
%{_libdir}/qutecom/liblibpurple.so
%{_libdir}/qutecom/libowbase.so
%{_libdir}/qutecom/libowsl.so
%{_libdir}/qutecom/libowutil.so
%{_libdir}/qutecom/libphapi.so
%{_libdir}/qutecom/libphapiutil.so
%{_libdir}/qutecom/libphspeexplugin.so
%{_libdir}/qutecom/libpsiidle.so
%{_libdir}/qutecom/libsfp-plugin.so
%{_libdir}/qutecom/libwebcam.so
%{_datadir}/applications/qutecom.desktop
%{_datadir}/icons/hicolor/*/apps/qutecom.png
%dir %{_datadir}/qutecom
%{_datadir}/qutecom/*
%doc COPYING
%changelog
* Mon May 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- package created using the webbuild interface