2013-04-18 16:27:06 +00:00
|
|
|
Name: tweak
|
2016-03-23 13:37:43 +00:00
|
|
|
Version: 3.02
|
2013-04-18 16:27:06 +00:00
|
|
|
|
2018-07-14 08:03:58 +00:00
|
|
|
Release: 6%{?dist}
|
2013-04-18 16:27:06 +00:00
|
|
|
Summary: An efficient hex editor
|
|
|
|
Group: Applications/Editors
|
|
|
|
License: MIT
|
|
|
|
URL: http://www.chiark.greenend.org.uk/~sgtatham/tweak/
|
|
|
|
|
|
|
|
Source0: http://www.chiark.greenend.org.uk/~sgtatham/tweak/tweak-%{version}.tar.gz
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tweak is a hex editor. It allows you to edit a file at very low level, letting
|
|
|
|
you see the full and exact binary contents of the file. It can be useful for
|
|
|
|
modifying binary files such as executables, editing disk or CD images,
|
|
|
|
debugging programs that generate binary file formats incorrectly, and many
|
|
|
|
other things.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
# Disable custom .c.o rule so we can use standard RPM macros instead
|
|
|
|
sed -i -e 's|^.c.o|.disabled.c.o|' Makefile
|
|
|
|
|
|
|
|
# Modify the location of filepaths to conform to Filesystem Hierarchy Standard
|
2016-03-23 13:37:43 +00:00
|
|
|
sed -i -e 's|^PREFIX=$(DESTDIR)/usr/local|PREFIX=$(DESTDIR)/usr|' Makefile
|
2013-04-18 16:27:06 +00:00
|
|
|
sed -i -e 's|^MANDIR=$(PREFIX)/man/man1|MANDIR=$(PREFIX)/share/man/man1|' Makefile
|
|
|
|
|
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENCE
|
|
|
|
%doc btree.html
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2018-07-14 08:03:58 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 19:45:49 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-03 09:40:20 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 20:48:28 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 16:32:40 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.02-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-03-23 13:37:43 +00:00
|
|
|
* Wed Mar 23 2016 Greg Bailey <gbailey@lxpro.com> 3.02-1
|
|
|
|
- New version 3.02
|
|
|
|
|
2016-02-05 02:10:28 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.01-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 03:36:20 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.01-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 06:35:43 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.01-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 09:17:39 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.01-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 05:14:33 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.01-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-04-18 16:27:06 +00:00
|
|
|
* Tue Apr 16 2013 Greg Bailey <gbailey@lxpro.com> 3.01-2
|
|
|
|
- Use Source0 instead of Source in RPM spec
|
|
|
|
|
|
|
|
* Tue Mar 26 2013 Greg Bailey <gbailey@lxpro.com> 3.01-1
|
|
|
|
- Initial packaging for Fedora
|
|
|
|
|