|
|
@ -18,7 +18,7 @@
|
|
|
|
%define use_autotool 0
|
|
|
|
%define use_autotool 0
|
|
|
|
%define if_pre 1
|
|
|
|
%define if_pre 1
|
|
|
|
%define main_release 1
|
|
|
|
%define main_release 1
|
|
|
|
%define extratag svn2330_trunk
|
|
|
|
%define extratag svn2332_trunk
|
|
|
|
%define mimeedit_rev 1958
|
|
|
|
%define mimeedit_rev 1958
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?if_pre} > 0
|
|
|
|
%if 0%{?if_pre} > 0
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnome-commander
|
|
|
|
Name: gnome-commander
|
|
|
|
Version: 1.2.8
|
|
|
|
Version: 1.2.8
|
|
|
|
Release: %{fedora_rel}%{?dist}.1
|
|
|
|
Release: %{fedora_rel}%{?dist}
|
|
|
|
Summary: A nice and fast file manager for the GNOME desktop
|
|
|
|
Summary: A nice and fast file manager for the GNOME desktop
|
|
|
|
Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM)
|
|
|
|
Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM)
|
|
|
|
Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME
|
|
|
|
Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME
|
|
|
@ -40,8 +40,6 @@ URL: http://www.nongnu.org/gcmd/
|
|
|
|
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}%{?extratag:-%extratag}.tar.bz2
|
|
|
|
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}%{?extratag:-%extratag}.tar.bz2
|
|
|
|
Source1: gnome-commander.sh
|
|
|
|
Source1: gnome-commander.sh
|
|
|
|
Source10: mimeedit-svn%{mimeedit_rev}.sh
|
|
|
|
Source10: mimeedit-svn%{mimeedit_rev}.sh
|
|
|
|
# Patch0 must be sent upstream
|
|
|
|
|
|
|
|
Patch0: gnome-commander-1.2.8-trunk-libtool22.patch
|
|
|
|
|
|
|
|
Patch10: mimeedit-svn1958.diff
|
|
|
|
Patch10: mimeedit-svn1958.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
@ -106,7 +104,6 @@ ansluta till FTP-servrar och SMB-nätverk.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}%{?extratag:-%extratag}
|
|
|
|
%setup -q -n %{name}-%{version}%{?extratag:-%extratag}
|
|
|
|
%patch0 -p1 -b .libtool22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{use_autotool} > 0
|
|
|
|
%if 0%{use_autotool} > 0
|
|
|
|
%{__sed} -i.conf '$s|^\(.*\)|NOCONFIGURE=1 \1|' autogen.sh
|
|
|
|
%{__sed} -i.conf '$s|^\(.*\)|NOCONFIGURE=1 \1|' autogen.sh
|
|
|
@ -114,13 +111,12 @@ sh autogen.sh
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
cp -p %SOURCE10 mimeedit.sh
|
|
|
|
cp -p %SOURCE10 mimeedit.sh
|
|
|
|
%patch10 -p0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{__sed} -i.pylib \
|
|
|
|
%{__sed} -i.pylib \
|
|
|
|
-e 's|\$PY_EXEC_PREFIX/lib|%{_libdir}|' \
|
|
|
|
-e 's|\$PY_EXEC_PREFIX/lib|%{_libdir}|' \
|
|
|
|
configure
|
|
|
|
configure
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 10
|
|
|
|
%if 0%{?fedora} >= 10 && 0
|
|
|
|
function replace_icon(){
|
|
|
|
function replace_icon(){
|
|
|
|
find . -name \*.cc | xargs grep -l $1 | \
|
|
|
|
find . -name \*.cc | xargs grep -l $1 | \
|
|
|
|
xargs %{__sed} -i.icon -e "s|\"$1\"|\"$2\"|"
|
|
|
|
xargs %{__sed} -i.icon -e "s|\"$1\"|\"$2\"|"
|
|
|
@ -214,6 +210,11 @@ scrollkeeper-update -q || :
|
|
|
|
%{_datadir}/pixmaps/%{name}/
|
|
|
|
%{_datadir}/pixmaps/%{name}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Dec 6 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
|
|
|
|
|
|
|
|
- rev 2332
|
|
|
|
|
|
|
|
- libtool 2.2 patch went upstream
|
|
|
|
|
|
|
|
- "replace_icon" hack seems no longer needed
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Dec 4 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
|
|
|
|
* Thu Dec 4 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
|
|
|
|
- rev 2330
|
|
|
|
- rev 2330
|
|
|
|
- Add patch to compile with libtool 2.2
|
|
|
|
- Add patch to compile with libtool 2.2
|
|
|
|