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