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