- Spec file cleanups (bug #188066).
This commit is contained in:
parent
f8f327274e
commit
93c8b75925
@ -29,10 +29,9 @@ Patch10: ghostscript-big-cmap-post.patch
|
||||
Patch11: ghostscript-krgb.patch
|
||||
Patch12: espgs-pdfwrite.patch
|
||||
|
||||
Requires: zlib, libpng, glib2
|
||||
Requires: urw-fonts >= 1.1, ghostscript-fonts
|
||||
BuildRequires: libjpeg-devel, libXt-devel
|
||||
BuildRequires: zlib, zlib-devel, libpng, libpng-devel, unzip, gtk2-devel
|
||||
BuildRequires: zlib-devel, libpng-devel, unzip, gtk2-devel
|
||||
BuildRequires: glib2-devel, gnutls-devel
|
||||
# Omni requires libxml
|
||||
BuildRequires: libxml2-devel
|
||||
@ -181,7 +180,7 @@ cd ijs
|
||||
%makeinstall
|
||||
cd ..
|
||||
|
||||
ln -sf gs.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/ghostscript.1.gz
|
||||
echo ".so man1/gs.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/ghostscript.1
|
||||
ln -sf gs $RPM_BUILD_ROOT/usr/bin/ghostscript
|
||||
|
||||
# Rename an original FAPIcidfmap to FAPIcidfmap.GS
|
||||
@ -237,6 +236,10 @@ MAIN_PWD=`pwd`
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files -f rpm.sharelist
|
||||
%defattr(-,root,root)
|
||||
%dir /etc/ghostscript
|
||||
@ -269,13 +272,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/ijs-config
|
||||
%{_libdir}/libijs.*a
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Mon Apr 10 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-9
|
||||
- Add %%{_datadir}/fonts/japanese to font path (bug #188448).
|
||||
- Spec file cleanups (bug #188066).
|
||||
|
||||
* Sat Apr 8 2006 Tim Waugh <twaugh@redhat.com>
|
||||
- Build requires libtool (bug #188341).
|
||||
|
Loading…
Reference in New Issue
Block a user