Name: bitlbee-discord Version: 0.4.1 Release: 2%{?dist} Summary: Bitlbee plugin for Discord License: GPLv2+ URL: https://github.com/sm00th/bitlbee-discord Source0: https://github.com/sm00th/bitlbee-discord/archive/%{version}/%{name}-%{version}.tar.gz # Patch to remove obsolete M4 macro, thanks Robert-Andre! Patch0: https://github.com/sm00th/bitlbee-discord/pull/135.patch#/%{name}-%{version}-remove_obsolete_m4s_macro.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bitlbee-devel BuildRequires: gcc BuildRequires: glib2-devel BuildRequires: libtool # This is a bitlbee plugin, rpm won't automatically see the needed dep. Requires: bitlbee %description Discord protocol plugin for bitlbee. %prep %autosetup -p1 autoreconf -fi %build %configure %make_build %install %make_install # Remove libtool archive. rm -f %{buildroot}%{_libdir}/bitlbee/discord.la %files %{_libdir}/bitlbee/discord.so %{_datadir}/bitlbee/discord-help.txt %license LICENSE %doc README %changelog * Tue Feb 06 2018 Ben Rosser - 0.4.1-2 - Add missing requires on bitlbee. - Add patch to remove obsolete M4 macro. * Tue Feb 06 2018 Ben Rosser - 0.4.1-1 - Initial package.