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