More build fixes.

This commit is contained in:
Tim Waugh 2005-06-03 22:13:52 +00:00
parent 923b7d4a06
commit 310a76fc37

View File

@ -120,6 +120,7 @@ make install soinstall \
docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{gs_ver} \
gsdir=$RPM_BUILD_ROOT%{_datadir}/%{name} \
gsdatadir=$RPM_BUILD_ROOT%{_datadir}/%{name}/%{gs_ver} \
gssharedir=$RPM_BUILD_ROOT%{_libdir}/%{name}/%{gs_ver} \
CUPSSERVER=$RPM_BUILD_ROOT`cups-config --serverbin` \
CUPSCONFIG=$RPM_BUILD_ROOT`cups-config --serverroot` \
CUPSDATA=$RPM_BUILD_ROOT`cups-config --datadir`
@ -145,6 +146,10 @@ install -m0644 src/iapi.h $RPM_BUILD_ROOT%{_includedir}/ghostscript
install -m0644 src/errors.h $RPM_BUILD_ROOT%{_includedir}/ghostscript
install -m0644 src/gdevdsp.h $RPM_BUILD_ROOT%{_includedir}/ghostscript
# Don't ship pkgconfig files. Note: this always gets installed in /usr/lib
# regardless of multilib.
rm -f $RPM_BUILD_ROOT/usr/lib/pkgconfig/ijs.pc
# Don't ship ijs example client or server
rm -f $RPM_BUILD_ROOT%{_bindir}/ijs_{client,server}_example
@ -185,6 +190,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libgs.so.*
%{_libdir}/libgs.so
%{_libdir}/libijs*.so*
%{_libdir}/%{name}/%{gs_ver}
%{_libdir}/cups/filter/pstopxl
%{_datadir}/cups/model/pxl*
@ -200,7 +206,6 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/ijs/*
%{_bindir}/ijs-config
%{_libdir}/libijs.*a
%{_libdir}/pkgconfig/ijs.pc
%post -p /sbin/ldconfig