Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 9d96b58faf550bd192eafb2fb751704f > files > 3

libdrizzle-0.8-6.fc14.src.rpm


Summary: Drizzle Client & Protocol Library
Name: libdrizzle
Version: 0.8
Release: 6%{?dist}
# All code is BSD, except libdrizzle/sha1.{c,h} which are Public Domain
License: BSD and Public Domain
Group: System Environment/Libraries
URL: https://launchpad.net/libdrizzle
Source0: http://launchpad.net/%{name}/trunk/0.8/+download/%{name}-%{version}.tar.gz 
Source1: README
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires: doxygen

%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 devel
Group: Development/Libraries
Summary: Drizzle Client & Protocol Library - Header files
Requires: %{name} = %{version}-%{release} 

%description devel
Development files for the Drizzle Client & Protocol Library

%package doc 
Group: Documentation 
Summary: Drizzle Client & Protocol Library Documentation
Requires: %{name} = %{version}-%{release} 

%description doc 
Documentation files for the Drizzle Client & Protocol Library

%prep
%setup -q
cp -a %{SOURCE1} .

%configure
%build
make %{_smp_mflags}
make doxygen

%install
rm -rf %{buildroot}
make install DESTDIR="%{buildroot}" AM_INSTALL_PROGRAM_FLAGS=""

# cleanup
rm -f %{buildroot}/%{_libdir}/libdrizzle.la 


%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files 
%defattr(-,root,root,-)
%doc README AUTHORS ChangeLog COPYING
%{_libdir}/libdrizzle.so.*

%files devel
%defattr(-,root,root,-)
%doc PROTOCOL
%{_includedir}/libdrizzle/
%{_libdir}/pkgconfig/libdrizzle.pc
%{_libdir}/libdrizzle.so

%files doc
%defattr(-,root,root,-)
%doc docs/api docs/dev

%changelog
* Mon May 03 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.8-6
- Readd AUTHORS ChangeLog COPYING README PROTOCOL docs

* Mon May 03 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.8-5
- Update License to reflect BSD and Public Domain (sha1 code)
- Make -doc package require base package

* Fri Apr 30 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.8-4
- Add -doc sub package, and build doxygen documentation

* Fri Apr 02 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.8-3
- Removed BuildRequires: gcc gcc-c++
- Removed INSTALL from doc
- Removed libdrizzle.la

* Thu Apr 01 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.8-2
- Adding README (submitted upstream)
- Removing empty NEWS file

* Fri Mar 19 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.8-1
- Latest sources
- Added %{?dist} tag

* Sun Feb 28 2010 BJ Dierkes <wdierkes@rackspace.com> - 0.7-1
- Cleaning up spec
- Removed subpackage "name 0" (base package provides this functionality))
- Moved NEWS/ChangeLog/Etc under main package (not under -devel)
- devel package requires full version-release

* Mon Nov 30 2009 Lenz Grimmer <lenz@grimmer.com>
- Added Build requirement for gcc-c++
- Made the -devel package dependent on the shared lib

* 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