1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libdv/libdv.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,214 @@ 1.4 +Summary: Software decoder for DV format video 1.5 +Name: libdv 1.6 +Version: 1.0.0 1.7 +Release: 10%{?dist} 1.8 +License: LGPLv2+ 1.9 +Group: System Environment/Libraries 1.10 +URL: http://libdv.sourceforge.net/ 1.11 +Source: http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz 1.12 +Patch1: libdv-0.104-no-exec-stack.patch 1.13 +Patch2: libdv-1.0.0-pic.patch 1.14 +Patch3: libdv-1.0.0-gtk2.patch 1.15 +Patch4: libdv-1.0.0-dso-linking.patch 1.16 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot 1.17 +BuildRequires: gtk2-devel 1.18 +BuildRequires: libXt-devel, libXv-devel 1.19 +# Required for the gtk2 patch 1.20 +BuildRequires: autoconf, automake, libtool, SDL-devel 1.21 +BuildRequires: popt-devel 1.22 +ExcludeArch: s390 s390x 1.23 + 1.24 +%description 1.25 +The Quasar DV codec (libdv) is a software codec for DV video, the 1.26 +encoding format used by most digital camcorders, typically those that 1.27 +support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was 1.28 +developed according to the official standards for DV video: IEC 61834 1.29 +and SMPTE 314M. 1.30 + 1.31 +%package tools 1.32 +Summary: Basic tools to manipulate Digital Video streams 1.33 +Group: Applications/Multimedia 1.34 +Requires: %{name} = %{version}-%{release} 1.35 + 1.36 +%description tools 1.37 +This package contains some basic programs to display and encode 1.38 +digital video streams. This programs uses the Quasar DV codec (libdv), 1.39 +a software codec for DV video, the encoding format used by most 1.40 +digital camcorders, typically those that support the IEEE 1394 1.41 +(a.k.a. FireWire or i.Link) interface. 1.42 + 1.43 +%package devel 1.44 +Summary: Development package for libdv 1.45 +Group: Development/Libraries 1.46 +Requires: %{name} = %{version}-%{release} 1.47 +Requires: pkgconfig 1.48 + 1.49 +%description devel 1.50 +This package contains development files for libdv. 1.51 + 1.52 +%prep 1.53 +%setup -q 1.54 +%patch1 -p0 -b .no-exec-stack 1.55 +%patch2 -p1 -b .pic 1.56 +%patch3 -p1 -b .gtk2 1.57 +%patch4 -p1 -b .dso-linking 1.58 +# Required for libtool 2.2 1.59 +libtoolize 1.60 +# Required for the gtk2 patch 1.61 +autoreconf 1.62 + 1.63 +%build 1.64 +%configure --with-pic 1.65 +make %{?_smp_mflags} 1.66 + 1.67 +%install 1.68 +rm -rf $RPM_BUILD_ROOT 1.69 +make DESTDIR=$RPM_BUILD_ROOT install 1.70 +rm $RPM_BUILD_ROOT%{_libdir}/libdv.a 1.71 +rm $RPM_BUILD_ROOT%{_libdir}/libdv.la 1.72 + 1.73 +%clean 1.74 +rm -rf $RPM_BUILD_ROOT 1.75 + 1.76 +%post -p /sbin/ldconfig 1.77 + 1.78 +%postun -p /sbin/ldconfig 1.79 + 1.80 +%files 1.81 +%defattr(-,root,root,-) 1.82 +%doc COPYING COPYRIGHT ChangeLog 1.83 +%{_libdir}/libdv.so.* 1.84 + 1.85 +%files tools 1.86 +%defattr(-,root,root,-) 1.87 +%doc README.* 1.88 +%{_bindir}/dubdv 1.89 +%{_bindir}/dvconnect 1.90 +%{_bindir}/encodedv 1.91 +%{_bindir}/playdv 1.92 +%{_mandir}/man1/dubdv.1* 1.93 +%{_mandir}/man1/dvconnect.1* 1.94 +%{_mandir}/man1/encodedv.1* 1.95 +%{_mandir}/man1/playdv.1* 1.96 + 1.97 +%files devel 1.98 +%defattr(-,root,root,-) 1.99 +%{_includedir}/libdv/ 1.100 +%{_libdir}/libdv.so 1.101 +%{_libdir}/pkgconfig/libdv.pc 1.102 + 1.103 +%changelog 1.104 +* Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.0-10 1.105 +- Build for MeeGo 1.1 1.106 + 1.107 +* Mon Feb 15 2010 Jay Fenlason <fenlason@redhat.com> 1.0.0-9 1.108 +- Add dso-linking patch to explicitly pull in the X libraries that 1.109 + playdv depends on. 1.110 + 1.111 +* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-8 1.112 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.113 + 1.114 +* Tue Mar 03 2009 Robert Scheck <robert@fedoraproject.org> 1.0.0-7 1.115 +- Rebuilt against libtool 2.2 1.116 + 1.117 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-6 1.118 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.119 + 1.120 +* Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0.0-5 1.121 +- fix conditional comparison 1.122 + 1.123 +* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> 1.0.0-4 1.124 +- Bump and rebuild with gcc 4.3 1.125 + 1.126 +* Wed Sep 12 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-3 1.127 +- A few more fixes from Matthias Saou: 1.128 + - List man pages in %%files consistently w/o gz extension 1.129 + - Add BR: popt-devel for f8+, its now split fromm rpm-devel 1.130 + 1.131 +* Wed Sep 12 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-2 1.132 +- Update License field (Matthias Saou) 1.133 +- Remove useless zero epoch (Matthias Saou) 1.134 +- Add pkgconfig devel sub-package req (Matthias Saou) 1.135 +- Minor spec formatting changes and clean-ups 1.136 + 1.137 +* Fri Jan 19 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-1 1.138 +- New upstream release 1.139 +- PIC patch from Mike Frysinger <vapier@gentoo.org> (#146596) 1.140 +- Re-enable asm on i386 1.141 + 1.142 +* Thu Sep 21 2006 Jarod Wilson <jwilson@redhat.com> 0.104-5 1.143 +- Disable asm on i386 for now to prevent text relocations in DSO 1.144 + 1.145 +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:0.104-4.fc6.1 1.146 +- rebuild 1.147 + 1.148 +* Wed May 24 2006 Jarod Wilson <jwilson@redhat.com> 0.104-4 1.149 +- disable PIC patch for now, it reliably causes segfaults on x86 1.150 + 1.151 +* Sat May 13 2006 Jarod Wilson <jwilson@redhat.com> 0.104-3 1.152 +- rebuilt against latest X libs 1.153 + 1.154 +* Tue Mar 07 2006 Warren Togami <wtogami@redhat.com> 0.104-2 1.155 +- remove instead of exclude static libs 1.156 + 1.157 +* Wed Feb 15 2006 Matthias Saou <http://freshrpms.net/> 0.104-1 1.158 +- Update to 0.104 at last (#147311) 1.159 +- Include no-exec-stack, pic-fix, amd64reloc and gtk2 patches from Gentoo 1.160 + and PLD (merge gcc4 fix to the pic-fix patch). 1.161 +- Now build against gtk2 (thanks to the patch above). 1.162 +- Exclude static library. 1.163 + 1.164 +* Mon Feb 13 2006 Paul Nasrat <pnasrat@redhat.com> - 0:0.103-4.3 1.165 +- Patch to build with gcc 4.1 1.166 + 1.167 +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:0.103-4.2.1 1.168 +- bump again for double-long bug on ppc(64) 1.169 + 1.170 +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:0.103-4.2 1.171 +- rebuilt for new gcc4.1 snapshot and glibc changes 1.172 + 1.173 +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 1.174 +- rebuilt 1.175 + 1.176 +* Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com> 1.177 +- rebuilt 1.178 + 1.179 +* Mon Feb 28 2005 Warren Togami <wtogami@redhat.com> - 0:0.103-3 1.180 +- gcc4 rebuild 1.181 + 1.182 +* Sun Feb 06 2005 Warren Togami <wtogami@redhat.com> - 0:0.103-2 1.183 +- Fix erroneously requiring an executable stack (Nicholas Miell #146590) 1.184 + 1.185 +* Sun Sep 19 2004 Warren Togami <wtogami@redhat.com> - 0:0.103-1 1.186 +- upgrade to 0.103 1.187 + 1.188 +* Sun Jun 20 2004 Jeremy Katz <katzj@redhat.com> - 0:0.102-4 1.189 +- gtk+ doesn't need to be in the .pc file (committed upstream, reported 1.190 +- don't require gtk+-devel for -devel package (unneeded) 1.191 + to fedora-devel-list by John Thacker) 1.192 + 1.193 +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 1.194 +- rebuilt 1.195 + 1.196 +* Sun May 30 2004 Warren Togami <wtogami@redhat.com> 0:0.102-2 1.197 +- Bug #123367 -devel Req gtk+-devel 1.198 + 1.199 +* Mon Mar 29 2004 Warren Togami <wtogami@redhat.com> 0:0.102-1 1.200 +- update to 0.102 1.201 + 1.202 +* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> 1.203 +- rebuilt 1.204 + 1.205 +* Thu Feb 14 2004 Warren Togami <wtogami@redhat.com> 0:0.101-2 1.206 +- upgrade to 0.101 1.207 +- spec cleanup 1.208 +- exclude from mainframes 1.209 +- GPL -> LGPL 1.210 + 1.211 +* Sun Apr 27 2003 Dams <anvil[AT]livna.org> 0:0.99-0.fdr.2 1.212 +- Added post/postun scriptlets 1.213 + 1.214 +* Fri Apr 25 2003 Dams <anvil[AT]livna.org> 1.215 +- Initial build. 1.216 + 1.217 +