imported irssi.
[silc.git] / apps / irssi / irssi.spec.in
1 # $Revision$, $Date$
2 Name:           irssi
3 Version:        @VERSION@
4 Release:        1
5 Vendor:         Timo Sirainen <tss@iki.fi>
6 Summary:        Irssi is a IRC client
7 Summary(pl):    Irssi - klient IRC
8 Copyright:      GPL
9 Group:          Applications/Communications
10 Group(pl):      Aplikacje/Komunikacja
11 URL:            http://irssi.org/
12 Source0:        http://irssi.org/irssi/files/%{name}-%{version}.tar.gz
13 BuildRequires:  glib-devel
14 BuildRequires:  ncurses-devel
15 BuildRequires:  imlib-devel
16 BuildRequires:  gtk+-devel
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  XFree86-devel
19 BuildRoot:      /tmp/%{name}-%{version}-root
20
21 %define         _sysconfdir     /etc
22 %define         configure { CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;  CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;  FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform}     --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} --infodir=%{_infodir} }
23
24 %description
25 Irssi is a textUI IRC client with IPv6 support 
26 by Timo Sirainen <tss@iki.fi>.
27 More information can be found at http://irssi.org/.
28
29 %description -l pl
30 Irssi jest tekstowym klientem IRC ze wsparciem dla IPv6.
31 Napisany zosta³ przez Timo Strainen <tss@iki.fi>
32 Wiêcej informacji mo¿na znale¶æ pod adresem
33 http://irssi.org/
34
35 %package GNOME
36 Summary:        GNOME version of irssi IRC client
37 Summary(pl):    Wersja dla ¶rodowiska GNOME klienta IRC irssi
38 Group:          X11/Applications/Communications
39 Group(pl):      X11/Aplikacje/Komunikacja
40 Requires:       %{name} = %{version}
41
42 %description GNOME
43 Irssi is a GTK based (with GNOME) GUI IRC client with IPv6 support
44 by Timo Sirainen <tss@iki.fi>.
45 More information can be found at http://irssi.org/.
46
47 %description GNOME -l pl
48 Irssi jest graficznym klientem IRC ze wsparciem dla IPv6 pracuj±cym
49 w ¶rodowisku GNOME. Napisany zosta³ przez Timo Sirainen <tss@iki.fi>.
50 Wiêcej informacji mo¿na znale¶æ pod adresem
51 http://irssi.org/
52
53 %prep
54 %setup -q
55
56 %build
57 CPPFLAGS="-I/usr/X11R6/include"; export CPPFLAGS
58 LDFLAGS="-s -L/usr/X11R6/lib"; export LDFLAGS
59 %configure \
60         --with-gnome \
61         --with-gnome-panel \
62         --with-imlib \
63         --enable-ipv6 \
64         --with-textui=ncurses \
65         --without-socks \
66         --with-plugins
67 make
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 make DESTDIR=$RPM_BUILD_ROOT install
72 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/irssi/plugins/lib*.so.*.*
73
74 gzip -9fn AUTHORS ChangeLog README TODO NEWS
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files 
80 %defattr (644,root,root,755)
81 %doc {AUTHORS,ChangeLog,README,TODO,NEWS}.gz
82
83 %attr(755,root,root) %{_bindir}/irssi
84 %attr(755,root,root) %{_bindir}/irssi-text
85 %attr(755,root,root) %{_bindir}/irssi-bot
86
87 %dir %{_sysconfdir}/irssi
88 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/irssi/*
89
90 %dir %{_libdir}/irssi
91 %dir %{_libdir}/irssi/plugins
92 %attr(755,root,root) %{_libdir}/irssi/plugins/lib*.so.*.*
93 %attr(755,root,root) %{_libdir}/irssi/plugins/lib*.so
94 #%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.la
95 #%attr(755,root,root) %{_libdir}/irssi/plugins/lib*.a
96
97 %files GNOME
98 %defattr (644,root,root,755)
99 %attr(755,root,root) %{_bindir}/irssi
100
101 %{_sysconfdir}/CORBA/servers/irssi.gnorba
102 %{_datadir}/gnome/apps/Network/irssi.desktop
103 %{_datadir}/gnome/help/irssi
104 %{_datadir}/pixmaps/*
105
106 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
107 %changelog
108 * %{date} PLD Team <pld-list@pld.org.pl>
109 All below listed persons can be reached on <cvs_login>@pld.org.pl
110
111 $Log$
112 Revision 1.1.1.1  2001/05/24 12:09:28  priikone
113         imported irssi.
114
115 Revision 1.11  2001/03/29 14:38:28  cras
116 http://irssi.org -> http://irssi.org/
117
118 Revision 1.10  2000/06/02 01:55:01  cras
119 Changed irssi's url to http://irssi.org/
120
121 Revision 1.9  2000/04/17 09:37:05  kloczek
122 - added pixmaps to %files (irssi have now own icon).
123
124 Revision 1.8  2000/04/14 11:27:02  cras
125 Sorry for a big update - I still don't have internet connection at home
126 and this is what I've been doing a few weeks now.. :) You really shouldn't
127 upgrade to this version without keeping a backup of the working one, since
128 this will break everything and at least notify list is broken - probably
129 something else too.
130
131 * On the way to 0.8.0 .. Major rewriting/rearranging code. There's
132   some changes in behaviour because I'm trying to make Irssi a bit
133   more compatible with EPIC.
134
135 * libPropList isn't needed anymore - I'm using my own configuration
136   library. This is mostly because different proplists worked a bit
137   differently everywhere and several people had problems with it.
138   It's also yet another extra library that you needed to compile
139   Irssi. New configuration library has several advantages:
140
141   You can add comments to configuration file and they also stay
142   there when it's saved.
143
144   It's not nearly as vulnerable as proplist. If some error occurs,
145   instead of just not reading anything it will try to continue if
146   possible. Also the error messages are written to irssi's text
147   window instead of stdout.
148
149   It can be managed more easily than proplist - setting/getting the
150   configuration is a lot more easier.
151
152 * Coding style changes - I'm not using gint, gchar etc. anymore,
153   they're just extra pain when moving code to non-glib projects and
154   syntax hilighting doesn't work by default with most editors ;)
155
156   Indentation style was also changed to K&R because of some political
157   reasons ;) And I'm already starting to like it.. :) It forces me
158   to split code to different functions more often and the result is
159   that the code gets more readable.
160
161   And finally I'm also using nst' all over the place.
162
163 + /EVAL <commands> - Expand all the special variables from string and
164   run it. Commands can be split with ; character. See
165   docs/SPECIAL_VARS for more info.
166 + Aliases are parsed just like /EVAL - arguments are in $0..$9.
167 + Text formats are also parsed like /EVAL, arguments used to be in
168   $1..$9, now they're in $0..$8 so it messes up existing themes..
169 + /SET [key [value]] - no more the '=' character. Boolean values
170   also need to be changed with ON/OFF/TOGGLE values (not yes/no).
171   Settings aren't saved to disk until you use /SAVE.
172 + /TOGGLE <key> [ON/OFF] - same as /SET <key> TOGGLE
173
174 Revision 1.7  2000/02/25 17:03:15  cras
175 Irssi 0.7.27 released.
176
177 Revision 1.6  2000/01/27 19:03:28  cras
178 fixes by vkoivula@saunalahti.fi
179
180 Revision 1.6  2000/01/25 00:00:00 vkoivula@saunalahti.fi
181 - requires libProbList-devel changed to libPropList (problist.h is actually in
182   this package)
183 - fixed filelist
184
185 Revision 1.5  2000/01/13 02:13:20  kloczek
186 - irssi.desktop now this is not applet but application description file -
187   place them in $(datadir)/gnome/apps/Network.
188
189 Revision 1.4  1999/10/16 13:05:25  wiget
190 - polish translation
191
192 Revision 1.3  1999/09/13 16:50:25  wiget
193 - fixed %%configure macro
194
195 Revision 1.2  1999/09/04 11:42:33  wiget
196 - new way to update Version: field in spec
197 - new target for make 'make rpm'
198
199 Revision 1.4  1999/09/03 09:36:24  wiget
200 - updated to 0.7.16alpha-1
201
202 Revision 1.3  1999/09/02 17:27:36  wiget
203 - added BuildRequires rules
204
205 Revision 1.2  1999/09/02 17:22:51  wiget
206 - rewrite to PLD style coding:
207 -- correct Group and Group(pl)
208 -- %%changelog moved to end
209 -- splited to irssi and irssi-GNOME
210 -- added patch to allow 'make install DESTDIR=/some/dir'
211 -- added ./configure parameters
212 -- striped unneeded symbol from plugins
213 -- gziped docs
214 -- corrected %%files section
215
216 - based at spec from tarball (by JT Traub <jtraub@dragoncat.net>)