File liblo.spec of Package liblo

#
# spec file for package liblo (Version 0.25)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           liblo
BuildRequires:  doxygen pkgconfig
Summary:        Lightweight OSC Implementation
Version:        0.25
Release:        1
License:        GPL v2 or later
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
Url:            http://plugin.org.uk/liblo/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This is a lightweight, easy-to-use implementation of the OSC protocol
(see http://www.cnmat.berkeley.edu/OpenSoundControl/ for details).



Authors:
--------
    Steve Harris <steve@plugin.org.uk>

%package devel
License:        GPL v2 or later
Summary:        Include Files and Libraries mandatory for Development.
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version} glibc-devel

%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.



Authors:
--------
    Steve Harris <steve@plugin.org.uk>

%prep
%setup -q

%build
autoreconf -fiv
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
make DESTDIR="$RPM_BUILD_ROOT" install
# remove example binaries
make -C examples distclean
rm -f examples/Makefile examples/Makefile.in
rm -f %{buildroot}%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

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

%files devel
%defattr(-,root,root)
%doc doc/html
%doc examples
%{_bindir}/oscdump
%{_bindir}/oscsend
%{_libdir}/lib*.so
%{_includedir}/lo
%{_libdir}/pkgconfig/*.pc

%changelog
* Sat Sep 13 2008 crrodriguez@suse.de
- update to version 0.25 , 20+ bugfixes and improvements, see Changelog
- remove static libraries and "la" files
* Mon Mar 26 2007 tiwai@suse.de
- updated to version 0.24:
  * fix compile warnings
  * accepts unix socket format
  osc.unix://localhost/tmp/mysocket.sock
  * misc bugfixes
* Mon May 15 2006 tiwai@suse.de
- updated to version 0.23.
  * disable ipv6 as default
  * fixed pthread resource reaks
  * improvement on socket handling
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Oct 04 2005 tiwai@suse.de
- updated to 0.22.
* Thu Feb 24 2005 tiwai@suse.de
- backport fixes from 0.17:
  fixed resource leaks, made UDP messages resolve back
* Fri Jan 28 2005 tiwai@suse.de
- updated to version 0.16.
* Fri Jan 21 2005 tiwai@suse.de
- updated to version 0.15.
* Fri Aug 20 2004 tiwai@suse.de
- updated to version 0.9.
* Tue Aug 17 2004 tiwai@suse.de
- initial version: 0.8.
openSUSE Build Service is sponsored by