Search
j0ke.net Open Build Service
>
Projects
>
server:database
:
paradox
>
pxlib
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 11
[-]
[+]
Changed
pxlib.spec
@@ -1,14 +1,19 @@ -Summary: A library to read Paradox DB files -Name: pxlib -Version: 0.6.3 -Release: 1 -License: see doc/COPYING -Group: Applications/Utils -Url: http://pxlib.sourceforge.net/ -Source: http://prdownloads.sourceforge.net/pxlib/pxlib-%{PACKAGE_VERSION}.tar.gz -BuildRoot: /var/tmp/rpm/pxlib-root -Prefix: /usr -Provides: libpx +%define pkgname pxlib +%define libname libpx +%define soname %{libname}0 +Summary: A library to read Paradox DB files +Name: %{soname} +Version: 0.6.3 +Release: 1 +License: see doc/COPYING +Group: Applications/Utils +Url: http://pxlib.sourceforge.net/ +Source: http://prdownloads.sourceforge.net/pxlib/%{pkgname}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Prefix: /usr +Provides: %{pkgname} +Obsoletes: %{pkgname} + BuildRequires: perl-XML-Parser docbook-to-man %if 0%{?suse_version} >= 1110 @@ -22,13 +27,15 @@ supports all versions starting from 3.0. It currently has a very limited set of functions like to open a DB file, read its header and read every single record. -%package devel +%package -n %{libname}-devel Summary: A library to read Paradox DB files (Development) Group: Development/Libraries -Requires: pxlib = %{version} -Provides: libpx-devel +Requires: %{soname} = %{version} +Provides: %{pkgname}-devel +Obsoletes: %{pkgname}-devel + -%description devel +%description -n %{libname}-devel pxlib is a simply and still small C library to read Paradox DB files. It supports all versions starting from 3.0. It currently has a very limited set of functions like to open a DB file, read its header and read every single record. @@ -59,7 +66,7 @@ %attr(-,root,root) %{_libdir}/lib*.so.* %attr(-,root,root) %{prefix}/share/locale/*/LC_MESSAGES/* -%files devel +%files -n %{pkgname}-devel %attr(-,root,root) %{_libdir}/lib*.so %attr(-,root,root) %{_libdir}/*.a %attr(-,root,root) %{_libdir}/*.la