Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37048355
en ru br
ALT Linux repositórios
S:2.1.2-alt1
5.0: 1.2.1-alt0.1
4.1: 1.2.1-alt0.1
4.0: 1.2.1-alt0.1
3.0: 0.10.0-alt1

Group :: Sistema/Bibliotecas
RPM: libraw1394

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: libraw1394
Version: 1.2.1
Release: alt0.1

Summary: FireWire interface library

License: GPL/LGPL
Group: System/Libraries
Url: http://www.linux1394.org

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://www.linux1394.org/dl/%name-%version.tar.bz2
Patch: libraw1394-0.10.0-alt-makefile.patch
Patch1: libraw1394-0.10.0-alt-doc.patch

%if_enabled static
BuildPreReq: glibc-devel-static
%endif

# manually removed: gcc-g77 libg2c-devel

# Automatically added by buildreq on Fri Aug 26 2005
BuildRequires: OpenSP docbook-dtds docbook-style-dsssl docbook-utils gcc-c++ libstdc++-devel openjade sgml-common xml-common

%description
libraw1394 is the only supported interface to the kernel side raw1394 of
the Linux IEEE-1394 subsystem, which provides direct access to the connected
1394 buses to user space.  Through libraw1394/raw1394, applications can
directly send to and receive from other nodes without requiring a kernel driver
for the protocol in question.

The reason for making a library the interface to the kernel is to avoid
a program dependancy on the kernel version, which would hinder development and
optimization of raw1394.  If development changed the protocol and made it
incompatible with previous versions only the libraw1394 has to be upgraded to
match the kernel version (instead of all applications).

%package tools
Summary: Development and include files for libraw1394
Group: System/Kernel and hardware
Requires: %name = %version-%release

%description tools
libraw1394 is the only supported interface to the kernel side raw1394 of
the Linux IEEE-1394 subsystem, which provides direct access to the connected
1394 buses to user space.  Through libraw1394/raw1394, applications can
directly send to and receive from other nodes without requiring a kernel driver
for the protocol in question.

This package provides tools to dump, send, format IEEE 1394
isochronous channel packets and test %name basic functionality.

%package devel
Summary: Development and include files for libraw1394
Group: Development/C
Requires: %name = %version-%release

%description devel
libraw1394 is the only supported interface to the kernel side raw1394 of
the Linux IEEE-1394 subsystem, which provides direct access to the connected
1394 buses to user space.  Through libraw1394/raw1394, applications can
directly send to and receive from other nodes without requiring a kernel driver
for the protocol in question.

This package contains the header files for libraw1394 development

%package devel-static
Summary: Development components for libraw1394
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
libraw1394 is the only supported interface to the kernel side raw1394 of
the Linux IEEE-1394 subsystem, which provides direct access to the connected
1394 buses to user space.  Through libraw1394/raw1394, applications can
directly send to and receive from other nodes without requiring a kernel driver
for the protocol in question.

This package contains the static libraries.

%prep
%setup -q
%__subst "s| at libdir at |\$(libdir)|" Makefile.am
#%patch -p1
#%patch1 -p1

%build
%__rm -f missing
%__libtoolize --copy --force
%__aclocal
touch ChangeLog
%__automake -a -c -f
%__autoconf

%configure \
   %{subst_enable static}

%make_build
%make -C doc htmldoc || echo Please fix it anyone

%install
%makeinstall

%__mv doc/%name doc/html

# remove non-packaged files

%__rm -f %buildroot%_libdir/*.la

%post
%post_ldconfig

%postun
%postun_ldconfig

%files
%_libdir/*.so.*
%doc README NEWS AUTHORS

%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%doc doc/html

%files tools
%_bindir/*
%_man1dir/*
%_man5dir/*

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009