306abb4
Summary:   A popular and easy to use graphical IRC (chat) client
306abb4
Name:      hexchat
7c536c3
Version:   2.12.3
7c536c3
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
06be1c8
Patch0:    https://github.com/hexchat/hexchat/commit/217fa9d0f9fe21d998672fd72c547ee68dfe1aac.patch
306abb4
1f48642
BuildRequires: intltool, libtool
1f48642
BuildRequires: desktop-file-utils, hicolor-icon-theme, sound-theme-freedesktop
1f48642
BuildRequires: pkgconfig(glib-2.0)
1f48642
BuildRequires: pkgconfig(gtk+-2.0)
1f48642
BuildRequires: pkgconfig(dbus-glib-1)
1f48642
BuildRequires: pkgconfig(libcanberra)
1f48642
BuildRequires: pkgconfig(libnotify)
1f48642
BuildRequires: pkgconfig(libproxy-1.0)
1f48642
BuildRequires: pkgconfig(iso-codes)
1f48642
BuildRequires: pkgconfig(openssl)
1f48642
BuildRequires: pkgconfig(python3)
1f48642
BuildRequires: pkgconfig(libpci)
59f1173
%ifarch %{arm} aarch64 %{ix86} x86_64
1f48642
BuildRequires: pkgconfig(luajit)
59f1173
%else
59f1173
BuildRequires: pkgconfig(lua)
59f1173
%endif
1f48642
BuildRequires: perl-devel, perl-ExtUtils-Embed
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
1f48642
%autosetup -p1
306abb4
306abb4
%build
98c480b
%configure --enable-python=python3
1f48642
%make_build
306abb4
306abb4
%install
1f48642
%make_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
306abb4
%postun
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/doat.so
306abb4
%{_libdir}/hexchat/plugins/fishlim.so
66d676e
%{_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
7c536c3
* Sat Oct 22 2016 Patrick Griffis <tingping@tingping.se> - 2.12.3-1
7c536c3
- Version bump to 2.12.3
06be1c8
- Fix building against OpenSSL 1.1.0
7c536c3
59f1173
* Sun Oct 9 2016 Dan HorĂ¡k <dan[at]danny.cz> - 2.12.2-2
59f1173
- Not all arches have luajit
59f1173
260bc13
* Sat Oct 8 2016 Patrick Griffis <tingping@tingping.se> - 2.12.2-1
260bc13
- Version bump to 2.12.2
260bc13
1f48642
* Sat Oct 8 2016 Patrick Griffis <tingping@tingping.se> - 2.12.1-7
1f48642
- Modernize spec file
1f48642
0867016
* Mon Sep 19 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.12.1-6
0867016
- aarch64 now has LuaJIT
0867016
Igor Gnatenko 73bdb3d
* Mon Aug 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.12.1-5
Igor Gnatenko 73bdb3d
- Rebuild for LuaJIT 2.1.0
Igor Gnatenko 73bdb3d
e1fb629
* Tue Jul 5 2016 TingPing <tingping@tingping.se> - 2.12.1-4
e1fb629
- Fix input style theming with Adwaita
e1fb629
fc70bca
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.12.1-3
fc70bca
- Perl 5.24 rebuild
fc70bca
1901c10
* Tue May  3 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.12.1-2
1901c10
- Not all arches have luajit
1901c10
66d676e
* Sun May 1 2016 TingPing <tingping@tingping.se> - 2.12.1-1
66d676e
- Version bump to 2.12.1
66d676e
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