SPECS: mdbtools.spec - libs split; rel 3

glen glen at pld-linux.org
Wed Jan 3 01:56:11 CET 2007


Author: glen                         Date: Wed Jan  3 00:56:11 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- libs split; rel 3

---- Files affected:
SPECS:
   mdbtools.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/mdbtools.spec
diff -u SPECS/mdbtools.spec:1.26 SPECS/mdbtools.spec:1.27
--- SPECS/mdbtools.spec:1.26	Wed Oct 25 12:11:47 2006
+++ SPECS/mdbtools.spec	Wed Jan  3 01:56:05 2007
@@ -4,12 +4,13 @@
 %bcond_without	gnome	# without gui package
 %bcond_without	odbc	# without odbc package
 #
-%define 	pre	pre1
+%define 	pre		pre1
+%define		_rel	3
 Summary:	Several utilities for using MS-Access .mdb files
 Summary(pl):	Zbiór narzędzi do używania plików MS-Access (.mdb)
 Name:		mdbtools
 Version:	0.6
-Release:	0.%{pre}.1
+Release:	0.%{pre}.%{_rel}
 License:	LGPL (library), GPL (gmdb2)
 Group:		Development/Tools
 Source0:	http://dl.sourceforge.net/mdbtools/%{name}-%{version}%{pre}.tar.gz
@@ -32,39 +33,48 @@
 BuildRequires:	pkgconfig
 BuildRequires:	readline-devel
 %{?with_odbc:BuildRequires:	unixODBC-devel >= 2.0.0}
+Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_includedir	%{_prefix}/include/mdb
 
 %description
-* mdb-dump - simple hex dump utility for looking at mdb files
-* mdb-schema - prints DDL for the specified table
-* mdb-export - export table to CSV format
-* mdb-tables - a simple dump of table names to be used with shell
+- mdb-dump - simple hex dump utility for looking at mdb files
+- mdb-schema - prints DDL for the specified table
+- mdb-export - export table to CSV format
+- mdb-tables - a simple dump of table names to be used with shell
   scripts
-* mdb-header - generates a C header to be used in exporting mdb data
+- mdb-header - generates a C header to be used in exporting mdb data
   to a C program
-* mdb-parsecsv - generates a C program given a CSV file made with
+- mdb-parsecsv - generates a C program given a CSV file made with
   mdb-export
-* mdb-sql - demo SQL engine program
+- mdb-sql - demo SQL engine program
 
 %description -l pl
-* mdb-dump - proste narzędzie do robienia szesnastkowych zrzutów baz,
+- mdb-dump - proste narzędzie do robienia szesnastkowych zrzutów baz,
   służące do oglądania plików mdb
-* mdb-schema - wypisuje DDL dla podanej tabeli
-* mdb-export - eksportuje tabelę do formatu CSV
-* mdb-tables - prosty zrzut nazw tabel do używania w skryptach powłoki
-* mdb-header - generuje nagłówki C, do używania przy eksportowaniu
+- mdb-schema - wypisuje DDL dla podanej tabeli
+- mdb-export - eksportuje tabelę do formatu CSV
+- mdb-tables - prosty zrzut nazw tabel do używania w skryptach powłoki
+- mdb-header - generuje nagłówki C, do używania przy eksportowaniu
   danych mdb do programu w C
-* mdb-parsecsv - generuje program w C na podstawie pliki CSV
+- mdb-parsecsv - generuje program w C na podstawie pliki CSV
   zrobionego przy użyciu mdb-export
-* mdb-sql - program demonstracyjny silnika SQL
+- mdb-sql - program demonstracyjny silnika SQL
+
+%package libs
+Summary:	shared libraries for mdbtools
+Group:		Libraries
+Conflicts:	mdbtools < 0.6-0.pre1.3
+
+%description libs
+Shared libraries for mdbtools.
 
 %package devel
 Summary:	Header files for mdb library
 Summary(pl):	Pliki nagłówkowe biblioteki mdb
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-libs = %{version}-%{release}
 
 %description devel
 Header files for mdb library.
@@ -126,8 +136,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-		--enable-sql \
-%{?with_odbc:	--with-unixodbc=/usr}
+	--enable-sql \
+	%{?with_odbc:--with-unixodbc=/usr}
 
 %{__make}
 
@@ -156,8 +166,8 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %post	odbc -p /sbin/ldconfig
 %postun	odbc -p /sbin/ldconfig
@@ -168,9 +178,12 @@
 %attr(755,root,root) %{_bindir}/mdb-*
 %attr(755,root,root) %{_bindir}/pr*
 %attr(755,root,root) %{_bindir}/updrow
+%{_mandir}/man1/mdb-*.1*
+
+%files libs
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libmdb.so.*.*
 %attr(755,root,root) %{_libdir}/libmdbsql.so.*.*
-%{_mandir}/man1/mdb-*.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -210,6 +223,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2007/01/03 00:56:05  glen
+- libs split; rel 3
+
 Revision 1.26  2006/10/25 10:11:47  sls
 - updated version to 0.6pre1 (de facto stable)
 - removed outdated patches: glib, gcc34
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mdbtools.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list