Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-release-src > by-pkgid > 689b84567f6273d05c4f47af7cae0140 > files > 2

libdrizzle-0.8-1mdv2010.1.src.rpm

%define major 0
%define libname %mklibname drizzle %{major}
%define develname %mklibname drizzle -d

Summary:	Drizzle Client & Protocol Library
Name:		libdrizzle
Version:	0.8
Release:	%mkrel 1
License:	BSD
Group:		System/Libraries
URL:		https://launchpad.net/libdrizzle
Source0:	http://launchpad.net/libdrizzle/%{version}/%{version}/+download/libdrizzle-%{version}.tar.gz
BuildRequires:	sqlite3-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This is the the client and protocol library for the Drizzle project. The
server, drizzled, will use this as for the protocol library, as well as the
client utilities and any new projects that require low-level protocol
communication (like proxies). Other language interfaces (PHP extensions, SWIG,
...) should be built off of this interface.

%package -n	%{libname}
Summary:	Drizzle Client & Protocol Library
Group:		System/Libraries

%description -n	%{libname}
This is the the client and protocol library for the Drizzle project. The
server, drizzled, will use this as for the protocol library, as well as the
client utilities and any new projects that require low-level protocol
communication (like proxies). Other language interfaces (PHP extensions, SWIG,
...) should be built off of this interface.

%package -n	%{develname}
Summary:	Drizzle Client & Protocol Library - Header files
Group:		Development/C
Requires:	%{libname} >= %{version}
Provides:	%{name}-devel = %{version}

%description -n	%{develname}
Development files for the Drizzle Client & Protocol Library.

%prep

%setup -q

%build
%configure2_5x

%make

%check
make test

%install
rm -rf %{buildroot}

%makeinstall_std

%if %mdkversion < 200900
%post   -n %{libname} -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%postun -n %{libname} -p /sbin/ldconfig
%endif

%clean
rm -rf %{buildroot}

%files -n %{libname}
%defattr(-, root, root)
%{_libdir}/lib*.so.%{major}*

%files -n %{develname}
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS PROTOCOL README
%dir %{_includedir}/libdrizzle
%{_includedir}/libdrizzle/*.h
%{_libdir}/lib*.*a
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/libdrizzle.pc



%changelog
* Tue Mar 23 2010 Oden Eriksson <oeriksson@mandriva.com> 0.8-1mdv2010.1
+ Revision: 526720
- 0.8

* Wed Jan 13 2010 Oden Eriksson <oeriksson@mandriva.com> 0.7-1mdv2010.1
+ Revision: 490640
- 0.7

* Sat Dec 19 2009 Oden Eriksson <oeriksson@mandriva.com> 0.6-1mdv2010.1
+ Revision: 480132
- 0.6

* Sun Nov 29 2009 Oden Eriksson <oeriksson@mandriva.com> 0.5-1mdv2010.1
+ Revision: 471382
- 0.5

* Sun Jul 05 2009 Oden Eriksson <oeriksson@mandriva.com> 0.4-1mdv2010.0
+ Revision: 392656
- 0.4

* Thu Jul 02 2009 Oden Eriksson <oeriksson@mandriva.com> 0.3-3mdv2010.0
+ Revision: 391817
- fix deps

* Wed Jul 01 2009 Oden Eriksson <oeriksson@mandriva.com> 0.3-2mdv2010.0
+ Revision: 391325
- fix provides (duh!)

* Wed Jul 01 2009 Oden Eriksson <oeriksson@mandriva.com> 0.3-1mdv2010.0
+ Revision: 391318
- import libdrizzle


* Wed Jul 01 2009 Oden Eriksson <oeriksson@mandriva.com> 0.3-1mdv2009.0
- initial Mandriva package

* Fri Apr 24 2009 Lenz Grimmer <lenz@grimmer.com>
- Added -devel subpackage, updated file list
- Fixed rpmlint errors and warnings

* Tue Jan 13 2009 Eric Day <eday@oddments.org> - 0.1-1
- Initial package