]> git.pld-linux.org Git - packages/xbsql.git/blob - xbsql.spec
- new
[packages/xbsql.git] / xbsql.spec
1 Summary:        XBSQL - an SQL wrapper for the XBase library
2 Summary(pl):    XBSQL - wrapper SQL dla biblioteki XBase
3 Name:           xbsql
4 Version:        0.11
5 Release:        1
6 License:        LGPL
7 Group:          Libraries
8 # from URL - dead ftp://195.92.31.34/pub/xbsql-0.6/xbsql-0.6.tgz
9 Source0:        http://www.rekallrevealed.org/packages/%{name}-%{version}.tgz
10 # Source0-md5:  7f8c8584cf0f592660fb2653a4bfc415
11 URL:            http://www.quaking.demon.co.uk/xbsql/
12 BuildRequires:  ncurses-devel
13 BuildRequires:  readline-devel
14 BuildRequires:  xbase-devel >= 1.8.1
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 XBSQL is a wrapper library which provides an SQL-subset interface to
19 XBase DBMS.
20
21 %description -l pl
22 XBSQL to biblioteka obudowuj±ca dostarczaj±ca interfejs bêd±cy
23 podzbiorem SQL do systemu baz danych XBase.
24
25 %package devel
26 Summary:        Header files for XBSQL library
27 Summary(pl):    Pliki nag³ówkowe biblioteki XBSQL
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}-%{release}
30 Requires:       xbase-devel
31
32 %description devel
33 Header files for XBSQL library.
34
35 %description devel -l pl
36 Pliki nag³ówkowe biblioteki XBSQL.
37
38 %package static
39 Summary:        Static XBSQL library
40 Summary(pl):    Statyczna biblioteka XBSQL
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static XBSQL library.
46
47 %description static -l pl
48 Statyczna biblioteka XBSQL.
49
50 %prep
51 %setup -q
52
53 %build
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS Announce ChangeLog README TODO
72 %attr(755,root,root) %{_bindir}/xql
73 %attr(755,root,root) %{_libdir}/libxbsql.so.*.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %doc doc/*.html
78 %attr(755,root,root) %{_libdir}/libxbsql.so
79 %{_libdir}/libxbsql.la
80 %{_includedir}/xbsql.h
81
82 %files static
83 %defattr(644,root,root,755)
84 %{_libdir}/libxbsql.a
This page took 0.073925 seconds and 4 git commands to generate.