rpms/amsn/F-8 amsn.spec,1.14,1.15

Sander Hoentjen (tjikkun) fedora-extras-commits at redhat.com
Sun Nov 11 13:35:19 UTC 2007


Author: tjikkun

Update of /cvs/pkgs/rpms/amsn/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18343

Modified Files:
	amsn.spec 
Log Message:
xdg-open instead of htmlview and some other minor changes



Index: amsn.spec
===================================================================
RCS file: /cvs/pkgs/rpms/amsn/F-8/amsn.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- amsn.spec	31 Mar 2007 14:37:37 -0000	1.14
+++ amsn.spec	11 Nov 2007 13:34:45 -0000	1.15
@@ -1,9 +1,8 @@
-%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
 %{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
 
 Name:           amsn
 Version:        0.96
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        MSN Messenger clone for Linux, Mac and Windows
 
 Group:          Applications/Internet
@@ -12,9 +11,9 @@
 Source0:        http://dl.sourceforge.net/amsn/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  autoconf, desktop-file-utils, tcl, tk-devel, which, libpng-devel, libjpeg-devel
-Requires:       tcl(abi) = %{tcl_version}
-Requires:       tcltls, tclsoap, tcllib, bwidget, tk, tkdnd, htmlview, sox
+BuildRequires:  autoconf, desktop-file-utils, tk-devel, which, libpng-devel, libjpeg-devel
+Requires:       tcl(abi) = 8.4
+Requires:       tcltls, tclsoap, tcllib, bwidget, tkdnd, xdg-utils, alsa-utils
 Patch1:         amsn-0.96-system-bwidget.patch
 
 %description
@@ -47,9 +46,13 @@
 %{__sed} -i 's#\.\./libng/contrib-plugins#%{tcl_sitearch}/capture/libng/contrib-plugins#' utils/linux/capture/libng/grab-ng.c
 
 %{__sed} -i 's# utils/BWidget-1.7.0##' Makefile.in
-%{__sed} -i 's#mozilla#htmlview#' config.tcl
-%{__sed} -i 's#my_filemanager open#gnome-open#' config.tcl
+%{__sed} -i 's#mozilla#xdg-open#' config.tcl
+%{__sed} -i 's#my_filemanager open#xdg-open#' config.tcl
+%{__sed} -i 's#openfilecommand ""#openfilecommand "xdg-open \\$file"#' config.tcl
+%{__sed} -i 's#soundcommand "play \\$sound"#soundcommand "aplay -q \\$sound"#' config.tcl
 %{__sed} -i 's#set program_dir \[file dirname \[info script\]\]#set program_dir "%{_datadir}/amsn/"#' amsn amsn-remote amsn-remote-CLI
+%{__sed} -i 's#Info=AMSN#X-Info=AMSN#' amsn.desktop
+
 autoconf
 
 %build
@@ -125,6 +128,11 @@
 
 
 %changelog
+* Sun Nov 11 2007 Sander Hoentjen <sander at hoentjen.eu> - 0.96-10
+- change htmlview to xdg-open (bug #365381)
+- use alsa by default for playing sounds
+- undo rev 8 and 9 changes until it is supported
+
 * Thu Mar 31 2007 Sander Hoentjen <sander at hoentjen.eu> - 0.96-9
 - buildrequire tcl
 




More information about the fedora-extras-commits mailing list