fix Transmission Qt icon location (rhbz#1096423)

epel9
Rahul Sundaram 11 years ago
parent 73680a8cd3
commit 039e695b69

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

Loading…
Cancel
Save