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