mfiler3-2.1.3-2kkr2010.0.spec

%define name    mfiler3
%define version 2.1.3
%define release %mkrel 2


Summary:        2-pane console file manager
Summary(ja):    2ペインコンソールファイルマネージャ
Name:           %{name}
Version:        %{version}
Release:        %{release}
Source:         http://www.geocities.jp/daisuke530221jp/%{name}-%{version}.tgz
URL:            http://www.geocities.jp/daisuke530221jp/index3.html
License:        GPLv2
Group:          File tools
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Requires:       ruby-gtk2
BuildRequires:  ruby-devel libtar-devel libgc-devel ncurses-devel onig-devel libmigemo-devel


%description
%{name} is a 2-pane console file manager, written by daisuke minato.

%description -l ja
%{name}は、みなとだいすけ氏により書かれた2ペインのコンソールファイルマネージャです。


%prep
%setup -q -n %{name}


%build
%{__rm} mkeycode
export CC="gcc %{optflags}"
%configure2_5x --sysconfdir=%{_sysconfdir}/%{name}
%make


%install
%{__rm} %{buildroot} -fr
%makeinstall sysconfdir="%{buildroot}/%{_sysconfdir}/%{name}"
%{__lzma} doc/{AUTHORS,FUMIKO,GPL,TODO,PROGRAMING_PHILOSOPHY}


%clean
%{__rm} %{buildroot} -fr


%files
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/mfiler/
%{_sysconfdir}/%{name}/
%doc doc/*.lzma doc/*.jpg doc/*.html


%changelog
* Tue Nov 17 2009 kakurasan <kakurasan AT gmail DOT com> 2.1.3-2kkr2010.0
- drop unneeded dependencies
- fix sysconfdir(%%build,%%install)

* Fri Jan 30 2009 kakurasan <kakurasan AT gmail DOT com> 2.1.3-1kkr2009.0
- initial build