Group :: Networking/Instant messaging
RPM: qtox
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_with ffmpeg
Name: qtox
Version: 1.16.3
Release: alt2
Summary: Powerful Tox client that follows the Tox design guidelines
License: GPL+
Group: Networking/Instant messaging
Url: https://github.com/tux3/qTox
Packager: Vitaly Lipatov <lav at altlinux.ru>
# #Source-git: https://github.com/tux3/qTox
# Source-url: https://github.com/qTox/qTox/archive/v%version.tar.gz
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.1.9
BuildRequires(pre): rpm-macros-qt5
BuildRequires(pre): rpm-macros-ubt
BuildRequires: cmake
# manually removed: i586-libxcb ruby ruby-stdlibs
# Automatically added by buildreq on Sat Jun 13 2015
# optimized out: fontconfig glib2-devel glibc-devel-static libGL-devel libX11-devel libatk-devel libavcodec-devel libavutil-devel libcairo-devel libcloog-isl4 libdc1394-22 libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libjson-c libopencore-amrnb0 libopencore-amrwb0 libp11-kit libpango-devel libqt5-core libqt5-gui libqt5-network libqt5-opengl libqt5-sql libqt5-svg libqt5-widgets libqt5-xml libraw1394-11 libsodium-devel libstdc++-devel libswscale-devel libvpx-devel libwayland-client libwayland-server python3-base qt5-base-devel qt5-declarative-devel qt5-script-devel qt5-tools xorg-scrnsaverproto-devel xorg-xproto-devel
BuildRequires: gcc-c++ git-core libXScrnSaver-devel libdb4-devel libfilteraudio-devel libgtk+2-devel libopenal-devel qt5-connectivity-devel qt5-location-devel qt5-multimedia-devel qt5-phonon-devel qt5-quick1-devel qt5-sensors-devel qt5-serialport-devel qt5-svg-devel qt5-tools-devel qt5-webkit-devel qt5-websockets-devel libexif-devel
%if_with ffmpeg
%if %__ubt_branch_id == "M80P"
BuildRequires: libffmpeg-devel-static
%def_with ffmpeg_static
%else
BuildRequires: libavdevice-devel libavformat-devel libswscale-devel libswresample-devel
%endif
%else
BuildRequires: libavdevice-devel libavformat-devel libswscale-devel libavresample-devel
%endif
# no upstream info
#BuildPreReq: libopenal-devel >= 1.16.0
BuildRequires: libsodium-devel
BuildPreReq: libqrencode-devel >= 3.0.3
BuildPreReq: libsqlcipher-devel >= 3.2.0
BuildPreReq: toxcore-devel >= 0.1.9
%description
Powerful Tox Qt5 client that follows the Tox design guidelines.
%prep
%setup
%__subst "s|.*-Werror.*||g" CMakeLists.txt
%build
%if_with ffmpeg_static
export PKG_CONFIG_PATH=%_libdir/ffmpeg-static/%_lib/pkgconfig/
%endif
%cmake_insource
%make_build
%install
%makeinstall_std
%files
%_bindir/%name
%_desktopdir/*.desktop
%_metainfodir/*
%_iconsdir/hicolor/*/apps/*
%changelog
…
Full changelog you can see here
Name: qtox
Version: 1.16.3
Release: alt2
Summary: Powerful Tox client that follows the Tox design guidelines
License: GPL+
Group: Networking/Instant messaging
Url: https://github.com/tux3/qTox
Packager: Vitaly Lipatov <lav at altlinux.ru>
# #Source-git: https://github.com/tux3/qTox
# Source-url: https://github.com/qTox/qTox/archive/v%version.tar.gz
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.1.9
BuildRequires(pre): rpm-macros-qt5
BuildRequires(pre): rpm-macros-ubt
BuildRequires: cmake
# manually removed: i586-libxcb ruby ruby-stdlibs
# Automatically added by buildreq on Sat Jun 13 2015
# optimized out: fontconfig glib2-devel glibc-devel-static libGL-devel libX11-devel libatk-devel libavcodec-devel libavutil-devel libcairo-devel libcloog-isl4 libdc1394-22 libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libjson-c libopencore-amrnb0 libopencore-amrwb0 libp11-kit libpango-devel libqt5-core libqt5-gui libqt5-network libqt5-opengl libqt5-sql libqt5-svg libqt5-widgets libqt5-xml libraw1394-11 libsodium-devel libstdc++-devel libswscale-devel libvpx-devel libwayland-client libwayland-server python3-base qt5-base-devel qt5-declarative-devel qt5-script-devel qt5-tools xorg-scrnsaverproto-devel xorg-xproto-devel
BuildRequires: gcc-c++ git-core libXScrnSaver-devel libdb4-devel libfilteraudio-devel libgtk+2-devel libopenal-devel qt5-connectivity-devel qt5-location-devel qt5-multimedia-devel qt5-phonon-devel qt5-quick1-devel qt5-sensors-devel qt5-serialport-devel qt5-svg-devel qt5-tools-devel qt5-webkit-devel qt5-websockets-devel libexif-devel
%if_with ffmpeg
%if %__ubt_branch_id == "M80P"
BuildRequires: libffmpeg-devel-static
%def_with ffmpeg_static
%else
BuildRequires: libavdevice-devel libavformat-devel libswscale-devel libswresample-devel
%endif
%else
BuildRequires: libavdevice-devel libavformat-devel libswscale-devel libavresample-devel
%endif
# no upstream info
#BuildPreReq: libopenal-devel >= 1.16.0
BuildRequires: libsodium-devel
BuildPreReq: libqrencode-devel >= 3.0.3
BuildPreReq: libsqlcipher-devel >= 3.2.0
BuildPreReq: toxcore-devel >= 0.1.9
%description
Powerful Tox Qt5 client that follows the Tox design guidelines.
%prep
%setup
%__subst "s|.*-Werror.*||g" CMakeLists.txt
%build
%if_with ffmpeg_static
export PKG_CONFIG_PATH=%_libdir/ffmpeg-static/%_lib/pkgconfig/
%endif
%cmake_insource
%make_build
%install
%makeinstall_std
%files
%_bindir/%name
%_desktopdir/*.desktop
%_metainfodir/*
%_iconsdir/hicolor/*/apps/*
%changelog
…
Full changelog you can see here