1 Summary: XBase - xbase-compatible C++ class library
2 Summary(pl): XBase - kompatybilna z xbase biblioteka klas C++
6 License: LGPL (library), GPL (programs)
8 Source0: http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz
9 # Source0-md5: f36852f0ba0c4d9e047e84c3269fde37
10 Patch0: %{name}-fix.patch
11 URL: http://linux.techass.com/projects/xdb/
12 BuildRequires: autoconf >= 2.52
13 BuildRequires: automake
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtool >= 2:1.4d
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class
20 library. It's useful for accessing data in legacy dBase 3 and 4
21 database files as well as a general light-weight database engine. It
22 includes support for DBF (dBase version 3 and 4) data files, NDX and
23 NTX indexes, and DBT (dBase version 3 and 4). It supports file and
24 record locking under *nix OSes.
27 XBase to kompatybilna z xbase (czyli dBase, FoxPro itp.) biblioteka
28 klas C++. Jest przydatna do dostêpu do danych w plikach starych baz
29 dBase 3 i 4, a tak¿e jako lekki silnik baz danych ogólnego
30 przeznaczenia. Obs³uguje pliki baz DBF (dBase w wersji 3 i 4), indeksy
31 NDX i NTX oraz DBT (dBase w wersji 3 i 4). Obs³uguje blokowanie
32 plików i rekordów pod systemami uniksowymi.
35 Summary: XBase development files
36 Summary(pl): Pliki dla programistów u¿ywaj±cych XBase
38 Group: Development/Libraries
39 Requires: %{name} = %{version}-%{release}
42 This package contains XBase development files.
44 %description devel -l pl
45 Ten pakiet zawiera pliki nag³ówkowe potrzebne przy tworzeniu
46 aplikacji u¿ywaj±cych Xbase.
49 Summary: Static XBase library
50 Summary(pl): Statyczna biblioteka XBase
52 Group: Development/Libraries
53 Requires: %{name}-devel = %{version}-%{release}
58 %description static -l pl
59 Statyczna biblioteka XBase.
71 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README TODO
94 %attr(755,root,root) %{_bindir}/[!x]*
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
98 %defattr(644,root,root,755)
99 %doc html/{*.html,*.jpg}
100 %attr(755,root,root) %{_bindir}/xbase-config
101 %attr(755,root,root) %{_libdir}/lib*.so
106 %defattr(644,root,root,755)