]> git.pld-linux.org Git - packages/xchat.git/blobdiff - xchat.spec
- no -> nb, restored pl (%^&$%^&#$ pbern)
[packages/xchat.git] / xchat.spec
index 88ff1e8ac2d9bab57e8e94dd15cd7a6502a6fa15..7450e5a4ff5b79d6904d435a8e628e1db7708916 100644 (file)
@@ -9,10 +9,10 @@ Summary(is):  IRC spjallforrit sem notar GTK+
 Summary(it):   Client Gtk+ IRC (chat)
 Summary(ja):   GTK+ IRC (¥Á¥ã¥Ã¥È) ¥¯¥é¥¤¥¢¥ó¥È
 Summary(ko):   GTK+ IRC (äÆÃ) Å¬¶óÀ̾ðÆ®
-Summary(no):   En GTK+-basert IRC-klient
+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(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)
@@ -20,35 +20,30 @@ Summary(sv):        En GTK+-IRC- (chatt-)klient
 Summary(uk):   Gtk+ IRC Ë̦¤ÎÔ
 Summary(zh_CN):        GTK+ IRC (ÁÄÌì) ¿Í»§¡£
 Name:          xchat
-Version:       1.9.7
-Release:       1
+Version:       2.0.10
+Release:       1.1
 Epoch:         1
-License:       GPL
+License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://xchat.org/files/source/1.8/%{name}-%{version}.tar.bz2
+Source0:       http://xchat.org/files/source/2.0/%{name}-%{version}.tar.bz2
+# Source0-md5: 968bc5f074fd7c202a8d63758bd5b62d
 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
 Icon:          xchat.xpm
 URL:           http://xchat.org/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 2.0.3
 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: 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
@@ -132,17 +127,16 @@ X-Chat - 
 %prep
 %setup -q
 %patch0 -p1
-#%patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-#%patch4 -p1
+%patch1 -p1
 
+mv -f po/{no,nb}.po
 cp %{SOURCE1} po/pl.po
 
 %build
 rm -f config.status missing
+%{__libtoolize}
 %{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
 %configure \
@@ -162,9 +156,12 @@ install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       utildir=%{_applnkdir}/Network/Communications
+       utildir=%{_desktopdir}
+
+mv -f %{name}.desktop %{name}.desktop.orig
+sed -e 's/Network;/Network;InstantMessaging;/' %{name}.desktop.orig > %{name}.desktop
 
-install xchat.desktop $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
+install xchat.desktop $RPM_BUILD_ROOT%{_desktopdir}
 install xchat.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %find_lang %{name}
@@ -174,7 +171,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.11373 seconds and 4 git commands to generate.