rpms/coccinella/F-9 Coccinella-0.96.8-system-treectrl.patch, NONE, 1.1 coccinella.desktop, NONE, 1.1 coccinella.spec, NONE, 1.1 sources, 1.1, 1.2

Tom Callaway spot at fedoraproject.org
Thu Apr 9 19:45:36 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/coccinella/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30594/F-9

Modified Files:
	sources 
Added Files:
	Coccinella-0.96.8-system-treectrl.patch coccinella.desktop 
	coccinella.spec 
Log Message:
initial branching

Coccinella-0.96.8-system-treectrl.patch:

--- NEW FILE Coccinella-0.96.8-system-treectrl.patch ---
diff -up Coccinella-0.96.12Src/lib/Init.tcl.BAD Coccinella-0.96.12Src/lib/Init.tcl
--- Coccinella-0.96.12Src/lib/Init.tcl.BAD	2009-04-07 17:23:22.000000000 -0400
+++ Coccinella-0.96.12Src/lib/Init.tcl	2009-04-07 17:23:25.000000000 -0400
@@ -740,7 +740,7 @@ proc ::Init::LoadPackages {} {
     
     # treectrl is required.
     ::Splash::SetMsg [mc "Looking for %s" treectrl]...
-    set ::treectrl_library [file join $this(binLibPath) treectrl]
+    # set ::treectrl_library [file join $this(binLibPath) treectrl]
     if {[catch {package require treectrl 2.2} msg]} {
 	tk_messageBox -icon error -title [::msgcat::mc "Error"] \
 	  -message "This application requires the treectrl widget to work! $::errorInfo"


--- NEW FILE coccinella.desktop ---

[Desktop Entry]
Name=Coccinella
GenericName=Coccinella Chat Client
Comment=Coccinella Chat Client
Exec=/usr/bin/coccinella
Icon=coccinella
Terminal=false
Type=Application
Categories=Network;InstantMessaging;Telephony;


--- NEW FILE coccinella.spec ---
Name:		coccinella
Version:	0.96.12
Release:	2%{?dist}
Summary:	Chat client with whiteboard
Group:		Applications/Internet
License:	GPLv3+ and BSD
URL:		http://thecoccinella.org
Source0:	http://download.sourceforge.net/coccinella/Coccinella-%{version}Src.tar.gz
Source1:	%{name}.desktop
Patch0:		Coccinella-0.96.8-system-treectrl.patch
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires:	desktop-file-utils
Requires:	iax, iaxclient, tkimg, memchan, tcl-snack, tcl-tileqt
Requires:	tkdnd, tcl-tkpng, tktray, tcltls, tcl-tcludp, tcl-tclvfs, tcl-zlib
Requires:	tcl-tktreectrl, desktop-file-utils
Requires:	tcl(abi) = 8.5
BuildArch:	noarch

%description
Coccinella is a free and open-source cross-platform chat client with a built-in 
whiteboard for improved collaboration with other people. Other key features of 
Coccinella include:
* File transfer
* Plugin system
* Group chat (MUC)
* Avatars and emoticons
* Multi-lingual and internationalized
* Secured connections (TLS and SASL)
* Open standard instant messaging protocol (Jabber/XMPP)

%prep
%setup -q -n Coccinella-%{version}Src
rm -rf bin/
%patch0 -p1 -b .system-treectrl

# clean up exec perms
chmod -x jabberlib/*.tcl contrib/*.tcl plugins/*.tcl READMEs/* msgs/*.msg jabber/* docs/* components/Phone/*.tcl \
	 whiteboard/*.tcl components/Phone/IAX/*.tcl components/*.tcl \
	 README.txt lib/*.tcl items/Games/Chess.can contrib/tiles/*.png \
	 items/Games/chessimages/*.gif themes/Aqua/icons/16x16/*.png \
	 themes/Oxygen/elements/*.gif themes/Oxygen/elements/phone/*.png \
	 themes/Oxygen/elements/*.png themes/Oxygen/icons/*/*.png \
	 themes/Oxygen/sounds/*.wav themes/Oxygen/icons/others/*.ico

# Get rid of place-holder files
rm -rf themes/Crystal/iconsets/service/place-holder themes/Crystal/iconsets/emoticons/place-holder themes/Crystal/sounds/place-holder
rm -rf themes/Crystal/icons/scalable/place-holder themes/Crystal/iconsets/roster/place-holder themes/Crystal/chatstyles/place-holder

# Convert to UTF-8
for i in CHANGES.txt; do
	iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
	mv $i{.utf8,}
done

# Fix end of line encoding
sed -i -e 's|\r||g' docs/Welcome_en.can

%build
# Nothing to do here.

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/%{name}/
for i in Coccinella.tcl components contrib httpd iconsets items jabber jabberlib lib msgs pkgIndex.tcl plugins resources TclXML themes whiteboard; do
	cp -a $i %{buildroot}%{_datadir}/%{name}/  
done

mkdir -p %{buildroot}%{_datadir}/pixmaps/ 
cp -a %{buildroot}%{_datadir}/%{name}/themes/Oxygen/icons/128x128/%{name}.png %{buildroot}%{_datadir}/pixmaps/

mkdir -p %{buildroot}%{_datadir}/applications/

desktop-file-install					\
	--dir %{buildroot}%{_datadir}/applications	\
	%{SOURCE1}

mkdir -p %{buildroot}%{_bindir}
cd %{buildroot}%{_bindir}
ln -s ../share/%{name}/Coccinella.tcl %{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS.txt README.txt COPYING.txt READMEs/ CHANGES.txt
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/%{name}.png

%changelog
* Thu Apr  9 2009 Tom "spot" Callaway <tcallawa at redhat.com> 0.96.12-2
- lots of cleanups

* Tue Apr  7 2009 Tom "spot" Callaway <tcallawa at redhat.com> 0.96.12-1
- update to 0.96.12

* Tue Apr  7 2009 Tom "spot" Callaway <tcallawa at redhat.com> 0.96.10-3
- tcl-tile is part of base tcl/tk now, no need for a separate Requires

* Mon Nov  3 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.96.10-2
- bundle local copy of coccinella's hacked tclxml

* Wed Oct 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.96.10-1
- update to 0.96.10

* Thu Jul 3 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.96.8-1
- initial package for Fedora


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/coccinella/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Apr 2009 19:41:01 -0000	1.1
+++ sources	9 Apr 2009 19:45:05 -0000	1.2
@@ -0,0 +1 @@
+b2daed9f721f8d7920b95a8913b697bd  Coccinella-0.96.12Src.tar.gz




More information about the fedora-extras-commits mailing list