Name: rtorrent Version: 0.9.6 %define repo_ss 1 %define repo_p7 0 %define repo_p8 0 %if %repo_p7 %define release_suffix .M70P.1 %else %if %repo_p8 %define release_suffix .M80P.1 %else %define release_suffix %endif %endif Summary: console torrent client Release: alt2 License: GPLv2 Group: Networking/File transfer Url: https://github.com/rakshasa/rtorrent Packager: Konstantin Yablochkin %if %repo_p7 BuildPreReq: gcc-c++ %else BuildPreReq: gcc5-c++ %endif BuildPreReq: libcurl-devel libidn-devel libncursesw-devel libsigc++2.0-devel libssl-devel libstdc++-devel libtinfo-devel zlib-devel libgssapi-devel BuildPreReq: libtorrent-devel libxmlrpc-devel libxml2-devel BuildRequires(Pre): cppunit-devel #BuildRequires(pre): rpm-macros-cmake Source: %name-%version.tar %description rTorrent client uses ncurses and is ideal for use with tmux, screen or dtach. It supports saving of sessions, allows the user to add and remove torrents and many more %prep %setup %build ./autogen.sh %configure %make_build %install %makeinstall_std mkdir -p %buildroot/usr/share/man/man1 cp doc/old/rtorrent.1 %buildroot/usr/share/man/man1 %files %doc AUTHORS ChangeLog COPYING INSTALL NEWS README doc/rtorrent.rc /usr/bin/* /usr/share/man/man1/* %changelog * Mon Dec 19 2016 Konstantin Yabochkin 0.9.6-alt2 - initial build