]> git.pld-linux.org Git - packages/gajim.git/commitdiff
This commit was manufactured by cvs2git to create branch 'unlabeled-1.2.2'.
authorcvs2git <feedback@pld-linux.org>
Wed, 15 Jun 2005 13:56:21 +0000 (13:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2005-06-15 13:56:21 UTC Robert Kurowski <koorek@pld-linux.org> '- removed unneccessary $DESTDIR'
Delete:
    gajim-SRV.patch
    gajim.spec

gajim-SRV.patch [deleted file]
gajim.spec [deleted file]

diff --git a/gajim-SRV.patch b/gajim-SRV.patch
deleted file mode 100644 (file)
index b5e2ed0..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -urN gajim-0.7.1/src/common/xmpp/transports.py fix/gajim-0.7.1/src/common/xmpp/transports.py
---- gajim-0.7.1/src/common/xmpp/transports.py  2005-06-05 12:56:36.000000000 +0200
-+++ fix/gajim-0.7.1/src/common/xmpp/transports.py      2005-06-15 01:47:56.000000000 +0200
-@@ -32,6 +32,12 @@
- from client import PlugIn
- from protocol import *
-+try:
-+    import dns.resolver
-+except:
-+    pass
-+        
-+
- class error:
-     """An exception to be raised in case of low-level errors in methods of 'transports' module."""
-     def __init__(self,comment):
-@@ -50,6 +56,28 @@
-         PlugIn.__init__(self)
-         self.DBG_LINE='socket'
-         self._exported_methods=[self.send,self.disconnect]
-+
-+        # SRV resolver
-+        if 'dns' in globals(): # if dnspython is available support SRV
-+            host, port = server
-+            possible_queries = [
-+                "_xmpp-client._tcp." + host,
-+                "_jabber._tcp." + host,
-+            ]
-+
-+            for query in possible_queries:
-+                try:
-+                    answers = [x for x in dns.resolver.query(query, 'SRV')]
-+                    if answers:
-+                        host = str (answers[0].target)
-+                        port = int (answers[0].port)
-+                        break
-+                except:
-+                    pass
-+
-+            server = (host, port)
-+        # end of SRV resolver
-+
-         self._server = server
-     def plugin(self, owner):
diff --git a/gajim.spec b/gajim.spec
deleted file mode 100644 (file)
index 4147fb7..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-Summary:       A Jabber client written in PyGTK
-Summary(pl):   Klient Jabbera napisany w PyGTK
-Name:          gajim
-Version:       0.7.1
-Release:       1
-License:       GPL
-Group:         Applications/Communications
-Source0:       http://gajim.org/downloads/gajim-0.7.1.tar.bz2
-# Source0-md5: f795d550749d78839d1b6a554bbff545
-Patch0:                %{name}-SRV.patch
-Patch1:                %{name}-makefile.patch
-URL:           http://www.gajim.org/
-BuildRequires: gtkspell-devel
-BuildRequires: gettext-devel
-BuildRequires: python-pygtk-devel
-%pyrequires_eq python-modules
-%pyrequires_eq python
-Requires:      python-dns
-Requires:      python-gnome-extras-egg >= 2.10.0
-Requires:      python-gnome-extras-gtkspell >= 2.10.0
-Requires:      python-pygtk-glade >= 2.6.0
-Requires:      python-pygtk-gtk >= 2.6.0
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Gajim is a Jabber client written in PyGTK. The goal of Gajim's
-developers is to provide a full featured and easy to use XMPP client
-for the GTK+ users. Gajim does not require GNOME to run, eventhough it
-exists with it nicely.
-
-%description -l pl
-Gajim to klient Jabbera napisany w PyGTK. Celem twórców Gajima jest
-dostarczenie w pe³ni funkcjonalnego i ³atwego w u¿yciu klienta XMPP
-dla u¿ytkowników GTK+. Gajim nie wymaga do dzia³ania GNOME, choæ
-dzia³a z nim ³adnie.
-
-%prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
-
-%build
-%{__make} \
-       PREFIX=%{_prefix} \
-       LIBDIR=/%{_lib}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
-       PREFIX=%{_prefix} \
-       LIBDIR=/%{_lib} \
-       DESTDIR=$RPM_BUILD_ROOT
-
-rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/{setup_win32.pyo}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(644,root,root,755)
-%doc AUTHORS README Changelog doc/*
-%attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/%{name}
-%attr(755,root,root) %{_libdir}/%{name}/*.so
-%{_datadir}/%{name}
-%{_desktopdir}/*.desktop
-%{_mandir}/man1/*
-%{_pixmapsdir}/*.png
This page took 0.06431 seconds and 4 git commands to generate.