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