File liblo.spec of Package liblo
#
# spec file for package liblo
#
# Copyright (c) 2011 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: 11
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