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