]>
Commit | Line | Data |
---|---|---|
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 | |
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 | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | CFLAGS="$RPM_OPT_FLAGS" \ | |
30 | ./configure %{_target} \ | |
31 | --prefix=/usr/X11R6 \ | |
32 | --disable-gnome \ | |
33 | --disable-perl | |
34 | make | |
35 | ||
36 | %install | |
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 | |
43 | ||
44 | gzip -9nf README ChangeLog | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
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 | |
55 | ||
56 | %changelog | |
57 |