Summary: Console Font Editor
Summary(pl): Edytor fontów konsolowych
Name: cfe
-Version: 0.6
-Release: 1
-License: GPL
-Group: Utilities/Console
-Group(pl): Narzêdzia/Konsola
+Version: 0.12
+Release: 2
+License: GPL v2
+Group: Applications/Console
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/files/%{name}-%{version}.tar.gz
+# Source0-md5: c37cca14cacd6c6be27f8fa6cc10e89b
+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
+%patch -p0
%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}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-gzip -9nf CHANGES TODO AUTHOR
+%{__make} DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc {CHANGES,TODO,AUTHOR}.gz
-
+%doc ChangeLog
%attr(755,root,root) %{_bindir}/cfe
+%{_mandir}/man1/*.1*