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