- move headers to /usr/include (#609977)
This commit is contained in:
parent
d6d9b63ed2
commit
7b16924679
12
slang.spec
12
slang.spec
@ -1,7 +1,7 @@
|
||||
Summary: The shared library for the S-Lang extension language
|
||||
Name: slang
|
||||
Version: 2.2.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://space.mit.edu/pub/davis/slang/v2.2/%{name}-%{version}.tar.bz2
|
||||
@ -68,7 +68,6 @@ head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--includedir=%{_includedir}/slang \
|
||||
--with-{pcre,onig,png,z}lib=%{_libdir} \
|
||||
--with-{pcre,onig,png,z}inc=%{_includedir} \
|
||||
;
|
||||
@ -81,6 +80,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
make install-all INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/{slang,slsh}
|
||||
|
||||
mkdir $RPM_BUILD_ROOT%{_includedir}/slang
|
||||
for h in slang.h slcurses.h; do
|
||||
ln -s ../$h $RPM_BUILD_ROOT%{_includedir}/slang/$h
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
@ -107,6 +111,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%doc doc/*/cslang*.txt doc/*/cref.txt
|
||||
%{_libdir}/libslang*.so
|
||||
%{_libdir}/pkgconfig/slang.pc
|
||||
%{_includedir}/sl*.h
|
||||
%{_includedir}/slang
|
||||
|
||||
%files static
|
||||
@ -114,6 +119,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_libdir}/libslang*.a
|
||||
|
||||
%changelog
|
||||
* Wed Jul 21 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.2.2-2
|
||||
- move headers to /usr/include (#609977)
|
||||
|
||||
* Mon Dec 07 2009 Miroslav Lichvar <mlichvar@redhat.com> - 2.2.2-1
|
||||
- update to 2.2.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user