1 |
jquelin |
123106 |
Name: irssi |
2 |
wally |
1080696 |
Version: 0.8.21 |
3 |
wally |
1109590 |
%define subrel 2 |
4 |
neoclust |
1067516 |
Release: %mkrel 1 |
5 |
kharec |
2025 |
Summary: IRC client |
6 |
|
|
License: GPLv2+ |
7 |
|
|
Group: Networking/IRC |
8 |
|
|
URL: http://irssi.org/ |
9 |
neoclust |
1067517 |
Source0: https://github.com/%{name}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz |
10 |
wally |
1108165 |
Patch0: CVE-2017-9468.patch |
11 |
|
|
Patch1: CVE-2017-9469.patch |
12 |
wally |
1109590 |
Patch2: CVE-2017-10965-CVE-2017-10965.patch |
13 |
dams |
603141 |
BuildRequires: ncurses-devel |
14 |
jquelin |
123106 |
BuildRequires: glib2-devel |
15 |
dams |
603141 |
BuildRequires: openssl-devel |
16 |
|
|
BuildRequires: perl-devel |
17 |
tv |
675874 |
Recommends: irssi-perl |
18 |
jquelin |
123106 |
|
19 |
kharec |
2025 |
%description |
20 |
|
|
Irssi is a modular and flexible IRC client for UNIX that has only a text mode |
21 |
|
|
user interface (but as 80-90% of the code isn't text mode specific, other UIs |
22 |
|
|
could be created pretty easily). Also, Irssi isn't really even IRC specific |
23 |
|
|
anymore, there are already working SILC and ICB modules available. Support for |
24 |
|
|
other protocols like ICQ and Jabber could be created some day too. |
25 |
|
|
|
26 |
|
|
Irssi is one of the most popular IRC clients at the moment. |
27 |
|
|
|
28 |
|
|
%package devel |
29 |
|
|
Group: Development/C |
30 |
|
|
Summary: Static libraries for the development of irssi applications |
31 |
|
|
Requires: %{name} = %{version} |
32 |
|
|
|
33 |
|
|
%description devel |
34 |
|
|
Static libraries for the development of irssi applications. |
35 |
|
|
|
36 |
|
|
%package perl |
37 |
|
|
Group: Networking/IRC |
38 |
|
|
Summary: Perl plugin for irssi |
39 |
|
|
Requires: %{name} = %{version} |
40 |
|
|
Conflicts: perl-silc |
41 |
|
|
|
42 |
|
|
%description perl |
43 |
|
|
Perl plugin for irssi. |
44 |
|
|
|
45 |
|
|
%prep |
46 |
|
|
%setup -q |
47 |
neoclust |
1067463 |
%apply_patches |
48 |
kharec |
2025 |
|
49 |
|
|
%build |
50 |
|
|
%configure2_5x --with-plugins \ |
51 |
|
|
--enable-ipv6 \ |
52 |
|
|
--with-proxy \ |
53 |
|
|
--with-socks \ |
54 |
|
|
--with-bot \ |
55 |
|
|
--with-perl=module \ |
56 |
|
|
--with-perl-lib=%{perl_vendorlib} |
57 |
|
|
%make |
58 |
|
|
|
59 |
|
|
%install |
60 |
|
|
%makeinstall_std |
61 |
|
|
|
62 |
|
|
# Files that should not be installed: |
63 |
|
|
rm -f %{buildroot}%{perl_vendorarch}/perllocal.pod |
64 |
|
|
rm -rf %{buildroot}%{_docdir}/%{name} |
65 |
|
|
|
66 |
|
|
%files |
67 |
neoclust |
1067517 |
%doc AUTHORS README.md TODO NEWS docs/* |
68 |
kharec |
2025 |
%attr(755,root,root) %{_bindir}/* |
69 |
|
|
%{_datadir}/%{name} |
70 |
|
|
%exclude %{_datadir}/%{name}/scripts |
71 |
|
|
%dir %{_libdir}/%{name} |
72 |
|
|
%dir %{_libdir}/%{name}/modules |
73 |
|
|
%exclude %{_libdir}/%{name}/modules/libfe_perl.* |
74 |
|
|
%exclude %{_libdir}/%{name}/modules/libperl_core.* |
75 |
|
|
%{_libdir}/%{name}/modules/*.so |
76 |
|
|
%{_libdir}/%{name}/modules/*.la |
77 |
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf |
78 |
|
|
%{_mandir}/man1/%{name}.1* |
79 |
|
|
|
80 |
|
|
%files devel |
81 |
|
|
%{_libdir}/%{name}/modules/*.a |
82 |
|
|
%{_includedir}/%{name} |
83 |
|
|
|
84 |
|
|
%files perl |
85 |
|
|
%{_libdir}/%{name}/modules/libfe_perl.so |
86 |
|
|
%{_libdir}/%{name}/modules/libfe_perl.la |
87 |
|
|
%{_libdir}/%{name}/modules/libperl_core.so |
88 |
|
|
%{_libdir}/%{name}/modules/libperl_core.la |
89 |
|
|
%{perl_vendorarch}/Irssi* |
90 |
|
|
%{perl_vendorarch}/auto/* |
91 |
|
|
%{_datadir}/%{name}/scripts |