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