]> git.pld-linux.org Git - packages/xbase.git/blob - xbase.spec
- updated to 2.1.1 (devel, but ready for gcc 3.x); added fix patch
[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.1.1
5 Release:        1
6 License:        LGPL (library), GPL (programs)
7 Group:          Libraries
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)
17
18 %description
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.
25
26 %description -l pl
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.
33
34 %package devel
35 Summary:        XBase development files
36 Summary(pl):    Pliki dla programistów u¿ywaj±cych XBase
37 License:        LGPL
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 This package contains XBase development files.
43
44 %description devel -l pl
45 Ten pakiet zawiera pliki nag³ówkowe potrzebne przy tworzeniu
46 aplikacji u¿ywaj±cych Xbase.
47
48 %package static
49 Summary:        Static XBase library
50 Summary(pl):    Statyczna biblioteka XBase
51 License:        LGPL
52 Group:          Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 Static XBase library.
57
58 %description static -l pl
59 Statyczna biblioteka XBase.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
72 %configure \
73         --enable-nls \
74         --with-exceptions \
75         --with-index-ndx \
76         --with-index-ntx
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
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.*.*
96
97 %files devel
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
102 %{_libdir}/lib*.la
103 %{_includedir}/xbase
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/lib*.a
This page took 0.202169 seconds and 4 git commands to generate.