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