rpms/xbase/F-7 xbase-2.0.0-ppc.patch,NONE,1.1 xbase.spec,1.6,1.7

Tom Callaway (spot) fedora-extras-commits at redhat.com
Tue Oct 30 13:43:31 UTC 2007


Author: spot

Update of /cvs/extras/rpms/xbase/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11518/F-7

Modified Files:
	xbase.spec 
Added Files:
	xbase-2.0.0-ppc.patch 
Log Message:

fix multilib conflicts, sync F-7 up


xbase-2.0.0-ppc.patch:

--- NEW FILE xbase-2.0.0-ppc.patch ---
--- xbase-2.0.0/ltconfig.foo	2007-05-04 18:14:42.000000000 -0400
+++ xbase-2.0.0/ltconfig	2007-05-04 18:15:39.000000000 -0400
@@ -1664,16 +1664,7 @@ linux-gnu*)
   shlibpath_var=LD_LIBRARY_PATH
   check_shared_deplibs_method='file_magic ELF 32-bit LSB shared object'
   sys_lib_search_path="/lib /usr/lib /usr/local/lib `echo $LD_LIBRARY_PATH | sed -e 's/:/ /g'`"
-
-  if test -f /lib/ld.so.1; then
-    dynamic_linker='GNU ld.so'
-  else
-    # Only the GNU ld.so supports shared libraries on MkLinux.
-    case "$host_cpu" in
-    powerpc*) dynamic_linker=no ;;
-    *) dynamic_linker='Linux ld.so' ;;
-    esac
-  fi
+  dynamic_linker='GNU ld.so'
   ;;
 
 netbsd* | openbsd*)


Index: xbase.spec
===================================================================
RCS file: /cvs/extras/rpms/xbase/F-7/xbase.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xbase.spec	27 Aug 2007 18:57:18 -0000	1.6
+++ xbase.spec	30 Oct 2007 13:41:26 -0000	1.7
@@ -1,13 +1,14 @@
 Name:		xbase
-Summary: 	XBase compatible database library and tools
+Summary: 	XBase compatible database library
 Version: 	2.0.0
-Release: 	6%{?dist}
-License: 	LGPLv2+ and GPLv2+
-Group: 		Development/Libraries
+Release: 	8%{?dist}
+License: 	LGPLv2+
+Group: 		System Environment/Libraries
 URL:		http://linux.techass.com/projects/xdb/
-Source0:	http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz
+Source0:	http://downloads.sourceforge.net/xdb/%{name}-%{version}.tar.gz
 Patch0:		xbase-2.0.0-fixconfig.patch
 Patch1:		xbase-2.0.0-fixheader.patch
+Patch2:		xbase-2.0.0-ppc.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	doxygen
 
@@ -29,13 +30,28 @@
 %description devel
 Headers and libraries for compiling programs that use the XBase library.
 
+%package utils
+Summary: XBase utilities / tools
+Group: Applications/Databases
+License: GPLv2+
+Requires: %{name} = %{version}-%{release}
+
+%description utils
+This package contains various utilities for working with X-Base files:
+checkndx (check an NDX file), copydbf (copy a DBF file structure), deletall
+(mark all records for deletion), dumphdr (print an X-Base file header),
+dumprecs (dump records for an X-Base file), packdbf (pack a database file),
+reindex (rebuild an index), undelall (undeletes all deleted records in a file),
+zap (remove all records from a DBF file).
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
-%configure --enable-static
+%configure --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -43,6 +59,10 @@
 make DESTDIR=$RPM_BUILD_ROOT install
 rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 
+# Fix files for multilib
+touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/xbase-config
+touch -r NEWS docs/html/*.html
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -53,6 +73,17 @@
 %files
 %defattr(-, root, root, 0755)
 %doc NEWS README TODO AUTHORS COPYING ChangeLog
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%doc docs/html
+%{_includedir}/xbase
+%{_bindir}/xbase-config
+%{_libdir}/libxbase.so
+
+%files utils
+%defattr(-, root, root, 0755)
 %{_bindir}/checkndx
 %{_bindir}/copydbf
 %{_bindir}/dbfxtrct
@@ -64,18 +95,18 @@
 %{_bindir}/undelall
 %{_bindir}/zap
 %{_bindir}/dbfutil1
-%{_libdir}/*.so.*
-
-%files devel
-%defattr(-, root, root, 0755)
-%doc docs/html
-%dir %{_includedir}/xbase
-%{_includedir}/xbase/*
-%{_bindir}/xbase-config
-%{_libdir}/libxbase.a
-%{_libdir}/libxbase.so
 
 %changelog
+* Tue Oct 30 2007 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.0-8
+- fix multilib conflicts
+
+* Fri Aug 17 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 2.0.0-7
+- Update License tag for new Licensing Guidelines compliance
+- Add patch by Bill Nottingham to fix building on ppc64 (bz 239131)
+- Don't build and install a static version of the lib
+- Put the utilities/tools in a -utils sub package (to make clear they are under
+  a different license)
+
 * Mon Sep 11 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.0-6
 - rebuild
 




More information about the fedora-extras-commits mailing list