]>
Commit | Line | Data |
---|---|---|
c5c87082 AF |
1 | %define ver 0.7.15 |
2 | %define patchlvl 3 | |
3 | Name: irssi | |
4 | Version: %{ver}_%{patchlvl} | |
5 | Release: 1 | |
6 | Vendor: Timo Sirainen <cras@irccrew.org> | |
7 | Summary: Irssi is a IRC client | |
8 | Copyright: GPL | |
9 | Group: Applications/Communications | |
10 | Group(pl): Aplikacje/Komunikacja | |
11 | URL: http://xlife.dhs.org/irssi/ | |
12 | Source: http://xlife.dhs.org/irssi/files/%{name}-%{ver}-%{patchlvl}.tar.bz2 | |
13 | Patch: irssi-DESTDIR.patch | |
14 | BuildRoot: /tmp/%{name}-%{version}-root | |
15 | ||
16 | %define _sysconfdir /etc | |
738c3ae3 AF |
17 | |
18 | %description | |
c5c87082 AF |
19 | Irssi is a textUI IRC client with IPv6 support |
20 | by Timo Sirainen <cras@irccrew.org>. | |
738c3ae3 AF |
21 | More information can be found at http://xlife.dhs.org/irssi/. |
22 | ||
c5c87082 AF |
23 | %package GNOME |
24 | Summary: GNOME version of irssi IRC client | |
25 | Group: X11/Applications/Communications | |
26 | Group(pl): X11/Aplikacje/Komunikacja | |
27 | Requires: %{name} = %{version} | |
28 | ||
29 | %description GNOME | |
30 | Irssi is a GTK based (with GNOME) GUI IRC client with IPv6 support | |
31 | by Timo Sirainen <cras@irccrew.org>. | |
32 | More information can be found at http://xlife.dhs.org/irssi/. | |
738c3ae3 AF |
33 | |
34 | %prep | |
c5c87082 AF |
35 | %setup -q -n %{name}-%{ver} |
36 | %patch -p1 | |
738c3ae3 AF |
37 | |
38 | %build | |
c5c87082 AF |
39 | automake |
40 | CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS | |
41 | LDFLAGS="-s -L/usr/X11R6/lib"; export LDFLAGS | |
42 | %configure \ | |
43 | --with-gnome \ | |
44 | --with-gnome-panel \ | |
45 | --with-imlib \ | |
46 | --enable-ipv6 \ | |
47 | --with-textui=ncurses \ | |
48 | --with-proplist \ | |
49 | --without-socks \ | |
50 | --with-plugins | |
738c3ae3 AF |
51 | make |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
c5c87082 AF |
55 | make DESTDIR=$RPM_BUILD_ROOT install |
56 | strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/irssi/plugins/lib*.so.*.* | |
738c3ae3 | 57 | |
c5c87082 | 58 | gzip -9fn AUTHORS ChangeLog README TODO NEWS |
738c3ae3 AF |
59 | |
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
c5c87082 AF |
64 | %defattr (644,root,root,755) |
65 | %doc {AUTHORS,ChangeLog,README,TODO,NEWS}.gz | |
66 | ||
67 | %attr(755,root,root) %{_bindir}/irssi-text | |
68 | %attr(755,root,root) %{_bindir}/irssi-bot | |
69 | ||
70 | %dir %{_sysconfdir}/irssi | |
71 | %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/irssi/* | |
72 | ||
73 | %dir %{_libdir}/irssi | |
74 | %dir %{_libdir}/irssi/plugins | |
75 | %attr(755,root,root) %{_libdir}/irssi/plugins/lib*.so.*.* | |
76 | #%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.so | |
77 | #%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.la | |
78 | #%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.a | |
79 | ||
80 | %files GNOME | |
81 | %defattr (644,root,root,755) | |
82 | %attr(755,root,root) %{_bindir}/irssi | |
83 | ||
84 | %{_sysconfdir}/CORBA/servers/irssi.gnorba | |
85 | %{_datadir}/applets/Network/irssi.desktop | |
86 | %{_datadir}/gnome/help/irssi |