Author: charles                      Date: Sat Aug 23 19:56:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.5.3.1
- added -build.patch (lt/ac/am support based on packaging/debian.diff)

---- Files affected:
SPECS:
   ibpp.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/ibpp.spec
diff -u SPECS/ibpp.spec:1.10 SPECS/ibpp.spec:1.11
--- SPECS/ibpp.spec:1.10        Tue Feb 13 09:06:35 2007
+++ SPECS/ibpp.spec     Sat Aug 23 21:56:52 2008
@@ -1,16 +1,21 @@
 # $Revision$, $Date$
+%define                sver 2-5-3-1
+%define                ver %(echo %{sver} | tr -s - .)
 Summary:       IBPP - a C++ client interface for Firebird Server & InterBase
 Summary(pl.UTF-8):     IBPP - interfejs klienta w C++ do serwerów baz danych 
Firebird i InterBase
 Name:          ibpp
-Version:       2.3.5.0
-Release:       2
-License:       IBPP License (based on Mozilla Public License)
+Version:       %{ver}
+Release:       1
+License:       IBPP License v1.1 (based on Mozilla Public License)
 Group:         Libraries
-Source0:       http://dl.sourceforge.net/ibpp/%{name}-2-3-5-0-src.zip
-# Source0-md5: f96991555dec3c98216e0d78f31b8586
-Patch0:                %{name}-types.patch
+Source0:       http://dl.sourceforge.net/ibpp/%{name}-%{sver}-src.zip
+# Source0-md5: 0fec1e010ad272825cb585cd79e68936
+Patch0:                %{name}-build.patch
 URL:           http://www.ibpp.org/
 BuildRequires: Firebird-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 BuildRequires: unzip
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -60,6 +65,7 @@
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki IBPP
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      Firebird-devel
 
 %description devel
 This is the libraries, include files and other resources you can use
@@ -86,19 +92,22 @@
 %patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure
+
 %{__make} \
        CXX="%{__cxx}" \
-       CXXFLAGS="%{rpmcflags} %{?debug:-DDEBUG} -fPIC -Wall -DIBPP_LINUX 
-DIBPP_GCC -I." \
-       IBPP_GCC=1 \
-       %{?debug:DEBUG=1}
+       CXXFLAGS="%{rpmcxxflags} %{?debug:-g -DDEBUG} -fPIC -Wall -DIBPP_LINUX 
-DIBPP_GCC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
 
-install release/linux/libibpp.so $RPM_BUILD_ROOT%{_libdir}
-install release/linux/libibpp.a $RPM_BUILD_ROOT%{_libdir}
-install ibpp.h $RPM_BUILD_ROOT%{_includedir}
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -109,11 +118,14 @@
 %files
 %defattr(644,root,root,755)
 %doc *.txt tests/tests.cpp
-%attr(755,root,root) %{_libdir}/libibpp.so
+%attr(755,root,root) %{_libdir}/libibpp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libibpp.so.2
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_includedir}/ibpp.h
+%attr(755,root,root) %{_libdir}/libibpp.so
+%{_libdir}/libibpp.la
+%{_includedir}/ibpp.h
 
 %files static
 %defattr(644,root,root,755)
@@ -125,6 +137,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2008/08/23 19:56:52  charles
+- updated to 2.5.3.1
+- added -build.patch (lt/ac/am support based on packaging/debian.diff)
+
 Revision 1.10  2007/02/13 08:06:35  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ibpp.spec?r1=1.10&r2=1.11&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to