LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libfreebob.spec of Package libfreebob (Project openSUSE:Dropped)

#
# 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:        28
License:        GPLv2+
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
Source2:        baselibs.conf
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:        GPLv2+
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