5fc88f
Summary:        Audio/Video Control library for IEEE-1394 devices
5fc88f
Name:           libavc1394
5fc88f
Version:        0.5.3
5fc88f
Release:        14%{?dist}
5fc88f
License:        GPLv2+ and LGPLv2+
5fc88f
Group:          System Environment/Libraries
5fc88f
URL:            http://sourceforge.net/projects/libavc1394/
5fc88f
Source:         http://downloads.sourceforge.net/libavc1394/libavc1394-%{version}.tar.gz
5fc88f
Patch1:         libavc1394-0.5.3-librom.patch
5fc88f
BuildRequires:  libraw1394-devel
5fc88f
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
5fc88f
ExcludeArch:    s390 s390x
5fc88f
5fc88f
%description
5fc88f
The libavc1394 library allows utilities to control IEEE-1394 devices
5fc88f
using the AV/C specification.  Audio/Video Control allows applications
5fc88f
to control devices like the tape on a VCR or camcorder.
5fc88f
5fc88f
%package devel
5fc88f
Summary: Development libs for libavc1394
5fc88f
Group: Development/Libraries
5fc88f
Requires: %{name} = %{version}-%{release}
5fc88f
Requires: libraw1394-devel, pkgconfig
5fc88f
5fc88f
%description devel
5fc88f
Development libraries required to build applications using libavc1394.
5fc88f
5fc88f
%prep
5fc88f
%setup -q
5fc88f
%patch1 -p1 -b .librom
5fc88f
chmod -x test/dvcont.c
5fc88f
5fc88f
%build
5fc88f
%configure
5fc88f
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
5fc88f
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
5fc88f
make %{?_smp_mflags}
5fc88f
5fc88f
%install
5fc88f
rm -rf $RPM_BUILD_ROOT
5fc88f
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
5fc88f
# sigh, --disable-static doesn't work
5fc88f
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
5fc88f
5fc88f
%clean
5fc88f
rm -rf $RPM_BUILD_ROOT
5fc88f
5fc88f
%post -p /sbin/ldconfig
5fc88f
5fc88f
%postun -p /sbin/ldconfig
5fc88f
5fc88f
%files
5fc88f
%defattr(-,root,root,-)
5fc88f
%doc AUTHORS COPYING NEWS README ChangeLog TODO
5fc88f
# binaries are GPLv2+
5fc88f
%{_bindir}/dvcont
5fc88f
%{_bindir}/mkrfc2734
5fc88f
%{_bindir}/panelctl
5fc88f
%{_mandir}/man1/dvcont.1.gz
5fc88f
%{_mandir}/man1/panelctl.1.gz
5fc88f
%{_mandir}/man1/mkrfc2734.1*
5fc88f
# libs are LGPLv2+
5fc88f
%{_libdir}/libavc1394.so.*
5fc88f
%{_libdir}/librom1394.so.*
5fc88f
5fc88f
5fc88f
%files devel
5fc88f
%defattr(-,root,root,-)
5fc88f
%{_includedir}/libavc1394/
5fc88f
%{_libdir}/pkgconfig/libavc1394.pc
5fc88f
%{_libdir}/libavc1394.so
5fc88f
%{_libdir}/librom1394.so
5fc88f
5fc88f
5fc88f
%changelog
5fc88f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.5.3-14
5fc88f
- Mass rebuild 2013-12-27
5fc88f
5fc88f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-13
5fc88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5fc88f
5fc88f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-12
5fc88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5fc88f
5fc88f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-11
5fc88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5fc88f
5fc88f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-10
5fc88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5fc88f
5fc88f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-9
5fc88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5fc88f
5fc88f
* Wed Jun 10 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-8
5fc88f
- Fix duplicate global symbols in libavc1394 vs. librom1394 (#216143)
5fc88f
5fc88f
* Mon May 18 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-7
5fc88f
- Use included libtool, kill rpath a different way (#225988)
5fc88f
5fc88f
* Mon May 18 2009 Jarod Wilson <jarod@redhat.com> 0.5.3-6
5fc88f
- Fix up merge review issues (#225988)
5fc88f
5fc88f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-5
5fc88f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5fc88f
5fc88f
* Tue Aug  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.5.3-4
5fc88f
- fix license tag
5fc88f
5fc88f
* Tue Jul 22 2008 Jarod Wilson <jwilson@redhat.com> 0.5.3-3
5fc88f
- Bump and rebuild for libraw1394 v2.0.0
5fc88f
5fc88f
* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 0.5.3-2
5fc88f
- Bump and rebuild with gcc 4.3
5fc88f
5fc88f
* Sun Sep 10 2006 Jarod Wilson <jwilson@redhat.com> - 0.5.3-1
5fc88f
- Upstream release 0.5.3
5fc88f
5fc88f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.2.1
5fc88f
- rebuild
5fc88f
5fc88f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.2
5fc88f
- bump again for double-long bug on ppc(64)
5fc88f
5fc88f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.5.1-2.1
5fc88f
- rebuilt for new gcc4.1 snapshot and glibc changes
5fc88f
5fc88f
* Thu Dec 22 2005 Warren Togami <wtogami@redhat.com> 0.5.1-2
5fc88f
- remove .a and .la (#172641)
5fc88f
- GPL -> LGPL (#165908)
5fc88f
5fc88f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
5fc88f
- rebuilt
5fc88f
5fc88f
* Thu Nov 10 2005 Matthias Saou <http://freshrpms.net/> 0.5.1-1
5fc88f
- Update to 0.5.1.
5fc88f
- Update librom patch to still apply cleanly.
5fc88f
5fc88f
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
5fc88f
- make sure librom1394 is linked to libraw1394 and also
5fc88f
  libavc1394 is linked to librom1394 (also bz 156938)
5fc88f
5fc88f
* Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com>
5fc88f
- rebuilt
5fc88f
5fc88f
* Mon Feb 28 2005 Warren Togami <wtogami@redhat.com> 0.4.1-7
5fc88f
- gcc4 rebuild
5fc88f
5fc88f
* Sun Feb 06 2005 Warren Togami <wtogami@redhat.com> 0.4.1-6
5fc88f
- rebuild against new libraw1394
5fc88f
5fc88f
* Mon Jan 03 2005 Colin Walters <walters@redhat.com> 0.4.1-5
5fc88f
- Rerun autotools in attempt to get package to link to -lm
5fc88f
- Add patch libavc1394-0.4.1-kill-configure-insanity.patch
5fc88f
5fc88f
* Mon Nov 22 2004 Karsten Hopp <karsten@redhat.de> 0.4.1-4 
5fc88f
- remove bogus ldconfig after makeinstall
5fc88f
5fc88f
* Fri Jul 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
5fc88f
- add symlinks for ldconfig
5fc88f
5fc88f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
5fc88f
- rebuilt
5fc88f
5fc88f
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
5fc88f
- rebuilt
5fc88f
5fc88f
* Thu Feb 12 2004 Warren Togami <wtogami@redhat.com> 0.4.1-1
5fc88f
- upgrade to 0.4.1
5fc88f
- Spec cleanups
5fc88f
- License -> Copyright
5fc88f
- Remove INSTALL; Add News, ChangeLog
5fc88f
- Applications/Multimedia -> System Environment/Libraries
5fc88f
5fc88f
* Mon Aug 25 2003 Bill Nottingham <notting@redhat.com> 0.3.1-7
5fc88f
- fix buildreqs (#102204)
5fc88f
5fc88f
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
5fc88f
- rebuilt
5fc88f
5fc88f
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
5fc88f
- rebuilt
5fc88f
5fc88f
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.3.1-4
5fc88f
- rebuild on all arches
5fc88f
5fc88f
* Wed Nov 20 2002 Florian La Roche <Florian.LaRoche@redhat.de>
5fc88f
- exclude mainframe
5fc88f
- allow lib64
5fc88f
5fc88f
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
5fc88f
- automated rebuild
5fc88f
5fc88f
* Sun Jun 09 2002 Michael Fulbright <msf@redhat.com>
5fc88f
- First RPM build
5fc88f