Modernize the spec file.
This commit is contained in:
parent
5a014e6e13
commit
6d27a5808c
17
hexedit.spec
17
hexedit.spec
@ -3,7 +3,7 @@ Name: hexedit
|
|||||||
Version: 1.2.13
|
Version: 1.2.13
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Editors
|
|
||||||
URL: http://rigaux.org/hexedit.html
|
URL: http://rigaux.org/hexedit.html
|
||||||
Source: http://rigaux.org/%{name}-%{version}.src.tgz
|
Source: http://rigaux.org/%{name}-%{version}.src.tgz
|
||||||
|
|
||||||
@ -12,7 +12,6 @@ Patch1: hexedit-1.2.13-config.patch
|
|||||||
Patch2: hexedit-man-page-color.patch
|
Patch2: hexedit-man-page-color.patch
|
||||||
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device
|
Hexedit shows a file both in ASCII and in hexadecimal. The file can be a device
|
||||||
@ -30,22 +29,20 @@ and search through it.
|
|||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make install \
|
||||||
|
mandir=$RPM_BUILD_ROOT%{_mandir} \
|
||||||
make install mandir=$RPM_BUILD_ROOT%{_mandir} bindir=$RPM_BUILD_ROOT%{_bindir} INSTALL='install -p'
|
bindir=$RPM_BUILD_ROOT%{_bindir} \
|
||||||
|
INSTALL='install -p'
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc hexedit-%{version}.lsm COPYING Changes
|
%doc hexedit-%{version}.lsm COPYING Changes
|
||||||
%{_bindir}/hexedit
|
%{_bindir}/hexedit
|
||||||
%{_mandir}/*/*
|
%{_mandir}/man1/hexedit.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Apr 05 2013 Richard W.M. Jones <rjones@redhat.com> - 1.2.13-3
|
* Fri Apr 05 2013 Richard W.M. Jones <rjones@redhat.com> - 1.2.13-3
|
||||||
- Add patch to document --color option.
|
- Add patch to document --color option.
|
||||||
|
- Modernize the spec file.
|
||||||
|
|
||||||
* Tue Mar 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.2.13-2
|
* Tue Mar 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.2.13-2
|
||||||
- Bring back config patch to fix -debuginfo, it hasn't been upstreamed yet.
|
- Bring back config patch to fix -debuginfo, it hasn't been upstreamed yet.
|
||||||
|
Loading…
Reference in New Issue
Block a user