From b1ccb33608d82dae8cfd73c88420aab6d577afb9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 07 2019 12:33:32 +0000 Subject: import libavc1394-0.5.4-7.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e36ae0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libavc1394-0.5.4.tar.gz diff --git a/.libavc1394.metadata b/.libavc1394.metadata new file mode 100644 index 0000000..2ab5167 --- /dev/null +++ b/.libavc1394.metadata @@ -0,0 +1 @@ +710ec37ef3d494b5ec8080beaa95d29a173a0479 SOURCES/libavc1394-0.5.4.tar.gz diff --git a/SOURCES/libavc1394-0.5.4-librom.patch b/SOURCES/libavc1394-0.5.4-librom.patch new file mode 100644 index 0000000..b9b9345 --- /dev/null +++ b/SOURCES/libavc1394-0.5.4-librom.patch @@ -0,0 +1,88 @@ +Index: libavc1394-0.5.4/Makefile.am +=================================================================== +--- libavc1394-0.5.4.orig/Makefile.am ++++ libavc1394-0.5.4/Makefile.am +@@ -1,4 +1,4 @@ +-SUBDIRS = common libavc1394 librom1394 test ++SUBDIRS = common librom1394 libavc1394 test + MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \ + stamp-h.in + EXTRA_DIST = libavc1394.pc libavc1394.spec +Index: libavc1394-0.5.3/Makefile.in +=================================================================== +--- libavc1394-0.5.4.orig/Makefile.in ++++ libavc1394-0.5.4/Makefile.in +@@ -245,7 +245,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = common libavc1394 librom1394 test ++SUBDIRS = common librom1394 libavc1394 test + MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure config.h.in \ + stamp-h.in + +Index: libavc1394-0.5.3/libavc1394/Makefile.am +=================================================================== +--- libavc1394-0.5.3.orig/libavc1394/Makefile.am ++++ libavc1394-0.5.3/libavc1394/Makefile.am +@@ -1,11 +1,11 @@ + MAINTAINERCLEANFILES = Makefile.in + lib_LTLIBRARIES = libavc1394.la + libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \ +- -version-info @lt_major@:@lt_revision@:@lt_age@ +-libavc1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo ++ -version-info @lt_major@:@lt_revision@:@lt_age@ ++#libavc1394_la_LIBADD = $(top_builddir)/librom1394/librom1394.la + libavc1394_la_SOURCES = \ + avc1394_simple.c avc1394_vcr.c \ +- avc1394_internal.c avc1394_internal.h ++ avc1394_internal.c avc1394_internal.h + pkginclude_HEADERS = avc1394.h avc1394_vcr.h + INCLUDES = @LIBRAW1394_CFLAGS@ + +Index: libavc1394-0.5.4/libavc1394/Makefile.in +=================================================================== +--- libavc1394-0.5.4.orig/libavc1394/Makefile.in ++++ libavc1394-0.5.4/libavc1394/Makefile.in +@@ -216,12 +216,12 @@ target_alias = @target_alias@ + MAINTAINERCLEANFILES = Makefile.in + lib_LTLIBRARIES = libavc1394.la + libavc1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \ +- -version-info @lt_major@:@lt_revision@:@lt_age@ ++ -version-info @lt_major@:@lt_revision@:@lt_age@ + +-libavc1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo ++libavc1394_la_LIBADD = $(top_builddir)/librom1394/librom1394.la + libavc1394_la_SOURCES = \ + avc1394_simple.c avc1394_vcr.c \ +- avc1394_internal.c avc1394_internal.h ++ avc1394_internal.c avc1394_internal.h + + pkginclude_HEADERS = avc1394.h avc1394_vcr.h + INCLUDES = @LIBRAW1394_CFLAGS@ +Index: libavc1394-0.5.4/librom1394/Makefile.am +=================================================================== +--- libavc1394-0.5.4.orig/librom1394/Makefile.am ++++ libavc1394-0.5.4/librom1394/Makefile.am +@@ -1,7 +1,7 @@ + MAINTAINERCLEANFILES = Makefile.in + lib_LTLIBRARIES = librom1394.la + librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \ +- -version-info @lt_major@:@lt_revision@:@lt_age@ -lm ++ -version-info @lt_major@:@lt_revision@:@lt_age@ -lm -lraw1394 + librom1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo + librom1394_la_SOURCES = \ + rom1394_main.c \ +Index: libavc1394-0.5.3/librom1394/Makefile.in +=================================================================== +--- libavc1394-0.5.4.orig/librom1394/Makefile.in ++++ libavc1394-0.5.4/librom1394/Makefile.in +@@ -215,7 +215,7 @@ target_alias = @target_alias@ + MAINTAINERCLEANFILES = Makefile.in + lib_LTLIBRARIES = librom1394.la + librom1394_la_LDFLAGS = @LIBRAW1394_LIBS@ \ +- -version-info @lt_major@:@lt_revision@:@lt_age@ -lm ++ -version-info @lt_major@:@lt_revision@:@lt_age@ -lm -lraw1394 + + librom1394_la_LIBADD = $(top_builddir)/common/raw1394util.lo + librom1394_la_SOURCES = \ diff --git a/SPECS/libavc1394.spec b/SPECS/libavc1394.spec new file mode 100644 index 0000000..3a8ee26 --- /dev/null +++ b/SPECS/libavc1394.spec @@ -0,0 +1,227 @@ +Summary: Audio/Video Control library for IEEE-1394 devices +Name: libavc1394 +Version: 0.5.4 +Release: 7%{?dist} +License: GPLv2+ and LGPLv2+ +URL: http://sourceforge.net/projects/libavc1394/ +Source: https://sourceforge.net/projects/libavc1394/files/libavc1394/libavc1394-%{version}.tar.gz +Patch1: libavc1394-%{version}-librom.patch +BuildRequires: libraw1394-devel +BuildRequires: chrpath + +# libraw1394 is not built on s390* +ExcludeArch: s390 s390x + +%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 + +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: libraw1394-devel, pkgconfig + +%description devel +Development libraries required to build applications using libavc1394. + +%prep +%setup -q +%patch1 -p1 -b .librom +chmod -x test/dvcont.c + +%build +%configure +%make_build + +%install +%make_install +# sigh, --disable-static doesn't work +rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a} + +chrpath -d $RPM_BUILD_ROOT%{_libdir}/lib* +chrpath -d $RPM_BUILD_ROOT%{_bindir}/* + +%ldconfig_scriptlets + +%files +%doc AUTHORS NEWS README ChangeLog TODO +%license COPYING +# binaries are GPLv2+ +%{_bindir}/dvcont +%{_bindir}/mkrfc2734 +%{_bindir}/panelctl +%{_mandir}/man1/dvcont.1.gz +%{_mandir}/man1/panelctl.1.gz +%{_mandir}/man1/mkrfc2734.1* +# libs are LGPLv2+ +%{_libdir}/libavc1394.so.* +%{_libdir}/librom1394.so.* + +%files devel +%{_includedir}/libavc1394/ +%{_libdir}/pkgconfig/libavc1394.pc +%{_libdir}/libavc1394.so +%{_libdir}/librom1394.so + +%changelog +* Fri Feb 16 2018 Antonio Trande - 0.5.4-7 +- Use %%ldconfig_scriptlets + +* Wed Feb 07 2018 Fedora Release Engineering - 0.5.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.5.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.5.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun Aug 21 2016 Antonio Trande - 0.5.4-2 +- Some minor fixes + +* Sat Aug 20 2016 Antonio Trande - 0.5.4-1 +- Update to 0.5.4 (bz#628157) +- Patch updated +- Use %%license + +* Thu Feb 04 2016 Fedora Release Engineering - 0.5.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.5.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Feb 21 2015 Till Maas - 0.5.3-17 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Sun Aug 17 2014 Fedora Release Engineering - 0.5.3-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.5.3-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 0.5.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 0.5.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 0.5.3-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.5.3-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 0.5.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.5.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Jun 10 2009 Jarod Wilson 0.5.3-8 +- Fix duplicate global symbols in libavc1394 vs. librom1394 (#216143) + +* Mon May 18 2009 Jarod Wilson 0.5.3-7 +- Use included libtool, kill rpath a different way (#225988) + +* Mon May 18 2009 Jarod Wilson 0.5.3-6 +- Fix up merge review issues (#225988) + +* Wed Feb 25 2009 Fedora Release Engineering - 0.5.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Aug 5 2008 Tom "spot" Callaway 0.5.3-4 +- fix license tag + +* Tue Jul 22 2008 Jarod Wilson 0.5.3-3 +- Bump and rebuild for libraw1394 v2.0.0 + +* Thu Feb 14 2008 Jarod Wilson - 0.5.3-2 +- Bump and rebuild with gcc 4.3 + +* Sun Sep 10 2006 Jarod Wilson - 0.5.3-1 +- Upstream release 0.5.3 + +* Wed Jul 12 2006 Jesse Keating - 0.5.1-2.2.1 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 0.5.1-2.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 0.5.1-2.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Thu Dec 22 2005 Warren Togami 0.5.1-2 +- remove .a and .la (#172641) +- GPL -> LGPL (#165908) + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Thu Nov 10 2005 Matthias Saou 0.5.1-1 +- Update to 0.5.1. +- Update librom patch to still apply cleanly. + +* Sat Oct 15 2005 Florian La Roche +- make sure librom1394 is linked to libraw1394 and also + libavc1394 is linked to librom1394 (also bz 156938) + +* Wed Mar 16 2005 Elliot Lee +- rebuilt + +* Mon Feb 28 2005 Warren Togami 0.4.1-7 +- gcc4 rebuild + +* Sun Feb 06 2005 Warren Togami 0.4.1-6 +- rebuild against new libraw1394 + +* Mon Jan 03 2005 Colin Walters 0.4.1-5 +- Rerun autotools in attempt to get package to link to -lm +- Add patch libavc1394-0.4.1-kill-configure-insanity.patch + +* Mon Nov 22 2004 Karsten Hopp 0.4.1-4 +- remove bogus ldconfig after makeinstall + +* Fri Jul 30 2004 Florian La Roche +- add symlinks for ldconfig + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Thu Feb 12 2004 Warren Togami 0.4.1-1 +- upgrade to 0.4.1 +- Spec cleanups +- License -> Copyright +- Remove INSTALL; Add News, ChangeLog +- Applications/Multimedia -> System Environment/Libraries + +* Mon Aug 25 2003 Bill Nottingham 0.3.1-7 +- fix buildreqs (#102204) + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Thu Dec 12 2002 Tim Powers 0.3.1-4 +- rebuild on all arches + +* Wed Nov 20 2002 Florian La Roche +- exclude mainframe +- allow lib64 + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sun Jun 09 2002 Michael Fulbright +- First RPM build +