diff --git a/transmission.spec b/transmission.spec index bb140be..edbc886 100644 --- a/transmission.spec +++ b/transmission.spec @@ -2,7 +2,7 @@ Name: transmission Version: 2.82 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A lightweight GTK+ BitTorrent client Group: Applications/Internet @@ -94,6 +94,10 @@ exit 0 %setup -q %patch0 -p2 -R +# fix icon location for Transmission Qt +sed -i 's|Icon=%{name}-qt|Icon=%{name}|g' qt/%{name}-qt.desktop + +# convert to UTF encoding iconv --from=ISO-8859-1 --to=UTF-8 AUTHORS > AUTHORS.new mv AUTHORS.new AUTHORS iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new @@ -125,7 +129,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}-gtk.desktop desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications/ \ qt/%{name}-qt.desktop - %post common /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -197,6 +200,9 @@ fi %doc %{_mandir}/man1/transmission-qt.* %changelog +* Sat May 17 2014 Rahul Sundaram - 2.82-3 +- fix Transmission Qt icon location (rhbz#1096423) + * Thu Aug 29 2013 Ankur Sinha 2.82-2 - Remove obseleted Obsoletes tag - Forgot a spec bump @@ -216,7 +222,7 @@ fi - Update to new upstream release: 2.81 - https://trac.transmissionbt.com/wiki/Changes#version-2.81 - Replace /var/lib by sharestatedir macro -- Replace $RPM_OPT_FLAGS with %optflags for consistency +- Replace $RPM_OPT_FLAGS with optflags for consistency * Sun Jul 14 2013 Ankur Sinha 2.80-2 - systemd-units -> systemd. rhbz:981647