fix libdir in pkgconfig file (#650373)

This commit is contained in:
Miroslav Lichvar 2010-11-08 18:30:42 +01:00
parent 599c99f7ff
commit 14d4c89d8e

View File

@ -1,7 +1,7 @@
Summary: The shared library for the S-Lang extension language
Name: slang
Version: 2.2.2
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+
Group: System Environment/Libraries
Source: ftp://space.mit.edu/pub/davis/slang/v2.2/%{name}-%{version}.tar.bz2
@ -72,6 +72,12 @@ head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \
--with-{pcre,onig,png,z}inc=%{_includedir} \
;
sed -i -e 's|^prefix=.*|prefix=%{_prefix}|' \
-e 's|^exec_prefix=.*|exec_prefix=%{_exec_prefix}|' \
-e 's|^libdir=.*|libdir=%{_libdir}|' \
-e 's|^includedir=.*|includedir=%{_includedir}|' \
slang.pc
make %{?_smp_mflags} install_doc_dir=%{_docdir}/%{name}-%{version}
%install
@ -119,6 +125,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libslang*.a
%changelog
* Mon Nov 08 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.2.2-3
- fix libdir in pkgconfig file (#650373)
* Wed Jul 21 2010 Miroslav Lichvar <mlichvar@redhat.com> - 2.2.2-2
- move headers to /usr/include (#609977)