Update to upstream 1.51. Added icon cache scriplets (#487824)

epel9
Denis Leroy 16 years ago
parent fb6ee56184
commit fa88b41c9b

@ -1 +1 @@
transmission-1.50.tar.bz2 transmission-1.51.tar.bz2

@ -1 +1 @@
9342004249f09d5e8f87f9bd1476fa53 transmission-1.50.tar.bz2 b93439fbd0040ad6eb448f70a48355f5 transmission-1.51.tar.bz2

@ -1,32 +0,0 @@
--- transmission-1.50/configure~ 2009-02-13 17:43:45.000000000 +0100
+++ transmission-1.50/configure 2009-02-20 12:07:14.000000000 +0100
@@ -20147,8 +20147,6 @@
if test 0 = "0"; then
supported_build=yes
- CFLAGS="$CFLAGS -g -O3 -funroll-loops "
- CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
cat >>confdefs.h <<\_ACEOF
#define TR_STABLE_RELEASE 1
@@ -20156,8 +20154,6 @@
else
supported_build=no
- CFLAGS="$CFLAGS -g -O0"
- CXXFLAGS="$CXXFLAGS -g -O0"
if test 0 = "X"; then
cat >>confdefs.h <<\_ACEOF
@@ -21539,11 +21535,6 @@
;;
esac
-if test "x$GCC" = "xyes" ; then
- CFLAGS="-std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute"
- CXXFLAGS="-Wall -Wformat-security -W"
-fi
-
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then

@ -0,0 +1,35 @@
--- transmission-1.51/configure~ 2009-02-27 17:48:09.000000000 +0100
+++ transmission-1.51/configure 2009-02-28 09:38:58.000000000 +0100
@@ -20147,10 +20147,6 @@
if test 0 = "0"; then
supported_build=yes
- if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -g -O3 -funroll-loops "
- CXXFLAGS="$CXXFLAGS -g -O3 -funroll-loops "
- fi
cat >>confdefs.h <<\_ACEOF
#define TR_STABLE_RELEASE 1
@@ -20158,10 +20154,6 @@
else
supported_build=no
- if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -g -O0"
- CXXFLAGS="$CXXFLAGS -g -O0"
- fi
if test 0 = "X"; then
cat >>confdefs.h <<\_ACEOF
@@ -21543,10 +21535,6 @@
;;
esac
-if test "x$GCC" = "xyes" ; then
- CFLAGS="$CFLAGS -std=gnu99 -ggdb3 -Wall -Wextra -Wredundant-decls -Wpointer-arith -Wformat-security -W -Wmissing-declarations -Wdeclaration-after-statement -Wcast-align -Winit-self -Wundef -Wnested-externs -Wmissing-format-attribute"
-fi
-
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then

@ -75,19 +75,6 @@ diff -r -u transmission-1.50.orig/daemon/Makefile.in transmission-1.50/daemon/Ma
$(INTLLIBS) \ $(INTLLIBS) \
$(LIBCURL_LIBS) \ $(LIBCURL_LIBS) \
$(ZLIB_LIBS) \ $(ZLIB_LIBS) \
diff -r -u transmission-1.50.orig/daemon/remote.c transmission-1.50/daemon/remote.c
--- transmission-1.50.orig/daemon/remote.c 2009-02-13 17:41:10.000000000 +0100
+++ transmission-1.50/daemon/remote.c 2009-02-20 11:21:36.000000000 +0100
@@ -21,7 +21,7 @@
#include <unistd.h> /* getcwd */
#endif
-#include <libevent/event.h>
+#include <event.h>
#define CURL_DISABLE_TYPECHECK /* otherwise -Wunreachable-code goes insane */
#include <curl/curl.h>
diff -r -u transmission-1.50.orig/gtk/Makefile.in transmission-1.50/gtk/Makefile.in
--- transmission-1.50.orig/gtk/Makefile.in 2009-02-13 17:43:48.000000000 +0100 --- transmission-1.50.orig/gtk/Makefile.in 2009-02-13 17:43:48.000000000 +0100
+++ transmission-1.50/gtk/Makefile.in 2009-02-20 11:22:10.000000000 +0100 +++ transmission-1.50/gtk/Makefile.in 2009-02-20 11:22:10.000000000 +0100
@@ -72,7 +72,6 @@ @@ -72,7 +72,6 @@
@ -200,3 +187,14 @@ diff -r -u transmission-1.50.orig/third-party/Makefile.in transmission-1.50/thir
libnatpmp \ libnatpmp \
miniupnp miniupnp
--- transmission-1.51/daemon/remote.c~ 2009-02-27 17:46:36.000000000 +0100
+++ transmission-1.51/daemon/remote.c 2009-02-28 09:40:41.000000000 +0100
@@ -21,7 +21,7 @@
#include <unistd.h> /* getcwd */
#endif
-#include <libevent/event.h>
+#include <event.h>
#define CURL_DISABLE_TYPECHECK /* otherwise -Wunreachable-code goes insane */
#include <curl/curl.h>

@ -1,7 +1,7 @@
Name: transmission Name: transmission
Version: 1.50 Version: 1.51
Release: 2%{?dist} Release: 1%{?dist}
Summary: A lightweight GTK+ BitTorrent client Summary: A lightweight GTK+ BitTorrent client
Group: Applications/Internet Group: Applications/Internet
@ -9,7 +9,7 @@ Group: Applications/Internet
License: MIT and GPLv2 License: MIT and GPLv2
URL: http://www.transmissionbt.com/ URL: http://www.transmissionbt.com/
Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2 Source0: http://download.m0k.org/transmission/files/transmission-%{version}.tar.bz2
Patch2: transmission-1.50-copt.patch Patch2: transmission-1.51-copt.patch
Patch3: transmission-1.50-libevent.patch Patch3: transmission-1.50-libevent.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -57,10 +57,14 @@ rm -rf $RPM_BUILD_ROOT
%post %post
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
update-desktop-database > /dev/null 2>&1 || : update-desktop-database > /dev/null 2>&1 || :
%postun %postun
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
update-desktop-database > /dev/null 2>&1 || : update-desktop-database > /dev/null 2>&1 || :
@ -76,6 +80,10 @@ update-desktop-database > /dev/null 2>&1 || :
%changelog %changelog
* Sat Feb 28 2009 Denis Leroy <denis@poolshark.org> - 1.51-1
- Update to upstream 1.51
- Added icon cache scriplets (#487824)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-2 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.50-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

Loading…
Cancel
Save