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}
40 Requires: libstdc++-devel
43 This package contains XBase development files.
45 %description devel -l pl
46 Ten pakiet zawiera pliki nag³ówkowe potrzebne przy tworzeniu
47 aplikacji u¿ywaj±cych Xbase.
50 Summary: Static XBase library
51 Summary(pl): Statyczna biblioteka XBase
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{version}-%{release}
59 %description static -l pl
60 Statyczna biblioteka XBase.
72 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
81 rm -rf $RPM_BUILD_ROOT
84 DESTDIR=$RPM_BUILD_ROOT
87 rm -rf $RPM_BUILD_ROOT
89 %post -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README TODO
95 %attr(755,root,root) %{_bindir}/[!x]*
96 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99 %defattr(644,root,root,755)
100 %doc html/{*.html,*.jpg}
101 %attr(755,root,root) %{_bindir}/xbase-config
102 %attr(755,root,root) %{_libdir}/lib*.so
107 %defattr(644,root,root,755)