diff --git a/libavc1394.changes b/libavc1394.changes index 2bc5819..1cf7bcc 100644 --- a/libavc1394.changes +++ b/libavc1394.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 4 16:48:59 CEST 2007 - olh@suse.de + +- remove mkrfc2734 for 2.4 kernel + split libavc1394-0 package which contains only libraries + ------------------------------------------------------------------- Wed Jul 19 17:02:08 CEST 2006 - olh@suse.de diff --git a/libavc1394.no-mkrfc2734.patch b/libavc1394.no-mkrfc2734.patch new file mode 100644 index 0000000..4067c26 --- /dev/null +++ b/libavc1394.no-mkrfc2734.patch @@ -0,0 +1,27 @@ +Tool is not needed for kernel 2.6 +--- + test/Makefile.am | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +--- a/test/Makefile.am ++++ b/test/Makefile.am +@@ -1,7 +1,7 @@ + MAINTAINERCLEANFILES = Makefile.in +-bin_PROGRAMS = dvcont mkrfc2734 panelctl ++bin_PROGRAMS = dvcont panelctl + noinst_PROGRAMS = romtest setrom avc_vcr +-man_MANS = dvcont.1 mkrfc2734.1 panelctl.1 ++man_MANS = dvcont.1 panelctl.1 + EXTRA_DIST = $(man_MANS) + + dvcont_SOURCES = dvcont.c +@@ -12,9 +12,6 @@ romtest_SOURCES = romtest.c + romtest_LDADD = ../librom1394/librom1394.la \ + @LIBRAW1394_LIBS@ + +-mkrfc2734_SOURCES = mkrfc2734.c +-mkrfc2734_LDADD = ../librom1394/librom1394.la \ +- @LIBRAW1394_LIBS@ + + setrom_SOURCES = setrom.c + setrom_LDADD = ../librom1394/librom1394.la \ diff --git a/libavc1394.spec b/libavc1394.spec index 0c82668..d59f108 100644 --- a/libavc1394.spec +++ b/libavc1394.spec @@ -1,7 +1,7 @@ # # spec file for package libavc1394 (Version 0.5.3) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -12,15 +12,16 @@ Name: libavc1394 BuildRequires: libraw1394-devel pkgconfig -License: LGPL +License: LGPL v2 or later Group: Development/Libraries/C and C++ Autoreqprov: on Version: 0.5.3 -Release: 1 +Release: 53 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 %description Libavc1394 is a programming interface to the AV/C specification from @@ -33,6 +34,28 @@ high level interface to various devices. +Authors: +-------- + Dan Dennedy + Andreas Micklei + Jason Howard + Man page by Daniel Kobras + +%package 0 +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 @@ -44,7 +67,7 @@ Authors: Summary: libavc1394 is a programming interface to the AV/C specification Group: Development/Libraries/C and C++ Autoreqprov: on -Requires: libavc1394 = %{version} +Requires: libavc1394-0 = %{version} Requires: libraw1394-devel %description devel @@ -66,8 +89,8 @@ Authors: Man page by Daniel Kobras %prep -rm -rf %{buildroot} %setup -q +%patch -p1 %build %{suse_update_config} @@ -79,22 +102,25 @@ CFLAGS=$RPM_OPT_FLAGS \ make %{?jobs:-j%jobs} %install +rm -rf %{buildroot} +mkdir %{buildroot} make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT -%post -%run_ldconfig +%post 0 -p /sbin/ldconfig -%postun -%run_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.* @@ -105,7 +131,10 @@ rm -rf $RPM_BUILD_ROOT %_includedir/libavc1394 %_libdir/pkgconfig/*.pc -%changelog -n libavc1394 +%changelog +* 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