]> git.pld-linux.org Git - packages/xchat.git/blob - xchat.spec
perl 5.38.0 rebuild
[packages/xchat.git] / xchat.spec
1 Summary:        A GTK+ IRC (chat) client
2 Summary(cs.UTF-8):      GTK+ IRC (chat) klient
3 Summary(da.UTF-8):      En GTK+ IRC (Tjat) klient
4 Summary(de.UTF-8):      GTK+ IRC-Client
5 Summary(es.UTF-8):      Cliente GTK+ IRC (chat)
6 Summary(fr.UTF-8):      Client IRC GTK+ (discussion)
7 Summary(id.UTF-8):      Program GTK+ untuk chatting
8 Summary(is.UTF-8):      IRC spjallforrit sem notar GTK+
9 Summary(it.UTF-8):      Client GTK+ IRC (chat)
10 Summary(ja.UTF-8):      GTK+ IRC (チャット) クライアント
11 Summary(ko.UTF-8):      GTK+ IRC (채팅) 클라이언트
12 Summary(nb.UTF-8):      En GTK+-basert IRC-klient
13 Summary(pl.UTF-8):      Oparty na GTK+ klient IRC
14 Summary(pt.UTF-8):      Um cliente de IRC (chat) em GTK+
15 Summary(pt_BR.UTF-8):   Cliente IRC GNOME
16 Summary(ru.UTF-8):      GTK+ IRC клиент (chat)
17 Summary(sk.UTF-8):      IRC klient založený na GTK+
18 Summary(sl.UTF-8):      Odjemnik v GTK+ za IRC (internetni klepet)
19 Summary(sv.UTF-8):      En GTK+-IRC- (chatt-)klient
20 Summary(uk.UTF-8):      GTK+ IRC клієнт
21 Summary(zh_CN.UTF-8):   GTK+ IRC (聊天) 客户。
22 Name:           xchat
23 Version:        2.8.8
24 Release:        22
25 Epoch:          1
26 License:        GPL v2
27 Group:          X11/Applications/Networking
28 Source0:        http://xchat.org/files/source/2.8/%{name}-%{version}.tar.bz2
29 # Source0-md5:  6775c44f38e84d06c06c336b32c4a452
30 Source1:        %{name}-pl.po
31 Patch0:         debian.patch
32 # Patch0-md5:   229ed20530d7e126764e630faa991520
33 Patch1:         %{name}-locale_names.patch
34 Patch2:         %{name}-long-delimiter.patch
35 Patch3:         %{name}-domains.patch
36 Patch4:         %{name}-gtk_2_14.patch
37 Patch5:         %{name}-desktop.patch
38 Patch6:         ac.patch
39 URL:            http://www.xchat.org/
40 BuildRequires:  GConf2-devel
41 BuildRequires:  autoconf
42 BuildRequires:  automake
43 BuildRequires:  dbus-glib-devel
44 BuildRequires:  gettext-tools
45 BuildRequires:  glib2-devel >= 1:2.10
46 BuildRequires:  gtk+2-devel >= 2:2.10
47 BuildRequires:  libsexy-devel
48 BuildRequires:  libtool
49 BuildRequires:  openssl-devel >= 0.9.7d
50 BuildRequires:  perl-devel
51 BuildRequires:  pkgconfig
52 BuildRequires:  python-devel >= 2.2
53 BuildRequires:  rpm-pythonprov
54 BuildRequires:  rpmbuild(macros) >= 1.198
55 Requires(post,preun):   GConf2
56 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57
58 %description
59 X-Chat is yet another IRC client for the X Window System, using the
60 GTK+ toolkit. It is pretty easy to use compared to the other GTK+ IRC
61 clients and the interface is quite nicely designed.
62
63 %description -l cs.UTF-8
64 Chat je IRC klient pro X Window System napsaný v GTK+. Je snadno
65 ovladatelný a na rozdíl od jiných GTK+ IRC klientů je jeho rozhraní
66 velmi pěkně navržené.
67
68 %description -l da.UTF-8
69 X-Chat er en IRC-klient for X11 og GTK+. X-Chat er ganske enkelt at
70 bruge og har en pæn grænseflade.
71
72 %description -l de.UTF-8
73 X-Chat ist ein weiterer IRC-Client für das X Window System und GTK+.
74 X-Chat ist sehr leicht zu bedienen, und das Interface ist ganz attraktiv
75 gestaltet.
76
77 %description -l es.UTF-8
78 X-chat es otro cliente de IRC para X Window, que utiliza el toolkit
79 GTK+. Es sencillo de usar frente a otros clientes de hechos con GTK+
80 y la interfaz esta bien diseñada.
81
82 %description -l fr.UTF-8
83 X-Chat est encore un autre client IRC pour le Système X Window,
84 utilisant le toolkit GTK+. Il est plutot facile à utiliser comparé aux
85 autres clients IRC GTK+ et son interface est assez bien conçue.
86
87 %description -l id.UTF-8
88 X-Chat adalah IRC client lain untuk X Window System dan GTK+.
89 X-Chat sangat mudah digunakan, dibandingkan dengan GTK+ IRC client
90 lainnya, dan interfacenya didesain dengan bagus.
91
92 %description -l is.UTF-8
93 X-Chat er enn eitt IRC forritið fyrir X gluggakerfið og GTK+.
94 X-Chat er frekar einfaldur í notkun miðað við önnur GTK+ IRC
95 forrit, og hönnun notendaviðmótsins er frekar smart.
96
97 %description -l it.UTF-8
98 X-Chat è un client IRC per X Window, che usa il Toolkit GTK+.
99 È semplice da usare e comprende un'interfaccia molto gradevole.
100
101 %description -l ja.UTF-8
102 X-Chat は X Window System および GTK+ のもうひとつの IRC
103 クライアントです。X-Chat は、他の GTK+ IRC クライアントと比べて
104 使いやすく、優れたインターフェイス設計になっています。
105
106 %description -l pl.UTF-8
107 X-Chat jest jeszcze jednym klientem IRC dla X Window System,
108 wykorzystującym bibliotekę GTK+. Jest całkiem prosty w użyciu, w
109 porównaniu do innych, opartych na GTK+ klientów IRC, a jego interfejs
110 jest dosyć ładnie zaprojektowany.
111
112 %description -l pt.UTF-8
113 O X-Chat é mais outro cliente IRC para o X Window System e GTK+.
114 O X-Chat é relativamente simples de usar e tem uma interface gira.
115
116 %description -l ru.UTF-8
117 X-Chat - еще один IRC клиент для X Window System, использующий
118 инструментарий GTK+. Он довольно легок в использовании в сравнении с
119 другими GTK+ IRC-клиентами и имеет довольно приятно разработанный
120 интерфейс.
121
122 %description -l sk.UTF-8
123 X-Chat je ďalší z IRC klientov pre systém X Window
124 používajúci knižnicu GTK+. V porovnaní s inými na GTK+
125 založenými IRC klientami je pomerne ľahko použiteľný
126 a má celkom pekne navrhnuté rozhranie.
127 Nainštalujte xchat, ak potrebujete IRC klienta pre X.
128
129 %description -l sv.UTF-8
130 X-Chat är en IRC-klient för X11 och GTK+. X-Chat är ganska enkelt att
131 använda och har ett trevligt gränssnitt.
132
133 %description -l uk.UTF-8
134 X-Chat - ще один IRC клієнт для X Window System, який використовує
135 інструментарій GTK+. Він досить легкий у використанні порівняно з
136 іншими GTK+ IRC-клієнтами та має досить приємно розроблений інтерфейс.
137
138 %prep
139 %setup -q
140 %patch0 -p1
141 # xchat-pl.po needs update
142 #%patch1 -p1
143 %patch2 -p1
144 %patch3 -p1
145 %patch4 -p1
146 %patch5 -p1
147 %patch6 -p1
148
149 cp %{SOURCE1} po/pl.po
150
151 %build
152 rm -f config.status missing
153 %{__libtoolize}
154 %{__gettextize}
155 %{__aclocal} -I m4
156 %{__autoconf}
157 %{__automake}
158 %configure \
159         --enable-gnome \
160         --enable-ipv6 \
161         --enable-japanese-conv \
162         --enable-openssl \
163         --enable-panel \
164         --enable-perl \
165         --enable-shm
166
167 %{__make} -C po update-po
168 %{__make}
169
170 %install
171 rm -rf $RPM_BUILD_ROOT
172 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
173
174 %{__make} install \
175         DESTDIR=$RPM_BUILD_ROOT \
176         utildir=%{_desktopdir}
177
178 %find_lang %{name}
179
180 %clean
181 rm -rf $RPM_BUILD_ROOT
182
183 %post
184 %gconf_schema_install apps_xchat_url_handler.schemas
185
186 %preun
187 %gconf_schema_uninstall apps_xchat_url_handler.schemas
188
189 %files -f %{name}.lang
190 %defattr(644,root,root,755)
191 %doc ChangeLog faq.html HACKING README
192 %attr(755,root,root) %{_bindir}/*
193 %dir %{_libdir}/xchat
194 %dir %{_libdir}/xchat/plugins
195 %attr(755,root,root) %{_libdir}/xchat/plugins/*
196 %{_datadir}/dbus-1/services/org.xchat.service.service
197 %{_desktopdir}/%{name}.desktop
198 %{_pixmapsdir}/%{name}.png
199 %{_sysconfdir}/gconf/schemas/apps_xchat_url_handler.schemas
This page took 0.144466 seconds and 4 git commands to generate.