/[packages]/cauldron/hexchat/current/SPECS/hexchat.spec
ViewVC logotype

Contents of /cauldron/hexchat/current/SPECS/hexchat.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1541135 - (show annotations) (download)
Tue Feb 18 15:23:51 2020 UTC (3 years, 7 months ago) by umeabot
File size: 4390 byte(s)
Mageia 8 Mass Rebuild
1 %define _disable_ld_no_undefined 1
2
3 Summary: An IRC chat program
4 Name: hexchat
5 Version: 2.14.3
6 Release: %mkrel 2
7 Group: Networking/IRC
8 License: GPLv2
9 Url: http://hexchat.github.io
10 Source0: http://dl.hexchat.net/%{name}/%{name}-%{version}.tar.xz
11 Patch0: hexchat-servlist.patch
12
13 BuildRequires: bison
14 BuildRequires: meson
15 BuildRequires: ninja
16 BuildRequires: pkgconfig(gtk+-2.0)
17 BuildRequires: pkgconfig(openssl) >= 1.1
18 BuildRequires: gettext-devel
19 BuildRequires: perl-devel
20 BuildRequires: pkgconfig(python3)
21 BuildRequires: pkgconfig(dbus-glib-1)
22 BuildRequires: pkgconfig(libnotify)
23 BuildRequires: pkgconfig(libpci)
24 BuildRequires: pkgconfig(libcanberra)
25 BuildRequires: pkgconfig(libproxy-1.0)
26 BuildRequires: pkgconfig(lua)
27 BuildRequires: pkgconfig(luajit)
28 BuildRequires: iso-codes
29 BuildRequires: gnome-common
30
31 # To get the balloon alerts working
32 Requires: libnotify
33
34 Obsoletes: hexchat-doat < 2.12.4
35 Obsoletes: xchat < 2.8.8-22
36 Obsoletes: xchat-gnome < 0.26.1-23
37 Obsoletes: xchat-gnome-autoaway < 0.26.1-23
38 Obsoletes: xchat-gnome-notification < 0.26.1-23
39 Obsoletes: xchat-gnome-notifyosd < 0.26.1-23
40 Obsoletes: xchat-gnome-soundnotification < 0.26.1-23
41 Obsoletes: xchat-gnome-tcl < 0.26.1-23
42 Obsoletes: xchat-gnome-urlscraper < 0.26.1-23
43 Obsoletes: xchat-tcl < 2.8.8-22
44
45 Provides: xchat
46 Provides: xchat-gnome
47
48 %description
49 HexChat is an IRC chat program. It allows you to join multiple IRC
50 channels (chat rooms) at the same time, talk publicly, private
51 one-on-one conversations etc.
52
53 HexChat is based on XChat, but unlike XChat it's completely free
54 for both Windows and Unix-like systems.
55
56 %package devel
57 Summary: HexChat header for plugin development
58 Group: Development/C
59
60 Obsoletes: xchat-devel < 2.8.8-22
61 Obsoletes: xchat-gnome-devel < 0.26.1-23
62
63 %description devel
64 This package contains xchat-plugin.h needed to build external plugins.
65
66 %package lua
67 Summary: HexChat Lua plugin
68 Group: Networking/IRC
69 Requires: %{name} = %{version}-%{release}
70 Requires: lua >= 5.2
71
72 %description lua
73 Provides Lua scripting capabilities to HexChat.
74
75 %package perl
76 Summary: HexChat Perl plugin
77 Group: Networking/IRC
78 Requires: %{name} = %{version}-%{release}
79
80 Obsoletes: xchat-gnome-perl < 0.26.1-23
81 Obsoletes: xchat-perl < 2.8.8-22
82 Provides: xchat-gnome-perl
83 Provides: xchat-perl
84
85 %description perl
86 Provides Perl scripting capability to HexChat.
87
88 %package python
89 Summary: HexChat Python plugin
90 Group: Networking/IRC
91 Requires: %{name} = %{version}-%{release}
92 Obsoletes: xchat-gnome-python < 0.26.1-23
93 Obsoletes: xchat-python < 2.8.8-22
94 Provides: xchat-gnome-python
95 Provides: xchat-python
96
97 %description python
98 Provides Python scripting capability to HexChat.
99
100 %package checksum
101 Summary: HexChat Checksum plugin
102 Group: Networking/IRC
103 Requires: %{name} = %{version}-%{release}
104
105 %description checksum
106 Calculates checksum for DCC file transfers.
107
108 %package fishlim
109 Summary: HexChat FiSHLiM plugin
110 Group: Networking/IRC
111 Requires: %{name} = %{version}-%{release}
112
113 %description fishlim
114 FiSHLiM is an HexChat plugin for FiSH IRC encryption.
115
116 %package sysinfo
117 Summary: SysInfo plugin
118 Group: Networking/IRC
119 Requires: %{name} = %{version}-%{release}
120
121 %description sysinfo
122 Display info about your hardware and OS.
123
124
125 %prep
126 %setup -q
127 %autopatch -p1
128
129 # fix python3.8 linking
130 sed -i -e '/with-python/s,python3,python3-embed,g' meson_options.txt
131
132 %build
133 %meson
134 %meson_build
135
136 %install
137 # Remove COPYING
138 rm -f share/doc/COPYING
139
140 %meson_install
141
142 %find_lang %{name}
143
144 desktop-file-install \
145 --add-category="GTK" \
146 --add-category="IRCClient" \
147 --dir %{buildroot}%{_datadir}/applications/ %{buildroot}%{_datadir}/applications/*
148
149 %preun
150 %preun_uninstall_gconf_schemas apps_hexchat_url_handler
151
152
153 %files -f %{name}.lang
154 %{_bindir}/%{name}
155 %{_datadir}/applications/*.desktop
156 %{_datadir}/dbus-1/services/org.%{name}.service.service
157 %{_datadir}/metainfo/*.appdata.xml
158 %{_iconsdir}/hicolor/*/apps/*.png
159 %{_iconsdir}/hicolor/scalable/apps/%{name}.svg
160 %dir %{_libdir}/%{name}/plugins
161 %dir %{_libdir}/%{name}
162 %{_mandir}/man1/%{name}.1.*
163
164 %files devel
165 %{_includedir}/%{name}-plugin.h
166 %{_libdir}/pkgconfig/%{name}-plugin.pc
167
168 %files lua
169 %{_libdir}/%{name}/plugins/lua.so
170
171 %files perl
172 %{_libdir}/%{name}/plugins/perl.so
173
174 %files python
175 %{_libdir}/%{name}/plugins/python.so
176
177 %files checksum
178 %{_libdir}/%{name}/plugins/checksum.so
179
180 %files fishlim
181 %{_libdir}/%{name}/plugins/fishlim.so
182
183 %files sysinfo
184 %{_libdir}/%{name}/plugins/sysinfo.so

  ViewVC Help
Powered by ViewVC 1.1.28