Logoj0ke.net Open Build Service > Projects > server:database:paradox > pxlib > pxlib.spec
Sign Up | Log In

File pxlib.spec of Package pxlib (Revision 9)

Currently displaying revision 9, show latest

x
 
1
Summary: A library to read Paradox DB files
2
Name: pxlib
3
Version: 0.6.3
4
Release: 1
5
License: see doc/COPYING
6
Group: Applications/Utils
7
Url: http://pxlib.sourceforge.net/
8
Packager: Carsten Schoene <cs@linux-administrator.com>
9
Source: http://prdownloads.sourceforge.net/pxlib/pxlib-%{PACKAGE_VERSION}.tar.gz
10
BuildRoot: /var/tmp/rpm/pxlib-root
11
Prefix: /usr
12
Provides: libpx
13
BuildRequires: perl-XML-Parser sqlite2-devel docbook-to-man
14
15
%description
16
pxlib is a simply and still small C library to read Paradox DB files. It
17
supports all versions starting from 3.0. It currently has a very limited set of
18
functions like to open a DB file, read its header and read every single record.
19
20
%package devel
21
Summary: A library to read Paradox DB files (Development)
22
Group: Development/Libraries
23
Requires: pxlib = %{version}
24
Provides: libpx-devel
25
26
%description devel
27
pxlib is a simply and still small C library to read Paradox DB files. It
28
supports all versions starting from 3.0. It currently has a very limited set of
29
functions like to open a DB file, read its header and read every single record.
30
31
%debug_package
32
33
%prep
34
%setup
35
36
%build
37
%configure --with-sqlite --with-gsf
38
make
39
40
%install
41
rm -rf ${RPM_BUILD_ROOT}
42
install -d -m 755 ${RPM_BUILD_ROOT}
43
make DESTDIR=${RPM_BUILD_ROOT} install
44
45
%clean
46
rm -rf ${RPM_BUILD_ROOT}
47
48
%post -p /sbin/ldconfig
49
50
%postun -p /sbin/ldconfig
51
52
%files
53
%attr(-,root,root) %doc README AUTHORS ChangeLog COPYING INSTALL
54
%attr(-,root,root) %{_libdir}/lib*.so.*
55
%attr(-,root,root) %{prefix}/share/locale/*/LC_MESSAGES/*
56
57
%files devel
58
%attr(-,root,root) %{_libdir}/lib*.so
59
%attr(-,root,root) %{_libdir}/*.a
60
%attr(-,root,root) %{_libdir}/*.la
61
%attr(-,root,root) %{_libdir}/pkgconfig/*
62
%attr(-,root,root) %{prefix}/include/*
63
%attr(-,root,root) %{_mandir}/man3/*
64
65
%changelog
66
* Wed Jan 02 2008 Carsten Schoene <cs@linux-administrator.com>
67
- initial build
68
69