Sisyphus repository
Last update: 21 april 2019 | SRPMs: 17649 | Visits: 13450864
en ru br
ALT Linux repos
S:1.0.11-alt5
5.0: 1.0.11-alt1
4.1: 1.0.0-alt0.svn.r300
4.0: 1.0.0-alt0.svn.r300

Group :: System/Libraries
RPM: libfreebob

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static
%define rel rc1
%define svnrel r300
%undefine svnrel

Name: libfreebob
Version: 1.0.11
%ifdef svnrel
#Release: alt0.svn.%svnrel
%else
Release: alt5
%endif

Summary: Free Firewire Audio Drivers
License: GPL
Group: System/Libraries
URL: http://freebob.sourceforge.net

%ifdef svnrel
Source0: %name-%version-svn.%svnrel.tar
%else
Source: http://prdonwnloads.sourceforge.net/%name/%name-%version.tar.gz
%endif

# fedora patch

Patch: libfreebob-1.0.11-includes.patch
# https://svn.pardus.org.tr/pardus/2011/devel/hardware/firewire/libfreebob/files/gcc-4.5.patch
Patch1: libfreebob-1.0.11-gcc-4.5.patch

Patch2: libfreebob-1.0.11-alt-glibc-2.16.patch

Patch3: %name-%version-alt-gcc.patch

BuildRequires: gcc-c++, libraw1394-devel >= 1.2.1, libiec61883-devel >= 1.1.0
BuildRequires: libavc1394-devel >= 0.5.3, libxml2-devel, libalsa-devel

%description
FreeBoB is a driver for BeBoB which is the firmware. Currently, there is only
one chip in the wild which is running this kind of software, the DM1000. But it
is to be expected to find soon other chips (still prefix-labled with DM) which
will running BeBoB versions.

%package devel
Summary: Header files for libfreebob library
Group: Development/C
Requires: %name = %version-%release
Provides: libfreebob-devel
Obsoletes: libfreebob-devel < %version-%release

%description devel
Header files for libfreebob library.

%prep
%ifdef svnrel
%setup -q -n %name-%version-svn.%svnrel
%else
%setup -q
%endif

%patch -p1
%patch1 -p1
%patch2 -p2
%patch3 -p2
# Tweak libiec61883 build requirements.
perl -pi -e 's/1.1.0/1.0.0/' configure

%build
%ifdef svnrel
%autoreconf
%endif
%configure \
%{subst_enable static}

%make_build

%install
%make DESTDIR=%buildroot install

%files
%doc AUTHORS ChangeLog NEWS README TODO
%_libdir/lib*.so.*

%files devel
%_libdir/lib*.so
%_includedir/%name
%_pkgconfigdir/*.pc

%if_enabled static
%_libdir/lib*.a
%endif #static

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin