306abb4
Summary:   A popular and easy to use graphical IRC (chat) client
306abb4
Name:      hexchat
689d75d
Version:   2.12.4
9f5deb4
Release:   1%{?dist}
306abb4
Group:     Applications/Internet
306abb4
License:   GPLv2+
2c6b514
URL:       https://hexchat.github.io
2c6b514
Source:    https://dl.hexchat.net/hexchat/%{name}-%{version}.tar.xz
306abb4
809b0b5
BuildRequires: perl-ExtUtils-Embed, python3-devel, pciutils-devel
809b0b5
%ifarch %{arm} %{ix86} x86_64
809b0b5
BuildRequires: luajit-devel
809b0b5
%else
809b0b5
BuildRequires: lua-devel
809b0b5
%endif
98c480b
BuildRequires: dbus-glib-devel, intltool, libtool
2856062
BuildRequires: glib2-devel, gtk2-devel, libcanberra-devel
TingPing 88b7a4f
BuildRequires: libproxy-devel, libnotify-devel, openssl-devel
98c480b
BuildRequires: desktop-file-utils, hicolor-icon-theme, sound-theme-freedesktop, iso-codes-devel
306abb4
306abb4
%description
306abb4
HexChat is an easy to use graphical IRC chat client for the X Window System.
306abb4
It allows you to join multiple IRC channels (chat rooms) at the same time, 
306abb4
talk publicly, private one-on-one conversations etc. Even file transfers
306abb4
are possible.
306abb4
2856062
%package devel
2856062
Summary: Development files for %{name}
2856062
Group: Development/Libraries
2856062
Requires: %{name}%{?_isa} = %{version}-%{release}
2856062
%description devel
2856062
This package contains the development files for %{name}.
2856062
306abb4
%prep
306abb4
%setup -q
306abb4
306abb4
%build
98c480b
%configure --enable-python=python3
306abb4
306abb4
make %{?_smp_mflags} V=1
306abb4
306abb4
%install
306abb4
make DESTDIR=%{buildroot} install
306abb4
306abb4
# Get rid of libtool archives
306abb4
find %{buildroot} -name '*.la' -exec rm -f {} ';'
306abb4
306abb4
%find_lang %{name}
306abb4
306abb4
%post
306abb4
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
306abb4
/usr/bin/update-desktop-database &> /dev/null || :
306abb4
306abb4
%postun
306abb4
/usr/bin/update-desktop-database &> /dev/null || :
306abb4
if [ $1 -eq 0 ] ; then
306abb4
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
306abb4
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
306abb4
fi
306abb4
306abb4
%posttrans
306abb4
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
306abb4
306abb4
%files -f %{name}.lang
306abb4
%{_bindir}/hexchat
d662c0e
%license COPYING
d662c0e
%doc readme.md
306abb4
%dir %{_libdir}/hexchat
306abb4
%dir %{_libdir}/hexchat/plugins
306abb4
%{_libdir}/hexchat/plugins/checksum.so
306abb4
%{_libdir}/hexchat/plugins/fishlim.so
9969d0b
%{_libdir}/hexchat/plugins/lua.so
306abb4
%{_libdir}/hexchat/plugins/sysinfo.so
306abb4
%{_libdir}/hexchat/plugins/perl.so
306abb4
%{_libdir}/hexchat/plugins/python.so
306abb4
%{_datadir}/applications/hexchat.desktop
d662c0e
%{_datadir}/icons/hicolor/*/apps/%{name}.*
2856062
%{_datadir}/appdata/hexchat.appdata.xml
306abb4
%{_datadir}/dbus-1/services/org.hexchat.service.service
306abb4
%{_mandir}/man1/*.gz
306abb4
2856062
%files devel
2856062
%{_includedir}/hexchat-plugin.h
2856062
%{_libdir}/pkgconfig/hexchat-plugin.pc
2856062
306abb4
%changelog
689d75d
* Sat Dec 10 2016 Patrick Griffis <tingping@tingping.se> - 2.12.4-1
689d75d
- Version bump to 2.12.4
689d75d
23104da
* Sat Oct 22 2016 Patrick Griffis <tingping@tingping.se> - 2.12.3-1
23104da
- Version bump to 2.12.3
23104da
9f5deb4
* Sat Oct 8 2016 Patrick Griffis <tingping@tingping.se> - 2.12.2-1
9f5deb4
- Version bump to 2.12.2
9f5deb4
5800bd7
* Tue Jul 5 2016 TingPing <tingping@tingping.se> - 2.12.1-3
5800bd7
- Fix input style theming with Adwaita
5800bd7
809b0b5
* Tue May  3 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.12.1-2
809b0b5
- Not all arches have luajit
809b0b5
9969d0b
* Sun May 1 2016 TingPing <tingping@tingping.se> - 2.12.1-1
9969d0b
- Version bump to 2.12.1
9969d0b
98c480b
* Sat Mar 12 2016 TingPing <tingping@tingping.se> - 2.12.0-1
98c480b
- Version bump to 2.12.0
98c480b
9fcadc5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-7
9fcadc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9fcadc5
8d85060
* Thu Nov 12 2015 Kevin Fenzi <kevin@scrye.com> - 2.10.2-6
8d85060
- Build against python 3.5 specifically.
8d85060
e7d6574
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.2-5
e7d6574
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e7d6574
00fb962
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.2-4
00fb962
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
00fb962
957f602
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.10.2-3
957f602
- Perl 5.22 rebuild
957f602
d662c0e
* Fri Jan 30 2015 TingPing <tingping@tingping.se> - 2.10.2-2
d662c0e
- Do not own icon directories owned by hicolor-icon-theme (#1171904)
d662c0e
- Build against python3
d662c0e
- Make use of license macro
d662c0e
2c6b514
* Tue Nov 25 2014 TingPing <tingping@tingping.se> - 2.10.2-1
2c6b514
- Version bump to 2.10.2
2c6b514
96c3847
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.10.1-3
96c3847
- Perl 5.20 rebuild
96c3847
40579ae
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.1-2
40579ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
40579ae
6bea1ca
* Mon Jul 28 2014 TingPing <tingping@tingping.se> - 2.10.1-1
6bea1ca
- Version bump to 2.10.1
6bea1ca
c23ddcc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.10.0-2
c23ddcc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c23ddcc
TingPing 88b7a4f
* Mon Jun 2 2014 TingPing <tingping@tingping.se> - 2.10.0-1
TingPing 88b7a4f
- Version bump to 2.10.0
TingPing 88b7a4f
c90e70b
* Mon Sep 16 2013 TingPing <tingping@tingping.se> - 2.9.6.1-1
c90e70b
- Version bump to 2.9.6.1
c90e70b
2856062
* Wed Sep 11 2013 TingPing <tingping@tingping.se> - 2.9.6-1
2856062
- Version bump to 2.9.6
2856062
80d5cbe
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.5-3
80d5cbe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
80d5cbe
94ffa3d
* Sat Aug 03 2013 Kevin Fenzi <kevin@scrye.com> 2.9.5-2
94ffa3d
- Rebuild for new perl
94ffa3d
84f2404
* Mon Apr 1 2013 TingPing <tingping@tingping.se> - 2.9.5-1
84f2404
- Version bump to 2.9.5
84f2404
5d627ee
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.4-2
5d627ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5d627ee
306abb4
* Thu Dec 27 2012 TingPing <tingping@tingping.se> - 2.9.4-1
306abb4
- Initial HexChat package