[tkabber] Initial import (#650180).

Dmitrij S. Kryzhevich krege at fedoraproject.org
Mon Nov 8 03:12:44 UTC 2010


commit 66af080e1a1c7c6eb96e2ab28821560f40e90d84
Author: Dmitrij S. Kryzhevich <krege at land.ru>
Date:   Mon Nov 8 09:12:36 2010 +0600

    Initial import (#650180).

 .gitignore                   |    1 +
 sources                      |    1 +
 tkabber                      |    7 +++
 tkabber-0.11.1-install.patch |   25 +++++++++++
 tkabber-remote               |    7 +++
 tkabber-snapshot.sh          |    8 +++
 tkabber.desktop              |   11 +++++
 tkabber.png                  |  Bin 0 -> 8483 bytes
 tkabber.spec                 |   98 ++++++++++++++++++++++++++++++++++++++++++
 9 files changed, 158 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..06767fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tkabber-0.11.1.tar.bz2
diff --git a/sources b/sources
index e69de29..81a01e9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dfdedc79c99d9a4e573c0149421ca98e  tkabber-0.11.1.tar.bz2
diff --git a/tkabber b/tkabber
new file mode 100755
index 0000000..954e028
--- /dev/null
+++ b/tkabber
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -x /usr/share/tkabber-plugins/ ]
+then
+export TKABBER_SITE_PLUGINS=/usr/share/tkabber-plugins
+fi
+exec /usr/share/tkabber/tkabber.tcl "$@"
diff --git a/tkabber-0.11.1-install.patch b/tkabber-0.11.1-install.patch
new file mode 100644
index 0000000..1f9b81e
--- /dev/null
+++ b/tkabber-0.11.1-install.patch
@@ -0,0 +1,25 @@
+diff -up tkabber-0.11.1/Makefile tkabber-0.11.1-install/Makefile
+--- tkabber-0.11.1/Makefile	2009-10-31 22:35:20.490883000 +0600
++++ tkabber-0.11.1-install/Makefile	2010-11-05 17:33:04.910101730 +0600
+@@ -1,6 +1,6 @@
+ # $Id: Makefile 1849 2009-10-31 16:35:20Z sergei $
+ 
+-PREFIX = /usr/local
++PREFIX = /usr
+ TKABBERDIR = $(PREFIX)/share/tkabber
+ DOCDIR = $(PREFIX)/share/doc/tkabber
+ BINDIR = $(PREFIX)/bin
+@@ -33,13 +33,6 @@ install-bin:
+ 	cp -r *.tcl $(SUBDIRS) $(DESTDIR)$(TKABBERDIR)
+ 	chmod 755 $(DESTDIR)$(TKABBERDIR)/tkabber.tcl
+ 	chmod 755 $(DESTDIR)$(TKABBERDIR)/tkabber-remote.tcl
+-	mkdir -p $(DESTDIR)$(BINDIR)
+-	echo "#!/bin/sh" >$(DESTDIR)$(BINDIR)/tkabber
+-	echo "exec $(TKABBERDIR)/tkabber.tcl \"\$$@\"" >>$(DESTDIR)$(BINDIR)/tkabber
+-	echo "#!/bin/sh" >$(DESTDIR)$(BINDIR)/tkabber-remote
+-	echo "exec $(TKABBERDIR)/tkabber-remote.tcl \"\$$@\"" >>$(DESTDIR)$(BINDIR)/tkabber-remote
+-	chmod 755 $(DESTDIR)$(BINDIR)/tkabber
+-	chmod 755 $(DESTDIR)$(BINDIR)/tkabber-remote
+ 
+ install-doc: doc
+ 	mkdir -p $(DESTDIR)$(DOCDIR)
diff --git a/tkabber-remote b/tkabber-remote
new file mode 100755
index 0000000..ee02d12
--- /dev/null
+++ b/tkabber-remote
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -x /usr/share/tkabber-plugins/ ]
+then
+export TKABBER_SITE_PLUGINS=/usr/share/tkabber-plugins
+fi
+exec /usr/share/tkabber/tkabber-remote.tcl "$@"
diff --git a/tkabber-snapshot.sh b/tkabber-snapshot.sh
new file mode 100755
index 0000000..925073f
--- /dev/null
+++ b/tkabber-snapshot.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+version=0.11.1
+svnrev=1948
+
+svn export -r $svnrev http://svn.xmpp.ru/repos/tkabber/trunk/tkabber tkabber-${version}
+
+tar cjf tkabber-${version}.tar.bz2 tkabber-${version}
diff --git a/tkabber.desktop b/tkabber.desktop
new file mode 100644
index 0000000..2c3c25f
--- /dev/null
+++ b/tkabber.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Tkabber
+GenericName=Jabber client
+Comment=Talk over Jabber/XMPP
+Comment[ru]=Общайтесь через Jabber/XMPP
+Exec=tkabber
+Icon=tkabber
+StartupNotify=true
+Terminal=false
+Type=Application
+Categories=Network;InstantMessaging;
diff --git a/tkabber.png b/tkabber.png
new file mode 100644
index 0000000..839fc82
Binary files /dev/null and b/tkabber.png differ
diff --git a/tkabber.spec b/tkabber.spec
new file mode 100644
index 0000000..cf36853
--- /dev/null
+++ b/tkabber.spec
@@ -0,0 +1,98 @@
+%define svnrev svn1948
+
+Name:           tkabber
+Version:        0.11.1
+Release:        2.%{svnrev}%{?dist}
+Summary:        Client for the Jabber instant messaging system
+
+Group:          Applications/Internet
+License:        GPLv2+
+URL:            http://tkabber.jabber.ru/
+Source0:        %{name}-%{version}.tar.bz2
+# for relase version:
+#Source0:        http://files.jabber.ru/tkabber/%{name}-%{version}.tar.gz
+# script to get tkabber from svn
+Source1:        tkabber-snapshot.sh
+Source2:        tkabber.png
+Source3:        tkabber.desktop
+Source4:        tkabber
+Source5:        tkabber-remote
+Patch0:         tkabber-0.11.1-install.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+
+BuildRequires:  desktop-file-utils
+Requires:       tcllib
+Requires:       bwidget
+Requires:       tcltls
+Requires:       tkimg
+Requires:       tdom
+Requires:       tktray
+Requires:       tcl-tclxml
+Requires:       tcl-tkpng
+Requires:       tcl-zlib
+
+
+%description
+Tkabber is a Free and Open Source client for the Jabber
+instant messaging system. It's written in Tcl/Tk, and
+works on many platforms. The choice of Tcl/Tk for a Jabber
+client is three-fold:
+* it is portable: once you install a Tcl/Tk interpreter on
+  your system, the Tkabber script "just runs" — without having
+  to compile anything;
+* it is customizable: Tkabber reads a configuration file when
+  it starts that tells it the settings of various parameters; and,
+* it is extensible: the configuration file is actually a Tcl
+  script, so you can replace or augment entire portions of Tkabber
+  (if you're so inclined).
+
+%prep
+%setup -q
+%patch0 -p1 -b .install
+
+
+%build
+
+# empty here
+
+%install
+rm -rf %{buildroot}
+
+make install-bin DESTDIR=%{buildroot}
+
+desktop-file-install --dir=%{buildroot}/%{_datadir}/applications %{SOURCE3}
+
+mkdir -p %{buildroot}%{_datadir}/pixmaps/
+mkdir -p %{buildroot}%{_bindir}
+cp %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/
+cp %{SOURCE4} %{SOURCE5} %{buildroot}%{_bindir}
+
+chmod 755 %{buildroot}%{_bindir}/tkabber
+chmod 755 %{buildroot}%{_bindir}/tkabber-remote
+
+
+%clean
+rm -rf %{buildroot}
+
+%post
+update-desktop-database &> /dev/null ||:
+
+%postun
+update-desktop-database &> /dev/null || :
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog README doc/tkabber.html
+%{_bindir}/tkabber
+%{_bindir}/tkabber-remote
+%{_datadir}/tkabber
+%{_datadir}/applications/tkabber.desktop
+%{_datadir}/pixmaps/tkabber.png
+
+%changelog
+* Fri Nov 05 2010 Dmitrij S. Kryzhevich <krege at land.ru> - 0.11.1-2.svn1948
+- Fix License.
+* Fri Nov 05 2010 Dmitrij S. Kryzhevich <krege at land.ru> - 0.11.1-1.svn1948
+- First build.
\ No newline at end of file


More information about the scm-commits mailing list