packages: shapelib/shapelib.spec - ghost soname symlink, ccache fix

glen glen at pld-linux.org
Fri Sep 2 06:26:17 CEST 2011


Author: glen                         Date: Fri Sep  2 04:26:17 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ghost soname symlink, ccache fix

---- Files affected:
packages/shapelib:
   shapelib.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/shapelib/shapelib.spec
diff -u packages/shapelib/shapelib.spec:1.3 packages/shapelib/shapelib.spec:1.4
--- packages/shapelib/shapelib.spec:1.3	Mon Feb 12 23:09:15 2007
+++ packages/shapelib/shapelib.spec	Fri Sep  2 06:26:12 2011
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - fix build CC containing spaces, like ccache cc
 Summary:	Shapefile C Library
 Summary(pl.UTF-8):	Biblioteka Shapefile dla C
 Name:		shapelib
@@ -12,6 +14,9 @@
 URL:		http://www.remotesensing.org/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# broken
+%undefine	with_ccache
+
 %description
 The Shapefile C Library provides the ability to write simple C
 programs for reading, writing and updating (to a limited extent) ESRI
@@ -58,14 +63,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} lib_install \
-	DESTDIR=$RPM_BUILD_ROOT \
 	libdir=%{_libdir} \
-	includedir=%{_includedir}
+	includedir=%{_includedir} \
+	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_bindir}
-for p in dbfadd dbfcreate dbfdump shpadd shpcreate shpdump shprewind shptest ; do
+for p in dbfadd dbfcreate dbfdump shpadd shpcreate shpdump shprewind shptest; do
 	sh ./libtool --mode=install install $p $RPM_BUILD_ROOT%{_bindir}
 done
 
@@ -80,6 +84,7 @@
 %doc ChangeLog README* *.html
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/libshp.so.*.*.*
+%ghost %{_libdir}/libshp.so.1
 
 %files devel
 %defattr(644,root,root,755)
@@ -97,6 +102,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/09/02 04:26:12  glen
+- ghost soname symlink, ccache fix
+
 Revision 1.3  2007/02/12 22:09:15  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/shapelib/shapelib.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list