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