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