%global plugin_name discord %global commit0 b7ac72399218d2ce011ac84bb171b572560aa2d2 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global date 20210928 Name: purple-%{plugin_name} Version: 0 Release: 35.%{date}git%{shortcommit0}%{?dist} License: GPLv3+ Summary: Discord plugin for libpurple URL: https://github.com/EionRobb/%{name} Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(purple) BuildRequires: pkgconfig(zlib) BuildRequires: ImageMagick BuildRequires: gcc BuildRequires: gettext-devel BuildRequires: make %package -n pidgin-%{plugin_name} Summary: Adds pixmaps, icons and smileys for Discord protocol BuildArch: noarch Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: pidgin %description Adds support for Discord to Pidgin, Adium, Finch and other libpurple based messengers. %description -n pidgin-%{plugin_name} Adds pixmaps, icons and smileys for Discord protocol implemented by purple-discord. %prep %autosetup -n %{name}-%{commit0} # fix W: wrong-file-end-of-line-encoding sed -i -e "s,\r,," README.md %build %set_build_flags %make_build %install %make_install %find_lang %{name} %files -f %{name}.lang %license LICENSE %doc README.md %{_libdir}/purple-2/lib%{plugin_name}.so %files -n pidgin-%{plugin_name} %{_datadir}/pixmaps/pidgin/protocols/*/%{plugin_name}.png %changelog * Fri Jul 22 2022 Fedora Release Engineering - 0-35.20210928gitb7ac723 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0-34.20210928gitb7ac723 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Oct 27 2021 Vitaly Zaitsev - 0-33.20210928gitb7ac723 - Updated to latest snapshot. * Fri Jul 23 2021 Fedora Release Engineering - 0-32.20200718git8fd7ceb - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0-31.20200718git8fd7ceb - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Aug 26 2020 Vitaly Zaitsev - 0-30.20200718git8fd7ceb - Updated to latest snapshot. * Tue Jul 28 2020 Fedora Release Engineering - 0-29.20200512git1174458 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed May 20 2020 Vitaly Zaitsev - 0-28.20200512git1174458 - Updated to latest snapshot. * Tue Apr 07 2020 Vitaly Zaitsev - 0-27.20200405gitdb7dc79 - Updated to latest snapshot. * Thu Jan 30 2020 Fedora Release Engineering - 0-26.20190805git250a8a0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Aug 06 2019 Vitaly Zaitsev - 0-25.20190805git250a8a0 - Updated to latest snapshot. * Fri Jul 26 2019 Fedora Release Engineering - 0-24.20190505git8623ec7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 22 2019 Vitaly Zaitsev - 0-23.20190505git8623ec7 - Updated to latest snapshot. * Sat Feb 02 2019 Fedora Release Engineering - 0-22.20181108gita5dd44f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 21 2018 Vitaly Zaitsev - 0-21.20181108gita5dd44f - Updated to latest snapshot. * Fri Aug 03 2018 Vitaly Zaitsev - 0-20.20180628git84fe764 - Updated to latest snapshot. * Fri Jul 13 2018 Fedora Release Engineering - 0-19.20180515gitb895521 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri May 25 2018 Vitaly Zaitsev - 0-18.20180515gitb895521 - Updated to latest snapshot. * Wed Apr 04 2018 Vitaly Zaitsev - 0-17.20180401git4bea5d7 - Updated to latest snapshot. * Wed Jan 24 2018 Vitaly Zaitsev - 0-15.20171227git9b7c3ad - Updated to latest snapshot. * Fri Dec 01 2017 Vitaly Zaitsev - 0-14.20171124gita5a41bb - Updated to latest snapshot. * Wed Nov 08 2017 Vitaly Zaitsev - 0-13.20171010git2ca7b3c - Updated to latest snapshot. * Sat Sep 09 2017 Vitaly Zaitsev - 0-12.20170904gitcb53020 - Updated to latest snapshot. * Tue Aug 29 2017 Vitaly Zaitsev - 0-11.20170829git9115bd2 - Updated to latest snapshot. * Mon Aug 28 2017 Vitaly Zaitsev - 0-10.20170823git4397461 - Updated to latest snapshot. * Thu Aug 03 2017 Fedora Release Engineering - 0-9.20170608git5263aff - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0-8.20170608git5263aff - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 15 2017 Vitaly Zaitsev - 0-7.20170608git5263aff - Updated to latest snapshot. * Thu May 25 2017 Vitaly Zaitsev - 0-6.20170525gitec1292a - Updated to latest snapshot. * Thu May 25 2017 Vitaly Zaitsev - 0-5.20170521gitfe92ea6 - Updated to latest snapshot. * Sat May 06 2017 Vitaly Zaitsev - 0-4.20170501git28b1aa4 - Updated to latest snapshot. * Thu Apr 27 2017 Vitaly Zaitsev - 0-3.20170427gitd879f18 - Updated to latest snapshot. * Wed Apr 26 2017 Vitaly Zaitsev - 0-2.20170426gitcca7860 - Updated to latest snapshot. * Thu Apr 20 2017 Vitaly Zaitsev - 0-1.20170420git5c2b3ee - First SPEC release.