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