libavc1394/libavc1394.spec

184 lines
5.6 KiB
RPMSpec

#
# spec file for package libavc1394 (Version 0.5.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libavc1394
BuildRequires: libraw1394-devel pkgconfig
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
AutoReqProv: on
Version: 0.5.3
Release: 129
Summary: Libavc1394--Programming Interface to the AV/C Specification
Url: http://sourceforge.net/projects/libavc1394/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
Patch: libavc1394.no-mkrfc2734.patch
Patch1: libavc1394.raw1394_set_fcp_handler.patch
%description
Libavc1394 is a programming interface to the AV/C specification from
the 1394 Trade Association. AV/C stands for Audio/Video Control.
Currently, applications use the library to control the tape transport
mechanism on DV camcorders. However, there are many devices and device
functions that can be controlled via AV/C. Eventually, the library will
be expanded to implement more of the specification and to provide a
high level interface to various devices.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Andreas Micklei <andreas.micklei@ivistar.de>
Jason Howard <jason@spectsoft.com>
Man page by Daniel Kobras <kobras@debian.org>
%package 0
License: LGPL v2.1 or later
Summary: Libavc1394--Programming Interface to the AV/C Specification
Group: Development/Libraries/C and C++
%description 0
Libavc1394 is a programming interface to the AV/C specification from
the 1394 Trade Association. AV/C stands for Audio/Video Control.
Currently, applications use the library to control the tape transport
mechanism on DV camcorders. However, there are many devices and device
functions that can be controlled via AV/C. Eventually, the library will
be expanded to implement more of the specification and to provide a
high level interface to various devices.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Andreas Micklei <andreas.micklei@ivistar.de>
Jason Howard <jason@spectsoft.com>
Man page by Daniel Kobras <kobras@debian.org>
%package devel
License: LGPL v2.1 or later
Summary: libavc1394 is a programming interface to the AV/C specification
Group: Development/Libraries/C and C++
AutoReqProv: on
Requires: libavc1394-0 = %{version}
Requires: libraw1394-devel
%description devel
libavc1394 is a programming interface to the AV/C specification from
the 1394 Trade Association. AV/C stands for Audio/Video Control.
Currently, applications use the library to control the tape transport
mechanism on DV camcorders. However, there are many devices and
functions of devices that can be controlled via AV/C. Eventually, the
library will be expanded to implement more of the specification and to
provide high level interfaces to various devices.
Authors:
--------
Dan Dennedy <dan@dennedy.org>
Andreas Micklei <andreas.micklei@ivistar.de>
Jason Howard <jason@spectsoft.com>
Man page by Daniel Kobras <kobras@debian.org>
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
%{suse_update_config}
autoreconf -i -f
CFLAGS=$RPM_OPT_FLAGS \
%{configure}
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post 0 -p /sbin/ldconfig
%postun 0 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING
%_mandir/man1/*
%attr(755,root,root)/usr/bin/*
%files 0
%defattr(-,root,root)
%_libdir/libavc1394.so.*
%_libdir/librom1394.so.*
%files devel
%defattr(-,root,root)
%_libdir/*.so
%_libdir/*.*a
%_includedir/libavc1394
%_libdir/pkgconfig/*.pc
%changelog
* Mon Oct 06 2008 olh@suse.de
- fix ordered comparison of pointer with integer zero (bnc#431913)
* Wed May 21 2008 cthiel@suse.de
- fix baselibs.conf
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Sat Aug 04 2007 olh@suse.de
- remove mkrfc2734 for 2.4 kernel
split libavc1394-0 package which contains only libraries
* Wed Jul 19 2006 olh@suse.de
- update to 0.5.3:
bugfixes
new avc1394_transaction_block2() function that returns the length
of the response.
Panel subunit indirect mode constants added to header.
new panelctl utility based upon 6200ch and 6200cmd from MythTV developers.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 27 2005 mls@suse.de
- make devel package require base package
* Sat Jul 02 2005 olh@suse.de
- package all *.so files
* Fri Jul 01 2005 olh@suse.de
- update to 0.5.1
* Sun Jan 11 2004 adrian@suse.de
- add %%run_ldconfig
* Thu Nov 13 2003 sf@suse.de
- update to 0.4.1
* Thu Jun 12 2003 coolo@suse.de
- fixing file list
* Thu Dec 12 2002 coolo@suse.de
- actually adding the patch may help (noone noticed? :)
* Wed Dec 11 2002 coolo@suse.de
- removed undefined symbols from the libraries
* Tue Sep 17 2002 ro@suse.de
- removed bogus self-provides
* Fri Jul 12 2002 meissner@suse.de
- rerurn auto* tools.
* Tue Mar 26 2002 sf@suse.de
- initial version 0.3.1