]> git.pld-linux.org Git - packages/cfe.git/blobdiff - cfe.spec
- massive attack: adding Source-md5
[packages/cfe.git] / cfe.spec
index 5d108e2748276589b179386e15535df6715dab11..7cce5e8ecd869e17c89ed5e73ea3da6d534cdf52 100644 (file)
--- a/cfe.spec
+++ b/cfe.spec
@@ -1,15 +1,18 @@
 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
@@ -25,25 +28,26 @@ font
 
 %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*
This page took 0.139495 seconds and 4 git commands to generate.