1 Summary: XBase - xbase-compatible C++ class library
2 Summary(pl.UTF-8): 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 Patch1: %{name}-gcc4.patch
12 URL: http://linux.techass.com/projects/xdb/
13 BuildRequires: autoconf >= 2.52
14 BuildRequires: automake
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool >= 2:1.4d
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class
21 library. It's useful for accessing data in legacy dBase 3 and 4
22 database files as well as a general light-weight database engine. It
23 includes support for DBF (dBase version 3 and 4) data files, NDX and
24 NTX indexes, and DBT (dBase version 3 and 4). It supports file and
25 record locking under *nix OSes.
27 %description -l pl.UTF-8
28 XBase to kompatybilna z xbase (czyli dBase, FoxPro itp.) biblioteka
29 klas C++. Jest przydatna do dostępu do danych w plikach starych baz
30 dBase 3 i 4, a także jako lekki silnik baz danych ogólnego
31 przeznaczenia. Obsługuje pliki baz DBF (dBase w wersji 3 i 4), indeksy
32 NDX i NTX oraz DBT (dBase w wersji 3 i 4). Obsługuje blokowanie
33 plików i rekordów pod systemami uniksowymi.
36 Summary: XBase development files
37 Summary(pl.UTF-8): Pliki dla programistów używających XBase
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
41 Requires: libstdc++-devel
44 This package contains XBase development files.
46 %description devel -l pl.UTF-8
47 Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu
48 aplikacji używających Xbase.
51 Summary: Static XBase library
52 Summary(pl.UTF-8): Statyczna biblioteka XBase
54 Group: Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
60 %description static -l pl.UTF-8
61 Statyczna biblioteka XBase.
74 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
89 rm -rf $RPM_BUILD_ROOT
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS README TODO
97 %attr(755,root,root) %{_bindir}/[!x]*
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*
101 %defattr(644,root,root,755)
102 %doc html/{*.html,*.jpg}
103 %attr(755,root,root) %{_bindir}/xbase-config
104 %attr(755,root,root) %{_libdir}/lib*.so
109 %defattr(644,root,root,755)