]> git.pld-linux.org Git - packages/xbase.git/commitdiff
- release 4, xbase-1_8_1-4
authorkloczek <kloczek@pld-linux.org>
Sun, 1 Aug 1999 21:16:35 +0000 (21:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added autoconf patch,
- added using %%configure macro,
- switch to "make install DESTDIR=</install/prefix" style in %install,
- added stripping shared libraries,
- changed permission on lib*.la to 755.

Changed files:
    xbase.spec -> 1.13

xbase.spec

index 342d7acab20be3734479bc98129ac2a165840be4..becfb9e0b90cfe0de7552a4a84b1407434297989 100644 (file)
@@ -2,11 +2,12 @@ Summary:      Xbase DBMS Library
 Summary(pl):   Xbase biblioteka dla ró¿nych baz danych.
 Name:          xbase
 Version:       1.8.1
-Release:       3
+Release:       4
 Copyright:     LGPL
 Group:         Applications/Libraries
 Group(pl):     Aplikacje/Biblioteki
 Source:                ftp://www.startech.keller.tx.us/pub/xbase/%name-%version.tar.gz
+Patch:         xbase-autoconf.patch
 URL:           http://www.startech.keller.tx.us/xbase.html
 Buildroot:     /tmp/%{name}-%{version}-root
 
@@ -47,12 +48,15 @@ oraz modu
 
 %prep
 %setup -q 
+%patch -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-CPPFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-implicit-templates" \
-./configure %{_target_platform} \
-       --prefix=%{_prefix} \
+automake
+autoconf
+LDFLAGS="-s"
+CPPFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-implicit-templates"
+export LDFLAGS CPPFLAGS
+%configure \
        --enable-nls \
        --with-exceptions \
        --with-index-ndx \
@@ -61,13 +65,11 @@ make
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
-
-install -d $RPM_BUILD_ROOT/usr/doc/%name-%version
+make DESTDIR=$RPM_BUILD_ROOT install
 
 gzip -9nf ChangeLog TODO AUTHORS NEWS README
 
-#strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -78,12 +80,12 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc *gz
-%attr(755,root,root)%{_bindir}/*
-%attr(755,root,root)%{_libdir}/lib*.so*.*
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %doc html/{*html,*gif,*jpg}
-%attr(755,root,root)%{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
 %{_includedir}/*
-%{_libdir}/libxbase.la
This page took 0.093097 seconds and 4 git commands to generate.