mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
2c7d6f12ee
- Fixed compiler errors - Modified Makefiles to be part of plugin directory - Some minor changes in database.cpp to use the new MariaDB handler interface
39 lines
786 B
Text
39 lines
786 B
Text
Summary: handlersocket client library
|
|
Name: libhsclient
|
|
Version: HANDLERSOCKET_VERSION
|
|
Release: 1%{?dist}
|
|
Group: System Environment/Libraries
|
|
License: BSD
|
|
Source: libhsclient.tar.gz
|
|
Packager: Akira Higuchi <higuchi dot akira at dena dot jp>
|
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
|
|
%description
|
|
|
|
%prep
|
|
%setup -n %{name}
|
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
%build
|
|
make -f Makefile.plain
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/usr/include/handlersocket
|
|
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
|
install -m 755 libhsclient.a $RPM_BUILD_ROOT/%{_libdir}
|
|
install -m 644 *.hpp $RPM_BUILD_ROOT/usr/include/handlersocket/
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
/usr/include/*
|
|
%{_libdir}/*.a
|
|
|