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