]> git.pld-linux.org Git - packages/xbase.git/blob - xbase.spec
- added passing $RPM_OPT_FLAGS in CFLAGS and CPPFLAGS; in CPPFLAGS
[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:        1
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 #Source1:       ftp://www.startech.keller.tx.us/pub/xbase/%{name}174c-html.tar.gz
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
52 %build
53 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
54 CPPFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-implicit-templates" \
55 ./configure \
56         --prefix=/usr \
57         --enable-nls \
58         --with-exceptions \
59         --with-index-ndx \
60         --with-index-ntx
61 make
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 make prefix=$RPM_BUILD_ROOT/usr install
66
67 install -d $RPM_BUILD_ROOT/usr/doc/%name-%version
68
69 gzip -9nf ChangeLog TODO AUTHORS NEWS README
70
71 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc *gz
82 %attr(755,root,root)/usr/bin/*
83 %attr(755,root,root)/usr/lib/lib*.so*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %doc html/{*html,*gif,*jpg}
88 %attr(755,root,root)/usr/lib/lib*.so
89 /usr/include/*
90 /usr/lib/libxbase.la
91
92 %changelog
93 * Thu Apr 15 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
94   [1.8.1-1]
95 - added passing $RPM_OPT_FLAGS in CFLAGS and CPPFLAGS; in CPPFLAGS
96   added "-fno-rtti -fno-implicit-templates",
97 - added "-s" to LDFLAGS,
98 - added stripping shared libraries,
99 - fixed Copyright (LGPL).
100
101 * Wed Apr 14 1999 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
102 - separate file,
103 - update to version 1.8.1
104
105 * Sat Dec 12 1998 Wojciech "Sas" Ciêciwa <cieciwa@alpha.zarz.agh.edu.pl>
106 - building RPM.
This page took 0.061355 seconds and 4 git commands to generate.