Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041836
en ru br
ALT Linux repos
S:2.16.1-alt1

Group :: Networking/IRC
RPM: hexchat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

Summary: A popular and easy to use graphical IRC (chat) client
Name: hexchat
Version: 2.16.0
Release: alt1
License: GPLv2+
Group: Networking/IRC
Url: https://hexchat.github.io

# https://github.com/hexchat/hexchat.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: meson
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libproxy-1.0)
BuildRequires: pkgconfig(iso-codes)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(libpci)
BuildRequires: pkgconfig(lua)
BuildRequires: perl-devel perl(ExtUtils/Embed.pm)
BuildRequires: python3(cffi)

Requires: enchant2

Provides: xchat = %EVR
Obsoletes: xchat
Provides: xchat2 = %EVR
Obsoletes: xchat2

%add_python3_path %_libdir/hexchat/python

%add_python3_req_skip _hexchat_embedded

%description
HexChat is an easy to use graphical IRC chat client for the X Window System.
It allows you to join multiple IRC channels (chat rooms) at the same time,
talk publicly, private one-on-one conversations etc. Even file transfers
are possible.

%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %EVR

%description devel
This package contains the development files for %name.

%prep
%setup

%build
%meson -Dwith-lua=lua
%meson_build

%install
%meson_install

%find_lang %name

%files -f %name.lang
%doc COPYING readme.md
%_bindir/hexchat
%dir %_libdir/hexchat
%dir %_libdir/hexchat/plugins
%_libdir/hexchat/plugins/checksum.so
%_libdir/hexchat/plugins/fishlim.so
%_libdir/hexchat/plugins/lua.so
%_libdir/hexchat/plugins/sysinfo.so
%_libdir/hexchat/plugins/perl.so
%_libdir/hexchat/plugins/python.so
%_libdir/hexchat/python
%_desktopdir/*.desktop
%_iconsdir//hicolor/*/apps/%name.*
%_datadir/metainfo/*.appdata.xml
%_datadir/dbus-1/services/org.hexchat.service.service
%_man1dir/*

%files devel
%_includedir/*
%_pkgconfigdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin