]> git.pld-linux.org Git - packages/xbase.git/blame_incremental - xbase.spec
- converted to UTF-8
[packages/xbase.git] / xbase.spec
... / ...
CommitLineData
1Summary: XBase - xbase-compatible C++ class library
2Summary(pl.UTF-8): XBase - kompatybilna z xbase biblioteka klas C++
3Name: xbase
4Version: 2.1.1
5Release: 3
6License: LGPL (library), GPL (programs)
7Group: Libraries
8Source0: http://dl.sourceforge.net/xdb/%{name}-%{version}.tar.gz
9# Source0-md5: f36852f0ba0c4d9e047e84c3269fde37
10Patch0: %{name}-fix.patch
11Patch1: %{name}-gcc4.patch
12URL: http://linux.techass.com/projects/xdb/
13BuildRequires: autoconf >= 2.52
14BuildRequires: automake
15BuildRequires: libstdc++-devel
16BuildRequires: libtool >= 2:1.4d
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
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.
26
27%description -l pl.UTF-8
28XBase to kompatybilna z xbase (czyli dBase, FoxPro itp.) biblioteka
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.
34
35%package devel
36Summary: XBase development files
37Summary(pl.UTF-8): Pliki dla programistów używających XBase
38License: LGPL
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41Requires: libstdc++-devel
42
43%description devel
44This package contains XBase development files.
45
46%description devel -l pl.UTF-8
47Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu
48aplikacji używających Xbase.
49
50%package static
51Summary: Static XBase library
52Summary(pl.UTF-8): Statyczna biblioteka XBase
53License: LGPL
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static XBase library.
59
60%description static -l pl.UTF-8
61Statyczna biblioteka XBase.
62
63%prep
64%setup -q
65%patch0 -p1
66%patch1 -p1
67
68%build
69%{__libtoolize}
70%{__aclocal}
71%{__autoconf}
72%{__autoheader}
73%{__automake}
74CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
75%configure \
76 --enable-nls \
77 --with-exceptions \
78 --with-index-ndx \
79 --with-index-ntx
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
93
94%files
95%defattr(644,root,root,755)
96%doc AUTHORS ChangeLog NEWS README TODO
97%attr(755,root,root) %{_bindir}/[!x]*
98%attr(755,root,root) %{_libdir}/lib*.so.*.*
99
100%files devel
101%defattr(644,root,root,755)
102%doc html/{*.html,*.jpg}
103%attr(755,root,root) %{_bindir}/xbase-config
104%attr(755,root,root) %{_libdir}/lib*.so
105%{_libdir}/lib*.la
106%{_includedir}/xbase
107
108%files static
109%defattr(644,root,root,755)
110%{_libdir}/lib*.a
This page took 0.029339 seconds and 4 git commands to generate.