]> git.pld-linux.org Git - packages/hexchat.git/blob - hexchat.spec
- fix locales, rel 2
[packages/hexchat.git] / hexchat.spec
1 Summary:        A popular and easy to use graphical IRC (chat) client
2 Name:           hexchat
3 Version:        2.16.1
4 Release:        2
5 License:        GPL v2+
6 Source0:        https://dl.hexchat.net/hexchat/%{name}-%{version}.tar.xz
7 # Source0-md5:  0af269d719c2c047310d44804bb31fdb
8 URL:            https://hexchat.github.io
9 BuildRequires:  dbus-glib-devel
10 BuildRequires:  glib2-devel
11 BuildRequires:  gtk+2-devel
12 BuildRequires:  hicolor-icon-theme
13 BuildRequires:  iso-codes
14 BuildRequires:  libcanberra-devel
15 BuildRequires:  libproxy-devel
16 BuildRequires:  lua54-devel
17 BuildRequires:  meson
18 BuildRequires:  openssl-devel
19 BuildRequires:  pciutils-devel
20 BuildRequires:  perl-devel
21 BuildRequires:  perl-ExtUtils-Embed
22 BuildRequires:  python3-cffi
23 BuildRequires:  python3-devel
24 Requires:       enchant2
25 Requires:       python3-cffi
26 Obsoletes:      xchat < 2.16.1
27 Recommends:     sound-theme-freedesktop
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 HexChat is an easy to use graphical IRC chat client for the X Window
32 System. It allows you to join multiple IRC channels (chat rooms) at
33 the same time, talk publicly, private one-on-one conversations etc.
34 Even file transfers are possible.
35
36 %package devel
37 Summary:        Development files for %{name}
38 Requires:       %{name}%{?_isa} = %{version}-%{release}
39
40 %description devel
41 This package contains the development files for %{name}.
42
43 %prep
44 %autosetup
45
46 %build
47 %meson build \
48         -Dwith-lua=lua5.4
49 %meson_build -C build
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %meson_install -C build
55
56 %{__mv} $RPM_BUILD_ROOT%{_localedir}/ja{_JP,}
57 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{no,nb}
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc readme.md
67 %attr(755,root,root) %{_bindir}/hexchat
68 %dir %{_libdir}/hexchat
69 %dir %{_libdir}/hexchat/plugins
70 %attr(755,root,root) %{_libdir}/hexchat/plugins/checksum.so
71 %attr(755,root,root) %{_libdir}/hexchat/plugins/fishlim.so
72 %attr(755,root,root) %{_libdir}/hexchat/plugins/lua.so
73 %attr(755,root,root) %{_libdir}/hexchat/plugins/sysinfo.so
74 %attr(755,root,root) %{_libdir}/hexchat/plugins/perl.so
75 %attr(755,root,root) %{_libdir}/hexchat/plugins/python.so
76 %{_libdir}/hexchat/python
77 %{_desktopdir}/io.github.Hexchat.desktop
78 %{_iconsdir}/hicolor/*/apps/io.github.Hexchat.*
79 %{_datadir}/metainfo/io.github.Hexchat.appdata.xml
80 %{_datadir}/dbus-1/services/org.hexchat.service.service
81 %{_mandir}/man1/hexchat.1*
82
83 %files devel
84 %defattr(644,root,root,755)
85 %{_includedir}/hexchat-plugin.h
86 %{_pkgconfigdir}/hexchat-plugin.pc
This page took 0.05625 seconds and 3 git commands to generate.