build out of source tree
This commit is contained in:
parent
ccead372a9
commit
6a83a9dd99
12
nano.spec
12
nano.spec
@ -35,12 +35,15 @@ GNU nano is a small and friendly text editor.
|
|||||||
touch -c aclocal.m4 config.h.in configure Makefile.in
|
touch -c aclocal.m4 config.h.in configure Makefile.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
ln -s ../configure
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="%{buildroot}" install
|
cd build
|
||||||
#ln -s nano %{buildroot}%{_bindir}/pico
|
%make_install
|
||||||
rm -f %{buildroot}%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
cp %{SOURCE2} ./nanorc
|
cp %{SOURCE2} ./nanorc
|
||||||
|
|
||||||
@ -74,9 +77,9 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f build/%{name}.lang
|
||||||
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
|
||||||
%doc doc/nanorc.sample
|
%doc build/doc/nanorc.sample
|
||||||
%doc doc/faq.html
|
%doc doc/faq.html
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%config(noreplace) %{_sysconfdir}/nanorc
|
%config(noreplace) %{_sysconfdir}/nanorc
|
||||||
@ -87,6 +90,7 @@ exit 0
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 11 2016 Kamil Dudka <kdudka@redhat.com> - 2.6.3-1
|
* Thu Aug 11 2016 Kamil Dudka <kdudka@redhat.com> - 2.6.3-1
|
||||||
|
- build out of source tree
|
||||||
- do not recode man pages, they are UTF-8 encoded since v2.3.6
|
- do not recode man pages, they are UTF-8 encoded since v2.3.6
|
||||||
- new upstream release
|
- new upstream release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user