Summary: Console Font Editor
Summary(pl): Edytor fontów konsolowych
Name: cfe
-Version: 0.6
-Release: 2
-License: GPL
-Group: Utilities/Console
-Group(pl): Narzêdzia/Konsola
+Version: 0.10
+Release: 1
+License: GPL v2
+Group: Applications/Console
+Group(de): Applikationen/Konsole
+Group(pl): Aplikacje/Konsola
Vendor: Eugene Osintsev <osgene@omskelecom.ru>
-Source0: http://gene.i-connect.com/files/%{name}-%{version}.tar.gz
-URL: http://gene.i-connect.com/files/
+Source0: http://lrn.ru/~osgene/%{name}-%{version}.tar.gz
+Patch0: %{name}-DESTDIR.patch
+URL: http://lrn.ru/~osgene/
BuildRequires: ncurses-devel >= 5.0
+BuildRequires: automake
+BuildRequires: autoconf
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
-
-%{__make} CFLAGS="$RPM_OPT_FLAGS -Wall -I/usr/include/ncurses"
+aclocal
+autoconf
+%configure
+%{__make} CFLAGS="%{rpmcflags} -Wall -I/usr/include/ncurses"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-%{__make} install-strip \
- bindir=$RPM_BUILD_ROOT%{_bindir}
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
-gzip -9nf CHANGES TODO AUTHOR
+gzip -9nf ChangeLog
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc {CHANGES,TODO,AUTHOR}.gz
-
+%doc *.gz
%attr(755,root,root) %{_bindir}/cfe
+%{_mandir}/man1/*.1*