SPECS: ghostscript-afpl.spec - forgot to commit this damn thing, b...
djurban
djurban at pld-linux.org
Wed Sep 28 14:24:41 CEST 2005
Author: djurban Date: Wed Sep 28 12:24:41 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- forgot to commit this damn thing, basically its a finished update for ghostscript afpl 8.51
not sure that the construction:
Provides: ghostscript
Obsoletes: ghostscript
will function properly if you have ghostscript-gpl installed... need to test it
---- Files affected:
SPECS:
ghostscript-afpl.spec (1.152 -> 1.153)
---- Diffs:
================================================================
Index: SPECS/ghostscript-afpl.spec
diff -u SPECS/ghostscript-afpl.spec:1.152 SPECS/ghostscript-afpl.spec:1.153
--- SPECS/ghostscript-afpl.spec:1.152 Thu Jul 21 22:41:11 2005
+++ SPECS/ghostscript-afpl.spec Wed Sep 28 14:24:35 2005
@@ -9,23 +9,24 @@
%bcond_with svga # with svgalib display support (vgalib and lvga256 devices)
%bcond_without gtk # without gsx
#
+%define _name ghostscript
Summary: PostScript & PDF interpreter and renderer
Summary(de): PostScript & PDF Interpreter und Renderer
Summary(fr): Interpréteur et visualisateur PostScript & PDF
Summary(ja): PostScript Ľ¤ĽóĽżĄźĽ×ĽęĽżĄŚĽěĽóĽŔĽéĄź
Summary(pl): Bezpłatny interpreter i renderer PostScriptu i PDF
Summary(tr): PostScript & PDF yorumlayýcý ve gösterici
-Name: ghostscript
+Name: %{_name}-afpl
Version: 8.51
-Release: 2
+Release: 1
License: AFPL
Group: Applications/Graphics
-Source0: http://dl.sourceforge.net/ghostscript/%{name}-%{version}.tar.bz2
+Source0: http://dl.sourceforge.net/ghostscript/%{_name}-%{version}.tar.bz2
# Source0-md5: 8b328b47cce3b7f97f35296aae8e7b77
# we need to link with libjpeg recompiled with our parameters
Source2: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
# Source2-md5: dbd5f3b47ed13132f04c685d608a7547
-Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
+Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{_name}-non-english-man-pages.tar.bz2
# Source5-md5: 9b5953aa0cc155f4364f20036b848585
Patch0: %{name}-missquotes.patch
Patch1: %{name}-setuid.patch
@@ -96,7 +97,7 @@
Summary(pl): Ghostscript z konsolą GTK+
Group: Applications/Graphics
Requires: %{name} = %{version}-%{release}
-Obsoletes: ghostscript-esp-gtk
+Obsoletes: ghostscript-gtk
%description gtk
Ghostscript with GTK+ console.
@@ -109,7 +110,7 @@
Summary(pl): Pliki nagłówkowe libgs
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Obsoletes: ghostscript-esp-devel
+Obsoletes: ghostscript-devel
%description devel
Header files for libgs - ghostscript shared library.
@@ -122,7 +123,7 @@
Summary(pl): Pliki dla programistów IJS
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Obsoletes: ghostscript-esp-ijs-devel
+Obsoletes: ghostscript-ijs-devel
%description ijs-devel
IJS development files.
@@ -144,7 +145,7 @@
Statyczna wersja biblioteki IJS.
%prep
-%setup -q -a2
+%setup -q -a2 -n %{_name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
@@ -183,17 +184,15 @@
cd ..
%{__make} \
- docdir=%{_defaultdocdir}/%{name}-%{version}
+ docdir=%{_defaultdocdir}/%{_name}-%{version}
%{__make} so \
- docdir=%{_defaultdocdir}/%{name}-%{version}
+ docdir=%{_defaultdocdir}/%{_name}-%{version}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/ghostscript/lib,%{_libdir},%{_includedir}/gs}
+install -d $RPM_BUILD_ROOT{%{_datadir}/ghostscript/lib,%{_libdir},%{_includedir}/ps}
-# api includes
-install src/{iapi.h,ierrors.h,gdevdsp.h} $RPM_BUILD_ROOT%{_includedir}/gs
%{__make} install \
install_prefix=$RPM_BUILD_ROOT \
@@ -201,7 +200,7 @@
bindir=$RPM_BUILD_ROOT%{_bindir} \
datadir=$RPM_BUILD_ROOT%{_datadir} \
libdir=$RPM_BUILD_ROOT%{_libdir} \
- docdir=$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} \
+ docdir=$RPM_BUILD_ROOT%{_defaultdocdir}/%{_name}-%{version} \
mandir=$RPM_BUILD_ROOT%{_mandir}
@@ -211,7 +210,7 @@
bindir=$RPM_BUILD_ROOT%{_bindir} \
datadir=$RPM_BUILD_ROOT%{_datadir} \
libdir=$RPM_BUILD_ROOT%{_libdir} \
- docdir=$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-%{version} \
+ docdir=$RPM_BUILD_ROOT%{_defaultdocdir}/%{_name}-%{version} \
mandir=$RPM_BUILD_ROOT%{_mandir}
cd ijs
@@ -225,10 +224,10 @@
# mandir=$RPM_BUILD_ROOT%{_mandir}
cd ..
-install lib/{gs_frsd,pdfopt,pdfwrite}.ps $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
+install lib/{gs_frsd,pdfopt,pdfwrite}.ps $RPM_BUILD_ROOT%{_datadir}/%{_name}/lib
-#install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{name}/lib
-rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/doc \
+#install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/%{_name}/lib
+rm -rf $RPM_BUILD_ROOT%{_datadir}/%{_name}/doc \
$RPM_BUILD_ROOT%{_bindir}/*.sh \
$RPM_BUILD_ROOT%{_mandir}/man1/{ps2pdf1{2,3},gsbj,gsdj,gsdj500,gslj,eps2eps}.1
@@ -255,7 +254,7 @@
%files
%defattr(644,root,root,755)
-%doc %{_defaultdocdir}/%{name}-%{version}
+%doc %{_defaultdocdir}/%{_name}-%{version}
%attr(755,root,root) %{_bindir}/[bdeflpsux]*
%attr(755,root,root) %{_bindir}/gs
%attr(755,root,root) %{_bindir}/wftopfa
@@ -263,19 +262,19 @@
%attr(755,root,root) %{_bindir}/ijs_*_example
%attr(755,root,root) %{_libdir}/libgs.so.*.*
#%attr(755,root,root) %{_libdir}/libijs.so
-%dir %{_datadir}/%{name}
-%dir %{_datadir}/%{name}/lib
-%{_datadir}/%{name}/lib/*.*
-%dir %{_datadir}/%{name}/%{version}
-%dir %{_datadir}/%{name}/%{version}/lib
+%dir %{_datadir}/%{_name}
+%dir %{_datadir}/%{_name}/lib
+%{_datadir}/%{_name}/lib/*.*
+%dir %{_datadir}/%{_name}/%{version}
+%dir %{_datadir}/%{_name}/%{version}/lib
# "*.*" will not match "Fontmap". It is OK.
-%{_datadir}/%{name}/%{version}/lib/*.*
-%{_datadir}/%{name}/%{version}/lib/[!F]*map
-%{_datadir}/%{name}/%{version}/lib/FAPI*map
-%config %verify(not size md5 mtime) %{_datadir}/%{name}/%{version}/lib/Fontmap
-%config %verify(not size md5 mtime) %{_datadir}/%{name}/%{version}/lib/FAPIconfig
-%{_datadir}/%{name}/%{version}/Resource
-%{_datadir}/%{name}/%{version}/examples
+%{_datadir}/%{_name}/%{version}/lib/*.*
+%{_datadir}/%{_name}/%{version}/lib/[!F]*map
+%{_datadir}/%{_name}/%{version}/lib/FAPI*map
+%config %verify(not size md5 mtime) %{_datadir}/%{_name}/%{version}/lib/Fontmap
+%config %verify(not size md5 mtime) %{_datadir}/%{_name}/%{version}/lib/FAPIconfig
+%{_datadir}/%{_name}/%{version}/Resource
+%{_datadir}/%{_name}/%{version}/examples
%{_mandir}/man*/*
%lang(cs) %{_mandir}/cs/man*/*
%lang(de) %{_mandir}/de/man*/*
@@ -291,7 +290,7 @@
%files devel
%defattr(644,root,root,755)
-%{_includedir}/gs
+%{_includedir}/ps
%{_libdir}/libgs.so
%files ijs-devel
@@ -311,6 +310,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.153 2005/09/28 12:24:35 djurban
+- forgot to commit this damn thing, basically its a finished update for ghostscript afpl 8.51
+ not sure that the construction:
+ Provides: ghostscript
+ Obsoletes: ghostscript
+ will function properly if you have ghostscript-gpl installed... need to test it
+
Revision 1.152 2005/07/21 20:41:11 djurban
- rel. 2 works with new am patch + include headers for ghostscript library
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ghostscript-afpl.spec?r1=1.152&r2=1.153&f=u
More information about the pld-cvs-commit
mailing list