libavc1394/libavc1394.spec

Name: libavc1394
Summary: Audio/Video Control library for IEEE-1394 devices
Version: 0.5.1
Release: 1
License: GPL
Group: System Environment/Libraries
URL: http://sourceforge.net/projects/libavc1394/
Description: The libavc1394 library allows utilities to control IEEE-1394 devices using the AV/C specification. Audio/Video Control allows applications to control devices like the tape on a VCR or camcorder.

CentOS 7 x86_64

The build could not start because the following file is missing: libavc1394-0.5.1.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: libavc1394-0.5.1.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: matthias

### EL6 ships with libavc1394-0.5.3-9.1.el6
### EL5 ships with libavc1394-0.5.3-1.fc6
### EL4 ships with libavc1394-0.4.1-4.EL
%{?el4:# Tag: rfx}
# ExclusiveDist: el2 el3 el4

Summary: Audio/Video Control library for IEEE-1394 devices
Name: libavc1394
Version: 0.5.1
Release: 1%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://sourceforge.net/projects/libavc1394/
Source: http://dl.sf.net/libavc1394/libavc1394-%{version}.tar.gz
Patch0: libavc1394-0.5.1-librom.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libraw1394-devel, pkgconfig
Obsoletes: librom1394 <= 0.5.0

%description
The libavc1394 library allows utilities to control IEEE-1394 devices
using the AV/C specification.  Audio/Video Control allows applications
to control devices like the tape on a VCR or camcorder.

%package devel
Summary: Development libs for libavc1394
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: libraw1394-devel
Obsoletes: librom1394-devel <= 0.5.0

%description devel
Development libraries required to build applications using libavc1394.

%prep
%setup
%patch0 -p1 -b .librom

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc ChangeLog COPYING NEWS README TODO
%{_bindir}/*
%{_libdir}/*.so.*
%{_mandir}/man1/*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/libavc1394/
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/libavc1394.pc
%exclude %{_libdir}/*.la

%changelog
* Thu Jan 12 2006 Matthias Saou <http://freshrpms.net/> 0.5.1-1
- Add obsoletes for librom1394 <= 0.5.0 to enable upgrade path for users
  with atrpms packages installed.

* Fri Dec  9 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-0
- Update to 0.5.1.
- Sync with Fedora Core spec file.

* Fri Nov  7 2003 Matthias Saou <http://freshrpms.net/> 0.4.1-2
- Rebuild for Fedora Core 1.

* Wed Apr  9 2003 Matthias Saou <http://freshrpms.net/>
- Added libraw1394 dependency.

* Mon Apr  7 2003 Tim Waugh <tim@cyberelk.net>
- Initial specfile.