]> git.pld-linux.org Git - packages/xchat.git/blobdiff - xchat.spec
- up to 2.4.3
[packages/xchat.git] / xchat.spec
index ea927bd5544f87eb3ad89f26eef287e09cc7aa08..92e8f5c20ae100602c3d30f0aa029af64cb76df5 100644 (file)
@@ -1,62 +1,60 @@
 Summary:       A GTK+ IRC (chat) client
-Summary(cs):   Gtk+ IRC (chat) klient
+Summary(cs):   GTK+ IRC (chat) klient
 Summary(da):   En GTK+ IRC (Tjat) klient
-Summary(de):   Gtk+ IRC-Client
-Summary(es):   Cliente Gtk+ IRC (chat)
+Summary(de):   GTK+ IRC-Client
+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(it):   Client GTK+ IRC (chat)
 Summary(ja):   GTK+ IRC (¥Á¥ã¥Ã¥È) ¥¯¥é¥¤¥¢¥ó¥È
 Summary(ko):   GTK+ IRC (äÆÃ) Å¬¶óÀ̾ðÆ®
-Summary(no):   En GTK+-basert IRC-klient
-Summary(pl):   Oparty na Gtk+ klient 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(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(uk):   GTK+ IRC Ë̦¤ÎÔ
 Summary(zh_CN):        GTK+ IRC (ÁÄÌì) ¿Í»§¡£
 Name:          xchat
-Version:       1.9.7
+Version:       2.4.3
 Release:       1
 Epoch:         1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://xchat.org/files/source/1.9/%{name}-%{version}.tar.bz2
+Source0:       http://xchat.org/files/source/2.4/%{name}-%{version}.tar.bz2
+# Source0-md5: bdcb196b70c93a185fff485fe9af9815
 Source1:       %{name}-pl.po
-Patch0:                %{name}-po.patch
-#Patch1:               %{name}-fix-USE_GNOME.patch
-#Patch2:               %{name}-fix-default-replace.patch
-#Patch3:               %{name}-UTF8_desktop.patch
-#Patch4:               %{name}-zh.patch
+Patch0:                %{name}-desktop.patch
+Patch1:                %{name}-locale_names.patch
+Patch2:                %{name}-long-delimiter.patch
+Patch3:                %{name}-domains.patch
 Icon:          xchat.xpm
-URL:           http://xchat.org/
+URL:           http://www.xchat.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2.0.3
-BuildRequires:  glib2-devel >= 2.0.3
-#BuildRequires:        gdk-pixbuf-devel
-#BuildRequires:        gnome-core-devel
-BuildRequires: openssl-devel >= 0.9.6a
+BuildRequires: glib2-devel >= 2.0.3
+BuildRequires: gtk+2-devel >= 1:2.0.3
+BuildRequires: libtool
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: perl-devel
+BuildRequires: pkgconfig
 BuildRequires: python-devel >= 2.2
+Requires:      perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
 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
+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í
+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
@@ -70,13 +68,13 @@ 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+
+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.
+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+.
@@ -89,7 +87,7 @@ X-Chat er frekar einfaldur 
 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+.
+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
@@ -99,8 +97,8 @@ X-Chat 
 
 %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
+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
@@ -109,13 +107,13 @@ O X-Chat 
 
 %description -l ru
 X-Chat - ÅÝÅ ÏÄÉΠIRC ËÌÉÅÎÔ ÄÌÑ X Window System, ÉÓÐÏÌØÚÕÀÝÉÊ
-ÉÎÓÔÒÕÍÅÎÔÁÒÉÊ Gtk+. ïΠÄÏ×ÏÌØÎÏ ÌÅÇÏË × ÉÓÐÏÌØÚÏ×ÁÎÉÉ × ÓÒÁ×ÎÅÎÉÉ Ó
-ÄÒÕÇÉÍÉ Gtk+ IRC-ËÌÉÅÎÔÁÍÉ É ÉÍÅÅÔ ÄÏ×ÏÌØÎÏ ÐÒÉÑÔÎÏ ÒÁÚÒÁÂÏÔÁÎÎÙÊ
+ÉÎÓÔÒÕÍÅÎÔÁÒÉÊ 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+
+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.
@@ -126,23 +124,23 @@ anv
 
 %description -l uk
 X-Chat - ÝÅ ÏÄÉΠIRC Ë̦¤ÎÔ ÄÌÑ X Window System, ÑËÉÊ ×ÉËÏÒÉÓÔÏ×Õ¤
-¦ÎÓÔÒÕÍÅÎÔÁҦʠGtk+. ÷¦Î ÄÏÓÉÔØ ÌÅÇËÉÊ Õ ×ÉËÏÒÉÓÔÁÎΦ ÐÏÒ¦×ÎÑÎÏ Ú
-¦ÎÛÉÍÉ Gtk+ IRC-Ë̦¤ÎÔÁÍÉ ÔÁ ÍÁ¤ ÄÏÓÉÔØ ÐÒɤÍÎÏ ÒÏÚÒÏÂÌÅÎÉÊ ¦ÎÔÅÒÆÅÊÓ.
+¦ÎÓÔÒÕÍÅÎÔÁҦʠGTK+. ÷¦Î ÄÏÓÉÔØ ÌÅÇËÉÊ Õ ×ÉËÏÒÉÓÔÁÎΦ ÐÏÒ¦×ÎÑÎÏ Ú
+¦ÎÛÉÍÉ GTK+ IRC-Ë̦¤ÎÔÁÍÉ ÔÁ ÍÁ¤ ÄÏÓÉÔØ ÐÒɤÍÎÏ ÒÏÚÒÏÂÌÅÎÉÊ ¦ÎÔÅÒÆÅÊÓ.
 
 %prep
 %setup -q
 %patch0 -p1
-#%patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-#%patch4 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 cp %{SOURCE1} po/pl.po
 
 %build
 rm -f config.status missing
+%{__libtoolize}
 %{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
 %configure \
@@ -162,10 +160,7 @@ install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       utildir=%{_applnkdir}/Network/Communications
-
-install xchat.desktop $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
-install xchat.png $RPM_BUILD_ROOT%{_pixmapsdir}
+       utildir=%{_desktopdir}
 
 %find_lang %{name}
 
@@ -174,7 +169,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog AUTHORS 
+%doc ChangeLog faq.html HACKING README
 %attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Network/Communications/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
This page took 0.146444 seconds and 4 git commands to generate.