]>
Commit | Line | Data |
---|---|---|
cf389d22 | 1 | Summary: Gtk+ IRC client |
2 | Summary(pl): Oparty na Gtk+ klient IRC | |
3 | Name: xchat | |
4 | Version: 0.9.4 | |
5 | Release: 4 | |
6 | Group: X11/Applications/Networking | |
7 | Group(pl): X11/Aplikacje/Sieciowe | |
8 | Copyright: Freely distributable | |
9 | URL: http://xchat.linuxpower.org | |
10 | Source0: http://xchat.linuxpower.org/files/%{name}-%{version}.tar.gz | |
11 | Source1: xchat.desktop | |
12 | Source2: xchat.png | |
13 | BuildPrereq: XFree86-devel | |
14 | BuildPrereq: gtk+-devel >= 1.2.0 | |
15 | BuildPrereq: glib-devel >= 1.2.0 | |
16 | BuildPrereq: imlib-devel | |
17 | Buildroot: /var/tmp/%{name}-%{version}-root | |
3c405ebb | 18 | |
19 | %description | |
20 | X-Chat is yet another IRC client for the X Window | |
21 | System, using the Gtk+ toolkit. It is pretty easy | |
22 | to use compared to the other Gtk+ IRC clients and | |
23 | the interface is quite nicely designed. | |
24 | ||
25 | %prep | |
cf389d22 | 26 | %setup -q |
3c405ebb | 27 | |
28 | %build | |
65acba58 AF |
29 | CFLAGS="$RPM_OPT_FLAGS" \ |
30 | ./configure %{_target} \ | |
cf389d22 | 31 | --prefix=/usr/X11R6 \ |
32 | --disable-gnome \ | |
65acba58 | 33 | --disable-perl |
3c405ebb | 34 | make |
35 | ||
36 | %install | |
cf389d22 | 37 | rm -rf $RPM_BUILD_ROOT |
38 | install -d $RPM_BUILD_ROOT/{usr/X11R6/share/pixmaps,etc/X11/applnk/Networking} | |
39 | make prefix=$RPM_BUILD_ROOT/usr/X11R6 install-strip | |
40 | ||
41 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Networking | |
42 | install %{SOURCE2} $RPM_BUILD_ROOT/usr/X11R6/share/pixmaps | |
3c405ebb | 43 | |
cf389d22 | 44 | gzip -9nf README ChangeLog |
3c405ebb | 45 | |
cf389d22 | 46 | %clean |
47 | rm -rf $RPM_BUILD_ROOT | |
3c405ebb | 48 | |
49 | %files | |
cf389d22 | 50 | %defattr(644,root,root,755) |
51 | %doc {README,ChangeLog}.gz | |
52 | %attr(755,root,root) /usr/X11R6/bin/xchat | |
53 | /etc/X11/applnk/Networking/xchat.desktop | |
54 | /usr/X11R6/share/pixmaps/xchat.png | |
3c405ebb | 55 | |
cf389d22 | 56 | %changelog |
57 |