]> git.pld-linux.org Git - packages/xchat.git/blob - xchat.spec
- release 6.
[packages/xchat.git] / xchat.spec
1 Summary:        Gtk+ IRC client
2 Summary(de):    Gtk+ IRC-Client
3 Summary(es):    Cliente IRC Gnome
4 Summary(fr):    Client IRC Gtk+
5 Summary(pl):    Oparty na Gtk+ klient IRC
6 Summary(pt_BR): Cliente IRC Gnome
7 Name:           xchat
8 Version:        1.8.7
9 Release:        6
10 Epoch:          1
11 License:        GPL
12 Group:          X11/Applications/Networking
13 Source0:        http://xchat.org/files/source/1.8/%{name}-%{version}.tar.bz2
14 Source1:        %{name}-pl.po
15 Patch0:         %{name}-ac.patch
16 Patch1:         %{name}-pl.patch
17 Patch2:         %{name}-fix-USE_GNOME.patch
18 Patch3:         %{name}-fix-default_replace.patch
19 Icon:           xchat.xpm
20 URL:            http://xchat.org/
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  gettext-devel
24 BuildRequires:  gtk+-devel >= 1.2.5
25 BuildRequires:  openssl-devel >= 0.9.6a
26 BuildRequires:  perl-devel
27 BuildRequires:  python-devel >= 2.2
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _prefix         /usr/X11R6
31 %define         _mandir         %{_prefix}/man
32
33 %description
34 X-Chat is yet another IRC client for the X Window System, using the
35 Gtk+ toolkit. It is pretty easy to use compared to the other Gtk+ IRC
36 clients and the interface is quite nicely designed.
37
38 %description -l de
39 X-Chat ist ein IRC-Client für X-Windows, der Gtk+ benutzt.
40
41 %description -l es
42 Cliente IRC Gnome.
43
44 %description -l fr
45 X-Chat est encore un autre client IRC pour le Système X Window,
46 utilisant le toolkit Gtk+. Il est plutot facile à utiliser comparé aux
47 autres clients IRC Gtk+ et son interface est assez bien conçue.
48
49 %description -l pl
50 X-Chat jest jeszcze jednym klientem IRC dla X Window System,
51 wykorzystuj±cym bibliotekê Gtk+. Jest ca³kiem prosty w u¿yciu, w
52 porównaniu do innych, opartych na Gtk+ klientów IRC, a jego interfejs
53 jest dosyæ ³adnie zaprojektowany.
54
55 %description -l pt_BR
56 Cliente IRC Gnome.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62 %patch2 -p1
63 %patch3 -p0
64 cp %{SOURCE1} po/pl.po
65
66 %build
67 rm -f config.status missing
68 gettextize --copy --force
69 aclocal
70 autoconf
71 automake -a -c --foreign
72 %configure \
73         --enable-perl \
74         --enable-openssl \
75         --enable-japanese-conv
76
77 %{__make} -C po update-po
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT \
86         utildir=%{_applnkdir}/Network/Communications
87
88 install xchat.desktop $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
89 install xchat.png $RPM_BUILD_ROOT%{_pixmapsdir}
90
91 gzip -9nf README ChangeLog AUTHORS
92
93 %find_lang %{name}
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc {README,ChangeLog,AUTHORS}.gz doc/*html
101 %attr(755,root,root) %{_bindir}/*
102 %{_applnkdir}/Network/Communications/xchat.desktop
103 %{_pixmapsdir}/xchat.png
This page took 0.040153 seconds and 4 git commands to generate.