Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37561922
en ru br
ALT Linux repositórios
S:0.5.4-alt2
5.0: 0.5.3-alt0.1
4.1: 0.5.3-alt0.1
4.0: 0.5.3-alt0.1
3.0: 0.4.1-alt2

Group :: Sistema/Bibliotecas
RPM: libavc1394

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: libavc1394
Version: 0.5.4
Release: alt2

Summary: A library to control AV firewire devices

License: LGPLv2+
Group: System/Libraries
Url: https://sourceforge.net/projects/libavc1394/
Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: https://downloads.sourceforge.net/%name/%name-%version.tar.gz

BuildRequires: gcc-c++ libraw1394-devel

%description
libavc1394 is a programming interface for the 1394 Trade
Association AV/C (Audio/Video Control) Digital Interface
Command Set.

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

%description devel
libavc1394 is a programming interface for the 1394 Trade
Association AV/C (Audio/Video Control) Digital Interface
Command Set.

This package contains development files needed to compile applications
using %name.

%package devel-static
Summary: Static version of %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
libavc1394 is a programming interface for the 1394 Trade
Association AV/C (Audio/Video Control) Digital Interface
Command Set.

This package contains libraries needed to compile applications
statically linked with %name.

%package utils
Summary: FireWire interface
Group: System/Kernel and hardware
Requires: %name = %version-%release

%description utils
libavc1394 is a programming interface for the 1394 Trade
Association AV/C (Audio/Video Control) Digital Interface
Command Set.

This package contains utilities from %name package.

%prep
%setup
subst "s| at libdir at |\$(libdir)|" Makefile.am

%build
%autoreconf
%configure %{subst_enable static}
%make_build

%install
%makeinstall
cp test/.libs/romtest %buildroot%_bindir

# remove non-packaged files

rm -f %buildroot%_libdir/*.la

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

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

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

%files utils
%_bindir/*
%_man1dir/*

%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