Rebuilt for aarch64 support (#926100)

This commit is contained in:
Akira TAGOH 2013-03-27 19:01:42 +09:00
parent 6c79f54cb3
commit 6d3d8e192b

19
lv.spec
View File

@ -2,10 +2,9 @@
Name: lv Name: lv
Version: 4.51 Version: 4.51
Release: 19%{?dist} Release: 20%{?dist}
License: GPLv2+ License: GPLv2+
URL: http://www.ff.iij4u.or.jp/~nrt/lv/ URL: http://www.ff.iij4u.or.jp/~nrt/lv/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel autoconf BuildRequires: ncurses-devel autoconf
Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz Source: http://www.ff.iij4u.or.jp/~nrt/freeware/%{name}%{vver}.tar.gz
@ -14,6 +13,7 @@ Patch2: lv-4.51-162372.patch
Patch3: lv-+num-option.patch Patch3: lv-+num-option.patch
Patch4: lv-fastio.patch Patch4: lv-fastio.patch
Patch5: lv-lfs.patch Patch5: lv-lfs.patch
Patch6: %{name}-aarch64.patch
Summary: A Powerful Multilingual File Viewer Summary: A Powerful Multilingual File Viewer
Group: Applications/Text Group: Applications/Text
@ -34,6 +34,7 @@ for text devoration.
%patch3 -p1 -b .num %patch3 -p1 -b .num
%patch4 -p1 -b .fastio %patch4 -p1 -b .fastio
%patch5 -p1 -b .lfs %patch5 -p1 -b .lfs
%patch6 -p1 -b .6-aarch64
%build %build
cd src cd src
@ -42,15 +43,12 @@ autoconf
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
cd src cd src
%{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_bindir}
%{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
make install bindir=$RPM_BUILD_ROOT%{_bindir} libdir=$RPM_BUILD_ROOT%{_libdir} mandir=$RPM_BUILD_ROOT%{_mandir} make install bindir=$RPM_BUILD_ROOT%{_bindir} libdir=$RPM_BUILD_ROOT%{_libdir} mandir=$RPM_BUILD_ROOT%{_mandir} INSTALL="install -p"
%files %files
%defattr(-, root, root)
%doc GPL.txt README build hello.sample hello.sample.gif index.html %doc GPL.txt README build hello.sample hello.sample.gif index.html
%doc relnote.html %doc relnote.html
%{_bindir}/lv %{_bindir}/lv
@ -58,10 +56,11 @@ make install bindir=$RPM_BUILD_ROOT%{_bindir} libdir=$RPM_BUILD_ROOT%{_libdir} m
%{_mandir}/man1/lv.1.gz %{_mandir}/man1/lv.1.gz
%{_libdir}/lv %{_libdir}/lv
%clean
rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Wed Mar 27 2013 Akira TAGOH <tagoh@redhat.com> - 4.51-20
- Rebuilt for aarch64 support (#926100)
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-19 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.51-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild