]> git.pld-linux.org Git - packages/xbase.git/blobdiff - xbase.spec
- release 4,
[packages/xbase.git] / xbase.spec
index e0c9b714133bc0776a11c9ac0d24bd4b25d7520e..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:       2
+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} \
-       --prefix=/usr \
+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,33 +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
-/usr/include/*
-%{_libdir}/libxbase.la
-
-%changelog
-* Thu Apr 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.8.1-2]
-- recompiles on new rpm.
-
-* Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
-  [1.8.1-1]
-- added passing $RPM_OPT_FLAGS in CFLAGS and CPPFLAGS; in CPPFLAGS
-  added "-fno-rtti -fno-implicit-templates",
-- added "-s" to LDFLAGS,
-- added stripping shared libraries,
-- added URL,
-- fixed Copyright (LGPL).
-
-* Wed Apr 14 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
-- separate file,
-- update to version 1.8.1
-
-* Sat Dec 12 1998 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
-- building RPM.
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
+%{_includedir}/*
This page took 0.050607 seconds and 4 git commands to generate.