1 Summary: XBase64 - xbase-compatible C++ class library
2 Summary(pl.UTF-8): XBase64 - kompatybilna z xbase biblioteka klas C++
6 License: LGPL v2.1+ (library), GPL v2+ (programs)
8 Source0: http://downloads.sourceforge.net/xdb/%{name}-%{version}.tar.gz
9 # Source0-md5: 7f3a727c142b4339faa781e1f6d5871c
10 Patch0: %{name}-fix.patch
11 Patch1: %{name}-am.patch
12 URL: http://linux.techass.com/projects/xdb/
13 BuildRequires: autoconf >= 2.52
14 BuildRequires: automake
15 BuildRequires: doxygen
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.5
18 BuildRequires: sed >= 4.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 XBase64 is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class
23 library. It's useful for accessing data in legacy dBase 3 and 4
24 database files as well as a general light-weight database engine. It
25 includes support for DBF (dBase version 3 and 4) data files, NDX and
26 NTX indexes, and DBT (dBase version 3 and 4). It supports file and
27 record locking under *nix OSes.
29 %description -l pl.UTF-8
30 XBase64 to kompatybilna z xbase (czyli dBase, FoxPro itp.) biblioteka
31 klas C++. Jest przydatna do dostępu do danych w plikach starych baz
32 dBase 3 i 4, a także jako lekki silnik baz danych ogólnego
33 przeznaczenia. Obsługuje pliki baz DBF (dBase w wersji 3 i 4), indeksy
34 NDX i NTX oraz DBT (dBase w wersji 3 i 4). Obsługuje blokowanie
35 plików i rekordów pod systemami uniksowymi.
38 Summary: XBase64 development files
39 Summary(pl.UTF-8): Pliki dla programistów używających XBase64
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: libstdc++-devel
46 This package contains XBase64 development files.
48 %description devel -l pl.UTF-8
49 Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu
50 aplikacji używających Xbase64.
53 Summary: Static XBase64 library
54 Summary(pl.UTF-8): Statyczna biblioteka XBase64
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static XBase64 library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka XBase64.
66 Summary: XBase64 utilities for xbase files
67 Summary(pl.UTF-8): XBase64 - narzędzia do plików xbase
69 Group: Applications/File
70 Requires: %{name} = %{version}-%{release}
71 Obsoletes: xbase-tools
72 Conflicts: xbase < 2.1.1-5
75 XBase64 utilities for xbase files.
77 %description tools -l pl.UTF-8
78 XBase64 - narzędzia do plików xbase.
83 # not undos - there are some CRs in the middle if lines
84 %{__sed} -i -e 's,\r,,' -e 's,__GNU LesserG__,__GNU_LesserG__,' xbase64/*.[ch]*
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc ChangeLog authors news readme todo
115 %attr(755,root,root) %{_libdir}/libxbase64.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libxbase64.so.1
119 %defattr(644,root,root,755)
120 %doc docs/html/{*.html,*.png}
121 %attr(755,root,root) %{_bindir}/xbase64-config
122 %attr(755,root,root) %{_libdir}/libxbase64.so
123 %{_libdir}/libxbase64.la
124 %{_includedir}/xbase64
127 %defattr(644,root,root,755)
128 %{_libdir}/libxbase64.a
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_bindir}/checkndx
133 %attr(755,root,root) %{_bindir}/copydbf
134 %attr(755,root,root) %{_bindir}/dbfutil1
135 %attr(755,root,root) %{_bindir}/dbfxtrct
136 %attr(755,root,root) %{_bindir}/deletall
137 %attr(755,root,root) %{_bindir}/dumphdr
138 %attr(755,root,root) %{_bindir}/dumprecs
139 %attr(755,root,root) %{_bindir}/packdbf
140 %attr(755,root,root) %{_bindir}/reindex
141 %attr(755,root,root) %{_bindir}/undelall
142 %attr(755,root,root) %{_bindir}/zap