]> git.pld-linux.org Git - packages/xbase.git/blame - xbase.spec
- x32 rebuild
[packages/xbase.git] / xbase.spec
CommitLineData
e891c44b 1Summary: XBase - xbase-compatible C++ class library
066dc6da 2Summary(pl.UTF-8): XBase - kompatybilna z xbase biblioteka klas C++
e7b3b477 3Name: xbase
8a22714a 4Version: 2.1.1
df08b1a0 5Release: 6
4718091e 6License: LGPL v2.1+ (library), GPL v2+ (programs)
f97b2485 7Group: Libraries
4718091e 8Source0: http://downloads.sourceforge.net/xdb/%{name}-%{version}.tar.gz
8a22714a
JB
9# Source0-md5: f36852f0ba0c4d9e047e84c3269fde37
10Patch0: %{name}-fix.patch
bb3cd4ce 11Patch1: %{name}-gcc4.patch
4718091e 12Patch2: %{name}-am.patch
84418ba6 13URL: http://linux.techass.com/projects/xdb/
8a22714a
JB
14BuildRequires: autoconf >= 2.52
15BuildRequires: automake
b9132b06 16BuildRequires: libstdc++-devel
8a22714a 17BuildRequires: libtool >= 2:1.4d
99af2939 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
dae735e8 19
20%description
e891c44b
JB
21XBase is an xbase (i.e. dBase, FoxPro, etc.) compatible C++ class
22library. It's useful for accessing data in legacy dBase 3 and 4
23database files as well as a general light-weight database engine. It
24includes support for DBF (dBase version 3 and 4) data files, NDX and
25NTX indexes, and DBT (dBase version 3 and 4). It supports file and
26record locking under *nix OSes.
dae735e8 27
33fa3a2f 28%description -l pl.UTF-8
e891c44b 29XBase to kompatybilna z xbase (czyli dBase, FoxPro itp.) biblioteka
33fa3a2f
JR
30klas C++. Jest przydatna do dostępu do danych w plikach starych baz
31dBase 3 i 4, a także jako lekki silnik baz danych ogólnego
32przeznaczenia. Obsługuje pliki baz DBF (dBase w wersji 3 i 4), indeksy
33NDX i NTX oraz DBT (dBase w wersji 3 i 4). Obsługuje blokowanie
34plików i rekordów pod systemami uniksowymi.
dae735e8 35
36%package devel
e891c44b 37Summary: XBase development files
066dc6da 38Summary(pl.UTF-8): Pliki dla programistów używających XBase
938b0a7e 39License: LGPL v2.1+
f97b2485 40Group: Development/Libraries
8a22714a 41Requires: %{name} = %{version}-%{release}
26b135f7 42Requires: libstdc++-devel
dae735e8 43
44%description devel
e891c44b 45This package contains XBase development files.
dae735e8 46
33fa3a2f
JR
47%description devel -l pl.UTF-8
48Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu
49aplikacji używających Xbase.
dae735e8 50
8a22714a
JB
51%package static
52Summary: Static XBase library
066dc6da 53Summary(pl.UTF-8): Statyczna biblioteka XBase
938b0a7e 54License: LGPL v2.1+
8a22714a
JB
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static XBase library.
60
33fa3a2f 61%description static -l pl.UTF-8
8a22714a
JB
62Statyczna biblioteka XBase.
63
938b0a7e
JB
64%package tools
65Summary: XBase utilities for xbase files
66Summary(pl.UTF-8): XBase - narzędzia do plików xbase
67License: GPL v2+
68Group: Applications/File
69Requires: %{name} = %{version}-%{release}
70
71%description tools
72XBase utilities for xbase files.
73
74%description tools -l pl.UTF-8
75XBase - narzędzia do plików xbase.
76
dae735e8 77%prep
fb665945 78%setup -q
8a22714a 79%patch0 -p1
bb3cd4ce 80%patch1 -p1
4718091e 81%patch2 -p1
dae735e8 82
83%build
8a22714a
JB
84%{__libtoolize}
85%{__aclocal}
86%{__autoconf}
87%{__autoheader}
88%{__automake}
89CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
90%configure \
dae735e8 91 --with-exceptions \
92 --with-index-ndx \
93 --with-index-ntx
eb43ade0 94%{__make}
dae735e8 95
96%install
e7b3b477 97rm -rf $RPM_BUILD_ROOT
d5617c06 98
e891c44b
JB
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
dae735e8 101
102%clean
103rm -rf $RPM_BUILD_ROOT
104
8b2efa14 105%post -p /sbin/ldconfig
e891c44b
JB
106%postun -p /sbin/ldconfig
107
dae735e8 108%files
e7b3b477 109%defattr(644,root,root,755)
8a22714a 110%doc AUTHORS ChangeLog NEWS README TODO
4718091e
JB
111%attr(755,root,root) %{_libdir}/libxbase.so.*.*.*
112%attr(755,root,root) %ghost %{_libdir}/libxbase.so.1
dae735e8 113
114%files devel
e7b3b477 115%defattr(644,root,root,755)
8a22714a 116%doc html/{*.html,*.jpg}
84418ba6 117%attr(755,root,root) %{_bindir}/xbase-config
4718091e
JB
118%attr(755,root,root) %{_libdir}/libxbase.so
119%{_libdir}/libxbase.la
84418ba6 120%{_includedir}/xbase
8a22714a
JB
121
122%files static
123%defattr(644,root,root,755)
4718091e 124%{_libdir}/libxbase.a
938b0a7e
JB
125
126%files tools
127%defattr(644,root,root,755)
128%attr(755,root,root) %{_bindir}/checkndx
129%attr(755,root,root) %{_bindir}/copydbf
130%attr(755,root,root) %{_bindir}/dbfutil1
131%attr(755,root,root) %{_bindir}/dbfxtrct
132%attr(755,root,root) %{_bindir}/deletall
133%attr(755,root,root) %{_bindir}/dumphdr
134%attr(755,root,root) %{_bindir}/dumprecs
135%attr(755,root,root) %{_bindir}/packdbf
136%attr(755,root,root) %{_bindir}/reindex
137%attr(755,root,root) %{_bindir}/undelall
138%attr(755,root,root) %{_bindir}/zap
This page took 0.192648 seconds and 4 git commands to generate.