Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041614
en ru br
ALT Linux repos
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

Name: libfreebob
Version: 1.0.0
%if svnrel
Release: alt0.svn.%svnrel
%else
Release: alt1.%rel
%endif
Summary: FreeBoB is a a generic Linux driver for BeBoB devices
License: GPL
Group: System/Libraries
URL: http://freebob.sourceforge.net

Packager: L.A. Kostis <lakostis at altlinux.ru>

%if svnrel
Source0: %name-%version-svn.%svnrel.tar
%else
Source0: %name-%version.tar
%endif

BuildRequires: gcc-c++, libraw1394-devel >= 1.2.1, libiec61883-devel >= 1.1.0, 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
%if svnrel
%setup -q -n %name-%version-svn.%svnrel
%else
%setup -q
%endif

%build
%if svnrel
%__autoreconf
%endif
%configure \
%{subst_enable static}

%make_build

%install
%make DESTDIR=%buildroot install

%post
%post_ldconfig

%postun
%postun_ldconfig

%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