X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=xchat.spec;h=7450e5a4ff5b79d6904d435a8e628e1db7708916;hb=d790bf197ff8927632c38a17c9aca49f5ad7c01b;hp=5e4ca9b9ece44ef91452a068d6fa299647196b16;hpb=a4979e7e2ecb75688de09f926b07fb738518266a;p=packages%2Fxchat.git diff --git a/xchat.spec b/xchat.spec index 5e4ca9b..7450e5a 100644 --- a/xchat.spec +++ b/xchat.spec @@ -1,84 +1,168 @@ -Summary: Gtk+ IRC client +Summary: A GTK+ IRC (chat) client +Summary(cs): Gtk+ IRC (chat) klient +Summary(da): En GTK+ IRC (Tjat) klient Summary(de): Gtk+ IRC-Client -Summary(fr): Client IRC Gtk+ +Summary(es): Cliente Gtk+ IRC (chat) +Summary(fr): Client IRC GTK+ (discussion) +Summary(id): Program GTK+ untuk chatting +Summary(is): IRC spjallforrit sem notar GTK+ +Summary(it): Client Gtk+ IRC (chat) +Summary(ja): GTK+ IRC (¥Á¥ã¥Ã¥È) ¥¯¥é¥¤¥¢¥ó¥È +Summary(ko): GTK+ IRC (äÆÃ) Ŭ¶óÀ̾ðÆ® +Summary(nb): En GTK+-basert IRC-klient Summary(pl): Oparty na Gtk+ klient IRC +Summary(pt): Um cliente de IRC (chat) em GTK+ +Summary(pt_BR): Cliente IRC GNOME +Summary(ru): Gtk+ IRC ËÌÉÅÎÔ (chat) +Summary(sk): IRC klient zalo¾ený na GTK+ +Summary(sl): Odjemnik v GTK+ za IRC (internetni klepet) +Summary(sv): En GTK+-IRC- (chatt-)klient +Summary(uk): Gtk+ IRC Ë̦¤ÎÔ +Summary(zh_CN): GTK+ IRC (ÁÄÌì) ¿Í»§¡£ Name: xchat -Version: 1.7.3 -Release: 1 +Version: 2.0.10 +Release: 1.1 Epoch: 1 -License: GPL +License: GPL v2 Group: X11/Applications/Networking -Group(de): X11/Applikationen/Netzwerkwesen -Group(pl): X11/Aplikacje/Sieciowe -Source0: http://xchat.org/files/source/1.7/%{name}-%{version}.tar.bz2 -Patch0: %{name}-po.patch -Patch1: %{name}-miscfix.patch +Source0: http://xchat.org/files/source/2.0/%{name}-%{version}.tar.bz2 +# Source0-md5: 968bc5f074fd7c202a8d63758bd5b62d +Source1: %{name}-pl.po +Patch0: %{name}-desktop.patch +Patch1: %{name}-locale_names.patch Icon: xchat.xpm URL: http://xchat.org/ -BuildRequires: gtk+-devel >= 1.2.5 -BuildRequires: gdk-pixbuf-devel -BuildRequires: gnome-libs-devel -BuildRequires: esound-devel -BuildRequires: audiofile-devel -BuildRequires: python-devel -BuildRequires: openssl-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: glib2-devel >= 2.0.3 +BuildRequires: gtk+2-devel >= 2.0.3 +BuildRequires: libtool +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: perl-devel +BuildRequires: pkgconfig +BuildRequires: python-devel >= 2.2 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 -%define _mandir %{_prefix}/man - %description X-Chat is yet another IRC client for the X Window System, using the Gtk+ toolkit. It is pretty easy to use compared to the other Gtk+ IRC clients and the interface is quite nicely designed. +%description -l cs +Chat je IRC klient pro X Window System napsaný v Gtk+. Je snadno +ovladatelný a na rozdíl od jiných Gtk+ IRC klientù je jeho rozhraní +velmi pìknì navr¾ené. + +%description -l da +X-Chat er en IRC-klient for X11 og GTK+. X-Chat er ganske enkelt at +bruge og har en pæn grænseflade. + %description -l de -X-Chat ist ein IRC-Client für X-Windows, der Gtk+ benutzt. +X-Chat ist ein weiterer IRC-Client für das X Window System und GTK+. +X-Chat ist sehr leicht zu bedienen, und das Interface ist ganz attraktiv +gestaltet. + +%description -l es +X-chat es otro cliente de IRC para X Window, que utiliza el toolkit +Gtk+. Es sencillo de usar frente a otros clientes de hechos con Gtk+ +y la interfaz esta bien diseñada. %description -l fr X-Chat est encore un autre client IRC pour le Système X Window, utilisant le toolkit Gtk+. Il est plutot facile à utiliser comparé aux autres clients IRC Gtk+ et son interface est assez bien conçue. +%description -l id +X-Chat adalah IRC client lain untuk X Window System dan GTK+. +X-Chat sangat mudah digunakan, dibandingkan dengan GTK+ IRC client +lainnya, dan interfacenya didesain dengan bagus. + +%description -l is +X-Chat er enn eitt IRC forritið fyrir X gluggakerfið og GTK+. +X-Chat er frekar einfaldur í notkun miðað við önnur GTK+ IRC +forrit, og hönnun notendaviðmótsins er frekar smart. + +%description -l it +X-Chat è un client IRC per X Window, che usa il Toolkit Gtk+. +È semplice da usare e comprende un'interfaccia molto gradevole. + +%description -l ja +X-Chat ¤Ï X Window System ¤ª¤è¤Ó GTK+ ¤Î¤â¤¦¤Ò¤È¤Ä¤Î IRC +¥¯¥é¥¤¥¢¥ó¥È¤Ç¤¹¡£X-Chat ¤Ï¡¢Â¾¤Î GTK+ IRC ¥¯¥é¥¤¥¢¥ó¥È¤ÈÈæ¤Ù¤Æ +»È¤¤¤ä¤¹¤¯¡¢Í¥¤ì¤¿¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹À߷פˤʤäƤ¤¤Þ¤¹¡£ + %description -l pl X-Chat jest jeszcze jednym klientem IRC dla X Window System, wykorzystuj±cym bibliotekê Gtk+. Jest ca³kiem prosty w u¿yciu, w porównaniu do innych, opartych na Gtk+ klientów IRC, a jego interfejs jest dosyæ ³adnie zaprojektowany. +%description -l pt +O X-Chat é mais outro cliente IRC para o X Window System e GTK+. +O X-Chat é relativamente simples de usar e tem uma interface gira. + +%description -l ru +X-Chat - ÅÝÅ ÏÄÉÎ IRC ËÌÉÅÎÔ ÄÌÑ X Window System, ÉÓÐÏÌØÚÕÀÝÉÊ +ÉÎÓÔÒÕÍÅÎÔÁÒÉÊ Gtk+. ïÎ ÄÏ×ÏÌØÎÏ ÌÅÇÏË × ÉÓÐÏÌØÚÏ×ÁÎÉÉ × ÓÒÁ×ÎÅÎÉÉ Ó +ÄÒÕÇÉÍÉ Gtk+ IRC-ËÌÉÅÎÔÁÍÉ É ÉÍÅÅÔ ÄÏ×ÏÌØÎÏ ÐÒÉÑÔÎÏ ÒÁÚÒÁÂÏÔÁÎÎÙÊ +ÉÎÔÅÒÆÅÊÓ. + +%description -l sk +X-Chat je ïal¹í z IRC klientov pre systém X Window +pou¾ívajúci kni¾nicu Gtk+. V porovnaní s inými na Gtk+ +zalo¾enými IRC klientami je pomerne µahko pou¾iteµný +a má celkom pekne navrhnuté rozhranie. +Nain¹talujte xchat, ak potrebujete IRC klienta pre X. + +%description -l sv +X-Chat är en IRC-klient för X11 och GTK+. X-Chat är ganska enkelt att +använda och har ett trevligt gränssnitt. + +%description -l uk +X-Chat - ÝÅ ÏÄÉÎ IRC Ë̦¤ÎÔ ÄÌÑ X Window System, ÑËÉÊ ×ÉËÏÒÉÓÔÏ×Õ¤ +¦ÎÓÔÒÕÍÅÎÔÁÒ¦Ê Gtk+. ÷¦Î ÄÏÓÉÔØ ÌÅÇËÉÊ Õ ×ÉËÏÒÉÓÔÁÎΦ ÐÏÒ¦×ÎÑÎÏ Ú +¦ÎÛÉÍÉ Gtk+ IRC-Ë̦¤ÎÔÁÍÉ ÔÁ ÍÁ¤ ÄÏÓÉÔØ ÐÒɤÍÎÏ ÒÏÚÒÏÂÌÅÎÉÊ ¦ÎÔÅÒÆÅÊÓ. + %prep %setup -q %patch0 -p1 %patch1 -p1 +mv -f po/{no,nb}.po +cp %{SOURCE1} po/pl.po + %build rm -f config.status missing -gettextize --copy --force -aclocal -autoconf -automake -a -c --foreign +%{__libtoolize} +%{__gettextize} +%{__aclocal} -I m4 +%{__autoconf} +%{__automake} %configure \ - --disable-gnome \ - --disable-perl \ + --enable-gnome \ + --enable-panel \ + --enable-perl \ --enable-openssl \ - --enable-ipv6 \ - --enable-japanese-conv + --enable-japanese-conv \ + --enable-ipv6 %{__make} -C po update-po %{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps +install -d $RPM_BUILD_ROOT%{_pixmapsdir} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ - utildir=%{_applnkdir}/Network/IRC + utildir=%{_desktopdir} -install xchat.desktop $RPM_BUILD_ROOT%{_applnkdir}/Network/IRC -install xchat.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/ +mv -f %{name}.desktop %{name}.desktop.orig +sed -e 's/Network;/Network;InstantMessaging;/' %{name}.desktop.orig > %{name}.desktop -gzip -9nf README ChangeLog AUTHORS +install xchat.desktop $RPM_BUILD_ROOT%{_desktopdir} +install xchat.png $RPM_BUILD_ROOT%{_pixmapsdir} %find_lang %{name} @@ -87,7 +171,10 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc {README,ChangeLog,AUTHORS}.gz doc/*html +%doc ChangeLog faq.html HACKING README %attr(755,root,root) %{_bindir}/* -%{_applnkdir}/Network/IRC/xchat.desktop -%{_pixmapsdir}/xchat.png +%dir %{_libdir}/xchat +%dir %{_libdir}/xchat/plugins +%attr(755,root,root) %{_libdir}/xchat/plugins/* +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.png