Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > d43e5f24bdd9e167e888860cb85d9ceb > files > 1

fb-1.5-8mdk.src.rpm

%define name fb
%define version 1.5
%define release 8mdk

Summary: Utility for the viewing, editing, and manipulation of binary files.
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Source0: fb_tar.bz2
Source1: http://home.mho.net/jswaby/fb_exmp.html
Group: File tools
URL: http://home.mho.net/jswaby/fb.html 
Buildroot: %{_tmppath}/%{name}-buildroot

%description
fb is a binary file viewer, editor, and manipulator. It can be used as a 
filter, an interactive browser, or to simply dump a file in either binary, 
decimal, hexadecimal, or octal and/or characters. Either overwrite bytes in 
either of the four bases or characters or dump to a file and edit the 
resulting text file with any text editor, then fb can translate from either 
of the four bases back into a binary file. In summary, fb is a versatile 
tool for binary file creation, manipulation, and examination. 
Author: John Howard Swaby <polymath@uwyo.edu> 

%prep 
rm -rf $RPM_BUILD_ROOT

%setup0 -c 
cp $RPM_SOURCE_DIR/fb_exmp.html $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION

%build
cc $RPM_OPT_FLAGS fb.c -o fb

%install
install -m 755 -d $RPM_BUILD_ROOT%{_bindir}
install -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 fb $RPM_BUILD_ROOT%{_bindir}/
install -m 644 fb.1 $RPM_BUILD_ROOT%{_mandir}/man1/

%files 
%defattr (-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%doc README fb.doc fb_exmp.html

%changelog
* Fri Feb 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.5-8mdk
- rebuild

* Fri Jan 24 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.5-7mdk
- rebuild

* Thu Aug 29 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.5-6mdk
- rebuild

* Fri Jul 06 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.5-5mdk
- rebuild

* Tue Jan 09 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.5-4mdk
- rebuild

* Tue Aug 01 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.5-3mdk
- BM

* Wed Apr 26 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.5-2mdk
- fix group
- spec helper fixes

* Thu Feb 17 2000 Lenny Cartier <lenny@mandrakesoft.com>
- mandrake build