File libfreebob.spec of Package libfreebob

#
# spec file for package libfreebob (Version 1.0.11)
#
# Copyright (c) 2009 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:           libfreebob
BuildRequires:  alsa-devel gcc-c++ libavc1394-devel libiec61883-devel libstdc++-devel libxml2-devel pkg-config
Summary:        Free driver implementation for BeBoB platform
Version:        1.0.11
Release:        27
License:        GPL v2 or later
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
Patch:          libfreebob-test-fix.diff
Patch1:         libfreebob-gcc43-fixes.diff
Url:            http://freebob.sourceforge.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
FreeBoB is a free driver implementation for BeBoB platform. The BeBoB
is used in many available IEEE 1394 (aka FireWire or i-Link) based
break-out boxes.



Authors:
--------
    Pieter Palmers  <pieterpalmers@users.sourceforge.net>
    Daniel Wagner <wagi@monom.org>

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

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



Authors:
--------
    Pieter Palmers  <pieterpalmers@users.sourceforge.net>
    Daniel Wagner <wagi@monom.org>

%prep
%setup -q
%patch
%patch1

%build
autoreconf --force --install
%configure --with-pic --disable-static
make %{?jobs:-j %jobs}

%install
make DESTDIR="$RPM_BUILD_ROOT" install
# remove unneeded files
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

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

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

%changelog
* Mon Mar 02 2009 crrodriguez@suse.de
- fix build with GCC 4.4
- fix -devel package dependencies
* Wed Jun 18 2008 tiwai@suse.de
- updated to version 1.0.11:
  * add libsamplerate check
  * cycletimer support
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Thu Nov 29 2007 tiwai@suse.de
- updated to version 1.0.7:
  * added vendor id check
  * robust handling of midi channels
* Mon Oct 22 2007 tiwai@suse.de
- fix build with gcc 4.3
* Sat May 12 2007 olh@suse.de
- remove unneded Buildrequires for libraw1394-devel
* Mon Apr 16 2007 tiwai@suse.de
- follow library packaging policy
  * move docs to devel package
  * remove static library
* Tue Mar 27 2007 tiwai@suse.de
- initial version: 1.0.3
openSUSE Build Service is sponsored by