]> git.pld-linux.org Git - packages/xbase.git/blob - xbase.spec
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
[packages/xbase.git] / xbase.spec
1 Summary:        Xbase DBMS Library
2 Summary(pl):    Xbase - biblioteka dla ró¿nych baz danych
3 Name:           xbase
4 Version:        1.8.1
5 Release:        7
6 License:        LGPL
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Source0:        ftp://www.startech.keller.tx.us/pub/xbase/%name-%version.tar.gz
13 Patch0:         %{name}-autoconf.patch
14 URL:            http://www.startech.keller.tx.us/xbase.html
15 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This product provides C and C++ programmers a class and function
20 library for manipulating Xbase type datafiles and indices. This
21 project was formerly known as Xbase for Linux, but as I have recieved
22 input from several people who are compiling this on platforms other
23 than Linux, I have renamed it to Xbase DBMS. The main development of
24 this library however, remains on the Linux platform utilizing the GCC
25 public domain C/C++ compiler.
26
27 XBase DBMS currently includes routines to support multi-user access
28 for .DBF databases, fields, Dbase III and IV memo fields (variable
29 length fields), dates, record and file locking and (.NDX) indices. As
30 of release 1.7.4, Xbase is compatible with dBASE III data, index and
31 memo fields and also has support for some dBASE IV features.
32
33 %description -l pl
34 Bibliotek zawieraj±ca zespó³ procerur i funkcji pozwalaj±cych na
35 podstawowe operacje na na formatacie danych dBASE III i czê¶ciowo
36 dBASE IV.
37
38 Bazowo projekt powstawa³ pod Linuxa ale obecnie jest u¿ywany na wielu
39 platformach.
40
41 %package devel
42 Summary:        Xbase development
43 Summary(pl):    Xbase dla programistów
44 Group:          Development/Libraries
45 Group(de):      Entwicklung/Libraries
46 Group(fr):      Development/Librairies
47 Group(pl):      Programowanie/Biblioteki
48 Requires:       %{name} = %{version}
49
50 %description devel
51 Include headers and Turbo Vision module in source.
52
53 %description devel -l pl
54 Zawiera pliki nag³ówkowe potrzebne przy tworzeniu oprogramowania oraz
55 modu³ dla Turbo Vision.
56
57 %prep
58 %setup -q 
59 %patch -p1
60
61 %build
62 automake -a -c
63 autoconf
64 CPPFLAGS="%{rpmcflags} -fno-rtti -fno-implicit-templates"
65 export CPPFLAGS
66 %configure \
67         --enable-nls \
68         --with-exceptions \
69         --with-index-ndx \
70         --with-index-ntx
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 %{__make} DESTDIR=$RPM_BUILD_ROOT install
76
77 gzip -9nf ChangeLog TODO AUTHORS NEWS README
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %doc *gz
88 %attr(755,root,root) %{_bindir}/*
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc html/{*html,*gif,*jpg}
94 %attr(755,root,root) %{_libdir}/lib*.so
95 %attr(755,root,root) %{_libdir}/lib*.la
96 %{_includedir}/*
This page took 0.060373 seconds and 4 git commands to generate.