- F-10+: Fix icon name due to gnome-icon-theme 2.23.x change

i9cf
Mamoru Tasaka 17 years ago
parent 588c3606eb
commit 5e25e9b084

@ -10,7 +10,7 @@
%define use_autotool 0
%define if_pre 0
%define main_release 1
%define main_release 2
#%%define extratag svn1901_trunk
%if 0%{?if_pre} > 0
@ -103,6 +103,22 @@ sh autogen.sh
-e 's|\$PY_EXEC_PREFIX/lib|%{_libdir}|' \
configure
%if 0%{?fedora} >= 10
function replace_icon(){
find . -name \*.cc | xargs grep -l $1 | \
xargs %{__sed} -i -e "s|\"$1\"|\"$2\"|"
}
replace_icon gnome-fs-directory gtk-directory
replace_icon gnome-fs-ftp folder-remote
replace_icon gnome-fs-home user-home
replace_icon gnome-fs-network gtk-network
replace_icon gnome-fs-smb network-workgroup
replace_icon gnome-fs-ssh folder-remote
replace_icon gnome-fs-web folder-remote
%endif
%build
%configure \
--disable-scrollkeeper \
@ -161,6 +177,9 @@ scrollkeeper-update -q || :
%{_datadir}/pixmaps/%{name}/
%changelog
* Wed Jul 30 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.7-2
- F-10+: Fix icon name due to gnome-icon-theme 2.23.x change
* Wed Jul 30 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.7-1
- 1.2.7

Loading…
Cancel
Save