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