ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libavc1394
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libavc1394
Version: 0.5.3
Release: alt0.1
Summary: A library for control AV firewire devices
License: LGPL
Group: System/Libraries
Url: http://sourceforge.net/projects/libavc1394/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/%name/%name-%version.tar.bz2
%define libraw1394_ver 1.1.0
Requires: libraw1394 >= %libraw1394_ver
BuildPreReq: libraw1394-devel >= %libraw1394_ver
#BuildPreReq: libtool_1.4
# manually removed: gcc-g77 libg2c-devel
# Automatically added by buildreq on Fri Aug 26 2005
BuildRequires: gcc-c++ libraw1394-devel libstdc++-devel pkgconfig
%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 -q
%__subst "s| at libdir at |\$(libdir)|" Makefile.am
%build
%__autoreconf
%configure
%make_build
%install
%makeinstall
%__cp test/.libs/romtest %buildroot%_bindir
# remove non-packaged files
%__rm -f %buildroot%_libdir/*.la
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_libdir/*.so.*
%doc README NEWS INSTALL AUTHORS ChangeLog
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%files devel-static
%_libdir/*.a
%files utils
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.5.3
Release: alt0.1
Summary: A library for control AV firewire devices
License: LGPL
Group: System/Libraries
Url: http://sourceforge.net/projects/libavc1394/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://dl.sf.net/%name/%name-%version.tar.bz2
%define libraw1394_ver 1.1.0
Requires: libraw1394 >= %libraw1394_ver
BuildPreReq: libraw1394-devel >= %libraw1394_ver
#BuildPreReq: libtool_1.4
# manually removed: gcc-g77 libg2c-devel
# Automatically added by buildreq on Fri Aug 26 2005
BuildRequires: gcc-c++ libraw1394-devel libstdc++-devel pkgconfig
%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 -q
%__subst "s| at libdir at |\$(libdir)|" Makefile.am
%build
%__autoreconf
%configure
%make_build
%install
%makeinstall
%__cp test/.libs/romtest %buildroot%_bindir
# remove non-packaged files
%__rm -f %buildroot%_libdir/*.la
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_libdir/*.so.*
%doc README NEWS INSTALL AUTHORS ChangeLog
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%files devel-static
%_libdir/*.a
%files utils
%_bindir/*
%_man1dir/*
%changelog
…
Todas as alterações você pod ver aqui