]> git.pld-linux.org Git - packages/xbsql.git/blob - xbsql.spec
- release 7 (by relup.sh)
[packages/xbsql.git] / xbsql.spec
1 Summary:        XBSQL - an SQL wrapper for the XBase library
2 Summary(pl.UTF-8):      XBSQL - wrapper SQL dla biblioteki XBase
3 Name:           xbsql
4 Version:        0.11
5 Release:        7
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 Patch0:         %{name}-acfix.patch
12 URL:            http://www.quaking.demon.co.uk/xbsql/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  libtool >= 2:1.5
17 BuildRequires:  ncurses-devel
18 BuildRequires:  readline-devel
19 BuildRequires:  xbase-devel >= 1.8.1
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 XBSQL is a wrapper library which provides an SQL-subset interface to
24 XBase DBMS.
25
26 %description -l pl.UTF-8
27 XBSQL to biblioteka obudowująca dostarczająca interfejs będący
28 podzbiorem SQL do systemu baz danych XBase.
29
30 %package devel
31 Summary:        Header files for XBSQL library
32 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki XBSQL
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35 Requires:       xbase-devel
36
37 %description devel
38 Header files for XBSQL library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki XBSQL.
42
43 %package static
44 Summary:        Static XBSQL library
45 Summary(pl.UTF-8):      Statyczna biblioteka XBSQL
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static XBSQL library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka XBSQL.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58
59 %build
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %{__automake}
64 %configure
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS Announce ChangeLog README TODO
82 %attr(755,root,root) %{_bindir}/xql
83 %attr(755,root,root) %{_libdir}/libxbsql.so.*.*.*
84 %attr(755,root,root) %ghost %{_libdir}/libxbsql.so.0
85
86 %files devel
87 %defattr(644,root,root,755)
88 %doc doc/*.html
89 %attr(755,root,root) %{_libdir}/libxbsql.so
90 %{_libdir}/libxbsql.la
91 %{_includedir}/xbsql.h
92
93 %files static
94 %defattr(644,root,root,755)
95 %{_libdir}/libxbsql.a
This page took 0.065505 seconds and 4 git commands to generate.