]> git.pld-linux.org Git - packages/xbase.git/blob - xbase.spec
- little better/updated descriptions based on README
[packages/xbase.git] / xbase.spec
1 Summary:        XBase - xbase-compatible C++ class library
2 Summary(pl):    XBase - kompatybilna z xbase biblioteka klas C++
3 Name:           xbase
4 Version:        2.0.0
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz
9 # Source0-md5:  9b29362031716a12491beb9f8cc882f2
10 URL:            http://linux.techass.com/projects/xdb/
11 BuildRequires:  libstdc++-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class
16 library. It's useful for accessing data in legacy dBase 3 and 4
17 database files as well as a general light-weight database engine. It
18 includes support for DBF (dBase version 3 and 4) data files, NDX and
19 NTX indexes, and DBT (dBase version 3 and 4). It supports file and
20 record locking under *nix OSes.
21
22 %description -l pl
23 XBase to kompatybilna z xbase (czyli dBase, FoxPro itp.) biblioteka
24 klas C++. Jest przydatna do dostêpu do danych w plikach starych baz
25 dBase 3 i 4, a tak¿e jako lekki silnik baz danych ogólnego
26 przeznaczenia. Obs³uguje pliki baz DBF (dBase w wersji 3 i 4), indeksy
27 NDX i NTX oraz DBT (dBase w wersji 3 i 4). Obs³uguje blokowanie
28 plików i rekordów pod systemami uniksowymi.
29
30 %package devel
31 Summary:        XBase development files
32 Summary(pl):    Pliki dla programistów u¿ywaj±cych XBase
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}
35
36 %description devel
37 This package contains XBase development files.
38
39 %description devel -l pl
40 Ten pakiet zawiera pliki nag³ówkowe potrzebne przy tworzeniu
41 aplikacji u¿ywaj±cych Xbase.
42
43 %prep
44 %setup -q
45
46 %build
47 CPPFLAGS="%{rpmcflags} -fno-rtti -fno-implicit-templates"
48 export CPPFLAGS
49 %configure2_13 \
50         --enable-nls \
51         --with-exceptions \
52         --with-index-ndx \
53         --with-index-ntx
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
69 %defattr(644,root,root,755)
70 %doc ChangeLog TODO AUTHORS NEWS README
71 %attr(755,root,root) %{_bindir}/[!x]*
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 %doc html/{*.html,*.gif,*.jpg}
77 %attr(755,root,root) %{_bindir}/xbase-config
78 %attr(755,root,root) %{_libdir}/lib*.so
79 %{_libdir}/lib*.la
80 %{_includedir}/xbase
This page took 0.042536 seconds and 4 git commands to generate.