459a8d
Summary:        Software decoder for DV format video
459a8d
Name:           libdv
459a8d
Version:        1.0.0
459a8d
Release:        17%{?dist}
459a8d
License:        LGPLv2+
459a8d
Group:          System Environment/Libraries
459a8d
URL:            http://libdv.sourceforge.net/
459a8d
Source:         http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz
459a8d
Patch1:         libdv-0.104-no-exec-stack.patch
459a8d
Patch2:         libdv-1.0.0-pic.patch
459a8d
Patch3:         libdv-1.0.0-gtk2.patch
459a8d
Patch4:		libdv-1.0.0-dso-linking.patch
459a8d
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
459a8d
BuildRequires:  gtk2-devel
459a8d
BuildRequires:  libXt-devel, libXv-devel
459a8d
# Required for the gtk2 patch
459a8d
BuildRequires:  autoconf, automake, libtool, SDL-devel
459a8d
%if 0%{?fedora} >= 8
459a8d
BuildRequires: popt-devel
459a8d
%endif
459a8d
459a8d
%description
459a8d
The Quasar DV codec (libdv) is a software codec for DV video, the
459a8d
encoding format used by most digital camcorders, typically those that
459a8d
support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was
459a8d
developed according to the official standards for DV video: IEC 61834
459a8d
and SMPTE 314M.
459a8d
459a8d
%package tools
459a8d
Summary:        Basic tools to manipulate Digital Video streams
459a8d
Group:          Applications/Multimedia
459a8d
Requires:       %{name} = %{version}-%{release}
459a8d
459a8d
%description tools
459a8d
This package contains some basic programs to display and encode
459a8d
digital video streams. This programs uses the Quasar DV codec (libdv),
459a8d
a software codec for DV video, the encoding format used by most
459a8d
digital camcorders, typically those that support the IEEE 1394
459a8d
(a.k.a. FireWire or i.Link) interface.
459a8d
459a8d
%package devel
459a8d
Summary:        Development package for libdv
459a8d
Group:          Development/Libraries
459a8d
Requires:       %{name} = %{version}-%{release}
459a8d
Requires:       pkgconfig
459a8d
459a8d
%description devel
459a8d
This package contains development files for libdv.
459a8d
459a8d
%prep
459a8d
%setup -q
459a8d
%patch1 -p0 -b .no-exec-stack
459a8d
%patch2 -p1 -b .pic
459a8d
%patch3 -p1 -b .gtk2
459a8d
%patch4 -p1 -b .dso-linking
459a8d
# Required for libtool 2.2
459a8d
libtoolize
459a8d
# Required for the gtk2 patch
459a8d
autoreconf
459a8d
459a8d
%build
459a8d
%configure --with-pic
459a8d
make %{?_smp_mflags}
459a8d
459a8d
%install
459a8d
rm -rf $RPM_BUILD_ROOT
459a8d
make DESTDIR=$RPM_BUILD_ROOT install
459a8d
rm $RPM_BUILD_ROOT%{_libdir}/libdv.a
459a8d
rm $RPM_BUILD_ROOT%{_libdir}/libdv.la
459a8d
459a8d
%clean
459a8d
rm -rf $RPM_BUILD_ROOT
459a8d
459a8d
%post -p /sbin/ldconfig
459a8d
459a8d
%postun -p /sbin/ldconfig
459a8d
459a8d
%files
459a8d
%defattr(-,root,root,-)
459a8d
%doc COPYING COPYRIGHT ChangeLog
459a8d
%{_libdir}/libdv.so.*
459a8d
459a8d
%files tools
459a8d
%defattr(-,root,root,-)
459a8d
%doc README.*
459a8d
%{_bindir}/dubdv
459a8d
%{_bindir}/dvconnect
459a8d
%{_bindir}/encodedv
459a8d
%{_bindir}/playdv
459a8d
%{_mandir}/man1/dubdv.1*
459a8d
%{_mandir}/man1/dvconnect.1*
459a8d
%{_mandir}/man1/encodedv.1*
459a8d
%{_mandir}/man1/playdv.1*
459a8d
459a8d
%files devel
459a8d
%defattr(-,root,root,-)
459a8d
%{_includedir}/libdv/
459a8d
%{_libdir}/libdv.so
459a8d
%{_libdir}/pkgconfig/libdv.pc
459a8d
459a8d
%changelog
459a8d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.0-17
459a8d
- Mass rebuild 2014-01-24
459a8d
459a8d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.0-16
459a8d
- Mass rebuild 2013-12-27
459a8d
459a8d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-15
459a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
459a8d
459a8d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-14
459a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
459a8d
459a8d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-13
459a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
459a8d
459a8d
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.0.0-12
459a8d
- Rebuild for new libpng
459a8d
459a8d
* Thu May 05 2011 Dan HorĂ¡k <dan[at]danny.cz> - 1.0.0-11
459a8d
- don't exclude s390(x)
459a8d
459a8d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-10
459a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
459a8d
459a8d
* Mon Feb 15 2010 Jay Fenlason <fenlason@redhat.com> 1.0.0-9
459a8d
- Add dso-linking patch to explicitly pull in the X libraries that
459a8d
  playdv depends on.
459a8d
459a8d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-8
459a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
459a8d
459a8d
* Tue Mar 03 2009 Robert Scheck <robert@fedoraproject.org> 1.0.0-7
459a8d
- Rebuilt against libtool 2.2
459a8d
459a8d
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-6
459a8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
459a8d
459a8d
* Mon Jul  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0.0-5
459a8d
- fix conditional comparison
459a8d
459a8d
* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> 1.0.0-4
459a8d
- Bump and rebuild with gcc 4.3
459a8d
459a8d
* Wed Sep 12 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-3
459a8d
- A few more fixes from Matthias Saou:
459a8d
 - List man pages in %%files consistently w/o gz extension
459a8d
 - Add BR: popt-devel for f8+, its now split fromm rpm-devel
459a8d
459a8d
* Wed Sep 12 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-2
459a8d
- Update License field (Matthias Saou)
459a8d
- Remove useless zero epoch (Matthias Saou)
459a8d
- Add pkgconfig devel sub-package req (Matthias Saou)
459a8d
- Minor spec formatting changes and clean-ups
459a8d
459a8d
* Fri Jan 19 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-1
459a8d
- New upstream release
459a8d
- PIC patch from Mike Frysinger <vapier@gentoo.org> (#146596)
459a8d
- Re-enable asm on i386
459a8d
459a8d
* Thu Sep 21 2006 Jarod Wilson <jwilson@redhat.com> 0.104-5
459a8d
- Disable asm on i386 for now to prevent text relocations in DSO
459a8d
459a8d
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:0.104-4.fc6.1
459a8d
- rebuild
459a8d
459a8d
* Wed May 24 2006 Jarod Wilson <jwilson@redhat.com> 0.104-4
459a8d
- disable PIC patch for now, it reliably causes segfaults on x86
459a8d
459a8d
* Sat May 13 2006 Jarod Wilson <jwilson@redhat.com> 0.104-3
459a8d
- rebuilt against latest X libs
459a8d
459a8d
* Tue Mar 07 2006 Warren Togami <wtogami@redhat.com> 0.104-2
459a8d
- remove instead of exclude static libs
459a8d
459a8d
* Wed Feb 15 2006 Matthias Saou <http://freshrpms.net/> 0.104-1
459a8d
- Update to 0.104 at last (#147311)
459a8d
- Include no-exec-stack, pic-fix, amd64reloc and gtk2 patches from Gentoo
459a8d
  and PLD (merge gcc4 fix to the pic-fix patch).
459a8d
- Now build against gtk2 (thanks to the patch above).
459a8d
- Exclude static library.
459a8d
459a8d
* Mon Feb 13 2006 Paul Nasrat <pnasrat@redhat.com> - 0:0.103-4.3
459a8d
- Patch to build with gcc 4.1
459a8d
459a8d
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:0.103-4.2.1
459a8d
- bump again for double-long bug on ppc(64)
459a8d
459a8d
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:0.103-4.2
459a8d
- rebuilt for new gcc4.1 snapshot and glibc changes
459a8d
459a8d
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
459a8d
- rebuilt
459a8d
459a8d
* Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com>
459a8d
- rebuilt
459a8d
459a8d
* Mon Feb 28 2005 Warren Togami <wtogami@redhat.com> - 0:0.103-3
459a8d
- gcc4 rebuild
459a8d
459a8d
* Sun Feb 06 2005 Warren Togami <wtogami@redhat.com> - 0:0.103-2
459a8d
- Fix erroneously requiring an executable stack (Nicholas Miell #146590)
459a8d
459a8d
* Sun Sep 19 2004 Warren Togami <wtogami@redhat.com> - 0:0.103-1
459a8d
- upgrade to 0.103
459a8d
459a8d
* Sun Jun 20 2004 Jeremy Katz <katzj@redhat.com> - 0:0.102-4
459a8d
- gtk+ doesn't need to be in the .pc file (committed upstream, reported
459a8d
- don't require gtk+-devel for -devel package (unneeded)
459a8d
  to fedora-devel-list by John Thacker)
459a8d
459a8d
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
459a8d
- rebuilt
459a8d
459a8d
* Sun May 30 2004 Warren Togami <wtogami@redhat.com> 0:0.102-2
459a8d
- Bug #123367 -devel Req gtk+-devel
459a8d
459a8d
* Mon Mar 29 2004 Warren Togami <wtogami@redhat.com> 0:0.102-1
459a8d
- update to 0.102
459a8d
459a8d
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
459a8d
- rebuilt
459a8d
459a8d
* Thu Feb 14 2004 Warren Togami <wtogami@redhat.com> 0:0.101-2
459a8d
- upgrade to 0.101
459a8d
- spec cleanup
459a8d
- exclude from mainframes
459a8d
- GPL -> LGPL
459a8d
459a8d
* Sun Apr 27 2003 Dams <anvil[AT]livna.org> 0:0.99-0.fdr.2
459a8d
- Added post/postun scriptlets
459a8d
459a8d
* Fri Apr 25 2003 Dams <anvil[AT]livna.org>
459a8d
- Initial build.
459a8d
459a8d