rpms/xchat/F-7 xchat-2.8.2-desktop.patch, NONE, 1.1 xchat.spec, 1.62, 1.63 xchat-2.4.2-nickmenu-away-msg.patch, 1.2, NONE xchat-2.4.3-lib64.patch, 1.1, NONE xchat-2.4.4-multiline-messages.patch, 1.1, NONE xchat-2.4.4-redhat-desktop.patch, 1.1, NONE xchat-2.6.0-dbus-api.patch, 1.1, NONE xchat-2.6.6-es.patch, 1.1, NONE xchat-2.6.6-fi.patch, 1.1, NONE xchat-2.6.6-nonblock.patch, 1.1, NONE xchat-2.6.6-simplify-to-use-gnome-open-for-default-webbrowser.patch, 1.1, NONE xchat-2.6.6-simplify-to-use-htmlview-for-default-webbrowser.patch, 1.1, NONE

Kevin Kofler (kkofler) fedora-extras-commits at redhat.com
Mon May 28 03:12:11 UTC 2007


Author: kkofler

Update of /cvs/pkgs/rpms/xchat/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7954/F-7

Modified Files:
	xchat.spec 
Added Files:
	xchat-2.8.2-desktop.patch 
Removed Files:
	xchat-2.4.2-nickmenu-away-msg.patch xchat-2.4.3-lib64.patch 
	xchat-2.4.4-multiline-messages.patch 
	xchat-2.4.4-redhat-desktop.patch xchat-2.6.0-dbus-api.patch 
	xchat-2.6.6-es.patch xchat-2.6.6-fi.patch 
	xchat-2.6.6-nonblock.patch 
	xchat-2.6.6-simplify-to-use-gnome-open-for-default-webbrowser.patch 
	xchat-2.6.6-simplify-to-use-htmlview-for-default-webbrowser.patch 
Log Message:
Update to 2.8.2, merge changes from Remi Collet and Marius Feraru (#224180).
Remove no longer used patches.
Further cleanups:
- mention Tcl in description
- add release and user name to buildroot
- follow desktop-entry-spec on Name and GenericName as required by the Packaging
  Guidelines
- drop BR gtkspell-devel as it's not currently used

xchat-2.8.2-desktop.patch:

--- NEW FILE xchat-2.8.2-desktop.patch ---
diff -ur xchat-2.8.2/xchat.desktop xchat-2.8.2-desktop/xchat.desktop
--- xchat-2.8.2/xchat.desktop	2005-06-06 08:05:29.000000000 +0200
+++ xchat-2.8.2-desktop/xchat.desktop	2007-05-28 04:44:48.000000000 +0200
@@ -1,20 +1,20 @@
 [Desktop Entry]
 Encoding=UTF-8
-Name=XChat IRC
+Name=X-Chat
 Name[zh_TW]=網路清談
-Comment[de]=IRC-Client
-Comment[es]=Aplicación de IRC
-Comment[fi]=IRC-sovellus
-Comment[fr]=Client IRC
-Comment[hu]=IRC-kliens
-Comment[lt]=IRC klientas
-Comment[no]=IRC-klient
-Comment[pt_BR]=Cliente de IRC
-Comment[sl]=Odjemalec IRC
-Comment[sv]=IRC-klient
-Comment[ro]=Client de IRC
-Comment[zh_TW]=X-Chat 聊天程式
-Comment=IRC Client
+GenericName[de]=IRC-Client
+GenericName[es]=Aplicación de IRC
+GenericName[fi]=IRC-sovellus
+GenericName[fr]=Client IRC
+GenericName[hu]=IRC-kliens
+GenericName[lt]=IRC klientas
+GenericName[no]=IRC-klient
+GenericName[pt_BR]=Cliente de IRC
+GenericName[sl]=Odjemalec IRC
+GenericName[sv]=IRC-klient
+GenericName[ro]=Client de IRC
+GenericName[zh_TW]=X-Chat 聊天程式
+GenericName=IRC Client
 Exec=xchat
 Icon=xchat.png
 Terminal=false


Index: xchat.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xchat/F-7/xchat.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- xchat.spec	24 Mar 2007 06:04:03 -0000	1.62
+++ xchat.spec	28 May 2007 03:11:37 -0000	1.63
@@ -1,40 +1,29 @@
-# Enable this for Fedora Core 2 builds and newer.  For Fedora Core 1,
-# Red Hat Linux 9, and Red Hat Enterprise Linux 3, set to 0
-%define build_fc2		1
-
 %define gconf_version 2.14
 
 Summary:   A popular and easy to use graphical IRC (chat) client
 Name:      xchat
-Version:   2.6.6
-Release:   9%{?dist}
+Version:   2.8.2
+Release:   2%{?dist}
 Epoch:     1
 Group:     Applications/Internet
 License:   GPL
 URL:       http://www.xchat.org
-Source:    http://www.xchat.org/files/source/2.6/xchat-%{version}.tar.bz2
-Buildroot: %{_tmppath}/%{name}-%{version}-root
+Source:    http://www.xchat.org/files/source/2.8/xchat-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
 # Patches 0-9 reserved for official xchat.org patches
 
-Patch10: xchat-2.4.4-redhat-desktop.patch
+Patch10: xchat-2.8.2-desktop.patch
 Patch12: xchat-1.8.7-use-sysconf-to-detect-cpus.patch
 Patch19: xchat-2.0.2-freenode.patch
-Patch21: xchat-2.6.6-nonblock.patch
-Patch22: xchat-2.6.6-simplify-to-use-gnome-open-for-default-webbrowser.patch
-Patch23: xchat-2.6.6-simplify-to-use-htmlview-for-default-webbrowser.patch
 Patch33: xchat-2.4.3-im_context_filter_keypress.patch
 # filed as 1262423 in the xchat bug tracker
 Patch34: xchat-2.4.4-unrealize.patch
 
-# upstream 2.6.6 fi patch
-Patch35: xchat-2.6.6-fi.patch
-# upstream 2.6.6 es patch
-Patch36: xchat-2.6.6-es.patch
-
-BuildRequires: perl python-devel openssl-devel pkgconfig
-BuildRequires: GConf2-devel, gtkspell-devel
+BuildRequires: perl python-devel openssl-devel pkgconfig, tcl-devel
+BuildRequires: GConf2-devel
 BuildRequires: dbus-devel >= 0.60, dbus-glib-devel >= 0.60
-BuildRequires: glib2-devel >= 2.0.3, gtk2-devel >= 2.0.3, bison >= 1.35
+BuildRequires: glib2-devel >= 2.10.0, gtk2-devel >= 2.10.0, bison >= 1.35
 BuildRequires: gettext /bin/sed
 BuildRequires: libtool
 # For gconftool-2:
@@ -45,26 +34,25 @@
 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires: gtkspell
 
+Provides:    xchat-perl, xchat-python, xchat-tcl
+Obsoletes:   xchat-perl, xchat-python, xchat-tcl
+
 %description
-X-Chat is an easy to use graphical IRC chat client for the X Window
-System. 
+X-Chat is an easy to use graphical IRC chat client for the X Window System.
+It allows you to join multiple IRC channels (chat rooms) at the same time, 
+talk publicly, private one-on-one conversations etc. Even file transfers
+are possible. 
+
+This include the plugins to run the Perl, Python and Tcl scripts.
 
 %prep
 %setup -q
 
-%patch10 -p1 -b .redhat-desktop-file
+%patch10 -p1 -b .desktop-file
 %patch12 -p0 -b .use-sysconf-to-detect-cpus
 %patch19 -p0 -b .freenode
-%patch21 -p1 -b .nonblock
-%if %{build_fc2}
-%patch22 -p1 -b .simplify-to-use-gnome-open-for-default-webbrowser
-%else
-%patch23 -p1 -b .simplify-to-use-htmlview-for-default-webbrowser
-%endif
 %patch33 -p1 -b .im_context_filter_keypress
 %patch34 -p1 -b .unrealize
-%patch35 -p1 -b .fi266
-%patch36 -p1 -b .es266
 
 %build
 # Remove CVS files from source dirs so they're not installed into doc dirs.
@@ -75,39 +63,46 @@
 
 %configure --disable-panel \
            --disable-textfe \
+           --enable-gtkfe \
            --enable-openssl \
            --enable-python \
-	   --disable-tcl \
+           --enable-tcl \
            --enable-ipv6 \
-           --enable-spell=static
+           --enable-spell=static \
+           --enable-shm
 
 # gtkspell breaks Input Method commit with ENTER
-# static works if the optional exchant package is installed
+# static works if the optional enchant package is installed
 
 make %{?_smp_mflags}
 
+
 %install
 %{__rm} -rf $RPM_BUILD_ROOT
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
-%makeinstall
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+%{__make} install DESTDIR=$RPM_BUILD_ROOT GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
 # Get rid of static libs
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
-
-# Move plugins around
-%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
-for plugin in perl.so python.so dbus.so; do
-  %{__mv} $RPM_BUILD_ROOT%{_libdir}/$plugin $RPM_BUILD_ROOT%{_libdir}/xchat/plugins/
-done
+%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/xchat/plugins/*.la
 
 %find_lang %name
 
+# do not Provide plugins .so
+%define _use_internal_dependency_generator 0
+%{__cat} << \EOF > %{name}.prov
+#!%{_buildshell}
+%{__grep} -v %{_docdir} - | %{__find_provides} $* \
+	| %{__sed} '/\.so$/d'
+EOF
+%define __find_provides %{_builddir}/%{name}-%{version}/%{name}.prov
+%{__chmod} +x %{__find_provides}
+
+
 %post
 # Install schema
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule /etc/gconf/schemas/apps_xchat_url_handler.schemas >& /dev/null || :
 
+
 %pre
 if [ "$1" -gt 1 ]; then
   export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
@@ -126,19 +121,59 @@
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc README ChangeLog
+%doc plugins/plugin20.html plugins/perl/xchat2-perl.html
 %{_bindir}/xchat
-%{_bindir}/xchat-remote
 %dir %{_libdir}/xchat
 %dir %{_libdir}/xchat/plugins
 %{_libdir}/xchat/plugins/*.so
 %{_datadir}/applications/xchat.desktop
 %{_datadir}/pixmaps/*
 %{_sysconfdir}/gconf/schemas/apps_xchat_url_handler.schemas
+%{_datadir}/dbus-1/services/org.xchat.service.service
 
 %changelog
+* Mon May 28 2007 Kevin Kofler <Kevin at tigcc.ticalc.org> - 1:2.8.2-2
+- merge updates by Remi Collet and Marius Feraru (#224180)
+- mention Tcl in description
+- add release and user name to buildroot
+- follow desktop-entry-spec on Name and GenericName as required by the Packaging
+  Guidelines
+- drop BR gtkspell-devel as it's not currently used
+
+* Thu Apr  5 2007 Remi Collet <RPMS at FamilleCollet.com> - 1:2.8.2-1.fc6.remi
+- update to 2.8.2
+
 * Sat Mar 24 2007 Matthias Clasen <mclasen at redhat.com> - 1:2.6.6-9
 - Own /usr/lib/xchat (#166731)
 
+* Thu Jan 25 2007 Marius Feraru <altblue at n0i.net> - 1:2.8.0-1.n0i.1
+- version 2.8.0
+- disabled some patches: nonblock, locale (fi, es)
+- enabled fast tinting
+- fixed "exchant" typo
+- switched to using the "make install" (DESTDIR works)
+- simplified gconf schema disabling method
+- dropped plugins mover
+- updated "Get rid of static libs"
+- dropped xchat-remote
+- updated build requirements
+- dropped "default-webbrowser" patches (xchat tries to do it better now)
+- do not provide "perl.so", "python.so", etc
+- own everything under %%{_libdir}/xchat
+- converted spec file to UTF8
+- fixed desktop entry category (dropping "Application")
+- keep plugins documentation
+
+* Tue Jan 16 2007 Remi Collet <RPMS at FamilleCollet.com> - 1:2.8.0-2.fc6.remi
+- add Provides/Osboletes for extensions (split RPM available on xchat.org).
+- longer description
+- enable tcl extension
+- Requires gtk >= 2.10.0
+
+* Mon Jan 15 2007 Remi Collet <RPMS at FamilleCollet.com> - 1:2.8.0-1.fc6.remi
+- update to 2.8.0
+- add upstream patches (xc280-fix-back.diff, xc280-fix-ja.diff)
+
 * Fri Nov  3 2006 Matthias Clasen <mclasen at redhat.com> - 1:2.6.6-8
 - Silence %%pre (#213838)
 
@@ -550,7 +585,7 @@
 * Mon Jun 25 2001 Karsten Hopp <karsten at redhat.de>
 - use konqueror, not kfmclient on URLs
 
-* Fri Feb 23 2001 Trond Eivind Glomsrød <teg at redhat.com>
+* Fri Feb 23 2001 Trond Eivind Glomsrød <teg at redhat.com>
 - langify
 - use %%{_tmppath}
 - make it compile


--- xchat-2.4.2-nickmenu-away-msg.patch DELETED ---


--- xchat-2.4.3-lib64.patch DELETED ---


--- xchat-2.4.4-multiline-messages.patch DELETED ---


--- xchat-2.4.4-redhat-desktop.patch DELETED ---


--- xchat-2.6.0-dbus-api.patch DELETED ---


--- xchat-2.6.6-es.patch DELETED ---


--- xchat-2.6.6-fi.patch DELETED ---


--- xchat-2.6.6-nonblock.patch DELETED ---


--- xchat-2.6.6-simplify-to-use-gnome-open-for-default-webbrowser.patch DELETED ---


--- xchat-2.6.6-simplify-to-use-htmlview-for-default-webbrowser.patch DELETED ---




More information about the fedora-extras-commits mailing list