From 3a0fc4fe0d669c39ca1cdc262df27e3808b6215a Mon Sep 17 00:00:00 2001 From: Denis Leroy Date: Sun, 24 Aug 2008 13:16:58 +0000 Subject: [PATCH] - Update to upstream 1.33 - Now dual-licensed - Gnusource and download dir patches upstreamed --- .cvsignore | 2 +- sources | 2 +- transmission-0.81-downloaddir.patch | 13 ------------- transmission-1.05-gnusource.patch | 11 ----------- transmission.spec | 18 ++++++++++-------- 5 files changed, 12 insertions(+), 34 deletions(-) delete mode 100644 transmission-0.81-downloaddir.patch delete mode 100644 transmission-1.05-gnusource.patch diff --git a/.cvsignore b/.cvsignore index 108686a..38bdd1a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -transmission-1.22.tar.bz2 +transmission-1.33.tar.bz2 diff --git a/sources b/sources index f3f5329..7a2dd75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -aa0a2db19b0f3dbfd75a0fb354d6c47d transmission-1.22.tar.bz2 +097a538a10e41c9e631ef23b11a2ddfa transmission-1.33.tar.bz2 diff --git a/transmission-0.81-downloaddir.patch b/transmission-0.81-downloaddir.patch deleted file mode 100644 index 779328c..0000000 --- a/transmission-0.81-downloaddir.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- transmission-0.91/gtk/util.c~ 2007-10-29 00:57:11.000000000 +0100 -+++ transmission-0.91/gtk/util.c 2007-11-03 16:35:30.000000000 +0100 -@@ -288,6 +288,10 @@ - static char * wd = NULL; - char * dir = pref_string_get( PREF_KEY_DIR_DEFAULT ); - if ( dir == NULL ) { -+#if GLIB_CHECK_VERSION(2, 13, 7) -+ dir = g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD); -+ return dir; -+#endif - if( wd == NULL ) - wd = g_get_current_dir(); - dir = g_strdup( wd ); diff --git a/transmission-1.05-gnusource.patch b/transmission-1.05-gnusource.patch deleted file mode 100644 index 80bd1ee..0000000 --- a/transmission-1.05-gnusource.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- transmission-1.05/third-party/libevent/http.c.orig 2008-02-10 12:56:09.000000000 +0100 -+++ transmission-1.05/third-party/libevent/http.c 2008-02-10 12:56:26.000000000 +0100 -@@ -25,6 +25,8 @@ - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -+#define _GNU_SOURCE -+ - #ifdef HAVE_CONFIG_H - #include "config.h" - #endif diff --git a/transmission.spec b/transmission.spec index 0e6ec4e..3cc3f24 100644 --- a/transmission.spec +++ b/transmission.spec @@ -1,15 +1,13 @@ Name: transmission -Version: 1.22 +Version: 1.33 Release: 1%{?dist} Summary: A lightweight GTK+ BitTorrent client Group: Applications/Internet -License: MIT +License: MIT, GPLv2+ URL: http://www.transmissionbt.com/ Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2 -Patch0: transmission-0.81-downloaddir.patch -Patch1: transmission-1.05-gnusource.patch Patch2: transmission-1.11-copt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -31,8 +29,6 @@ back-end. %prep %setup -q -%patch0 -p1 -b .dwnldir -%patch1 -p1 -b .gnusrc %patch2 -p1 -b .copt @@ -66,9 +62,9 @@ update-desktop-database > /dev/null 2>&1 || : %files -f %{name}.lang %defattr(-, root, root, -) -%doc AUTHORS LICENSE NEWS README +%doc AUTHORS COPYING NEWS README %{_bindir}/transmission* -%{_bindir}/benc2php +%{_datadir}/transmission %{_datadir}/pixmaps/* %{_datadir}/icons/hicolor/*/apps/transmission.* %{_datadir}/applications/*transmission.desktop @@ -76,6 +72,12 @@ update-desktop-database > /dev/null 2>&1 || : %changelog +* Sun Aug 24 2008 Denis Leroy - 1.33-1 +- Update to upstream 1.33 +- Now dual-licensed +- Gnusource and download dir patches upstreamed + + * Wed Jun 18 2008 Denis Leroy - 1.22-1 - Update to upstream 1.22