SPECS: ghostscript.spec - rel 1

arekm arekm at pld-linux.org
Mon Aug 6 21:36:09 CEST 2007


Author: arekm                        Date: Mon Aug  6 19:36:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 1

---- Files affected:
SPECS:
   ghostscript.spec (1.168 -> 1.169) 

---- Diffs:

================================================================
Index: SPECS/ghostscript.spec
diff -u SPECS/ghostscript.spec:1.168 SPECS/ghostscript.spec:1.169
--- SPECS/ghostscript.spec:1.168	Fri Aug  3 21:55:53 2007
+++ SPECS/ghostscript.spec	Mon Aug  6 21:36:03 2007
@@ -2,6 +2,7 @@
 #
 # TODO:
 #	- fix svga bcond
+#	- cups subpackage?
 #
 # Conditional build:
 %bcond_without	system_jbig2dec	# build with included jbig2dec
@@ -16,7 +17,7 @@
 Summary(tr.UTF-8):	PostScript & PDF yorumlayıcı ve gösterici
 Name:		ghostscript
 Version:	8.60
-Release:	0.1
+Release:	1
 License:	GPL
 Group:		Applications/Graphics
 Source0:	http://dl.sourceforge.net/ghostscript/%{name}-%{version}.tar.bz2
@@ -166,19 +167,23 @@
 	rm -rf jbig2dec
 fi
 %endif
+cd jasper
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-CFLAGS="%{rpmcflags} -DA4"
+cd ..
+%{__aclocal}
+%{__autoconf}
+CFLAGS="%{rpmcflags} -DA4 -fPIC"
 export CFLAGS
 %configure \
 	--with-fontpath="%{_datadir}/fonts:%{_datadir}/fonts/Type1" \
 	--with-ijs \
 	--with-jbig2dec \
 	--with-jasper \
-	--with-x
-
-# NEEDS patch because no such configure options
-#        --with-drivers=ALL%{?with_svga:,vgalib,lvga256} \
+	--with-x \
+        --with-drivers=ALL%{?with_svga:,vgalib,lvga256} \
+	--enable-dynamic
 
 cd ijs
 %{__libtoolize}
@@ -189,10 +194,10 @@
 	--enable-shared
 cd ..
 
-%{__make} \
+%{__make} -j1 \
 	docdir=%{_docdir}/%{name}-%{version}
 
-%{__make} so \
+%{__make} -j1 so \
 	docdir=%{_docdir}/%{name}-%{version}
 
 %install
@@ -201,23 +206,12 @@
 
 
 %{__make} install \
-	install_prefix=$RPM_BUILD_ROOT \
-	prefix=$RPM_BUILD_ROOT%{_prefix} \
-	bindir=$RPM_BUILD_ROOT%{_bindir} \
-	datadir=$RPM_BUILD_ROOT%{_datadir} \
-	libdir=$RPM_BUILD_ROOT%{_libdir} \
-	docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \
-	mandir=$RPM_BUILD_ROOT%{_mandir}
-
+	DESTDIR=$RPM_BUILD_ROOT \
+	docdir=%{_docdir}/%{name}-%{version}
 
 %{__make} soinstall \
-	install_prefix=$RPM_BUILD_ROOT \
-	prefix=$RPM_BUILD_ROOT%{_prefix} \
-	bindir=$RPM_BUILD_ROOT%{_bindir} \
-	datadir=$RPM_BUILD_ROOT%{_datadir} \
-	libdir=$RPM_BUILD_ROOT%{_libdir} \
-	docdir=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \
-	mandir=$RPM_BUILD_ROOT%{_mandir}
+	DESTDIR=$RPM_BUILD_ROOT \
+	docdir=%{_docdir}/%{name}-%{version}
 
 %{__make} -C ijs install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -265,6 +259,8 @@
 %attr(755,root,root) %{_bindir}/ijs_*_example
 %attr(755,root,root) %{_libdir}/libgs.so.*.*
 %attr(755,root,root) %{_libdir}/libijs-*.so
+%dir %{_libdir}/%{name}/*.*
+%attr(755,root,root) %{_libdir}/%{name}/*.*/*.so
 %dir %{_datadir}/%{name}
 %dir %{_datadir}/%{name}/lib
 %{_datadir}/%{name}/lib/*.*
@@ -314,6 +310,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.169  2007/08/06 19:36:03  arekm
+- rel 1
+
 Revision 1.168  2007/08/03 19:55:53  arekm
 - started work on 8.60 (obsoletes ghostscript ESP)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ghostscript.spec?r1=1.168&r2=1.169&f=u



More information about the pld-cvs-commit mailing list