Fri, 11 Mar 2011 21:30:26 +0100
Import package vendor original specs for necessary manipulations.
michael@0 | 1 | Summary: Software decoder for DV format video |
michael@0 | 2 | Name: libdv |
michael@0 | 3 | Version: 1.0.0 |
michael@0 | 4 | Release: 10%{?dist} |
michael@0 | 5 | License: LGPLv2+ |
michael@0 | 6 | Group: System Environment/Libraries |
michael@0 | 7 | URL: http://libdv.sourceforge.net/ |
michael@0 | 8 | Source: http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz |
michael@0 | 9 | Patch1: libdv-0.104-no-exec-stack.patch |
michael@0 | 10 | Patch2: libdv-1.0.0-pic.patch |
michael@0 | 11 | Patch3: libdv-1.0.0-gtk2.patch |
michael@0 | 12 | Patch4: libdv-1.0.0-dso-linking.patch |
michael@0 | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
michael@0 | 14 | BuildRequires: gtk2-devel |
michael@0 | 15 | BuildRequires: libXt-devel, libXv-devel |
michael@0 | 16 | # Required for the gtk2 patch |
michael@0 | 17 | BuildRequires: autoconf, automake, libtool, SDL-devel |
michael@0 | 18 | BuildRequires: popt-devel |
michael@0 | 19 | ExcludeArch: s390 s390x |
michael@0 | 20 | |
michael@0 | 21 | %description |
michael@0 | 22 | The Quasar DV codec (libdv) is a software codec for DV video, the |
michael@0 | 23 | encoding format used by most digital camcorders, typically those that |
michael@0 | 24 | support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was |
michael@0 | 25 | developed according to the official standards for DV video: IEC 61834 |
michael@0 | 26 | and SMPTE 314M. |
michael@0 | 27 | |
michael@0 | 28 | %package tools |
michael@0 | 29 | Summary: Basic tools to manipulate Digital Video streams |
michael@0 | 30 | Group: Applications/Multimedia |
michael@0 | 31 | Requires: %{name} = %{version}-%{release} |
michael@0 | 32 | |
michael@0 | 33 | %description tools |
michael@0 | 34 | This package contains some basic programs to display and encode |
michael@0 | 35 | digital video streams. This programs uses the Quasar DV codec (libdv), |
michael@0 | 36 | a software codec for DV video, the encoding format used by most |
michael@0 | 37 | digital camcorders, typically those that support the IEEE 1394 |
michael@0 | 38 | (a.k.a. FireWire or i.Link) interface. |
michael@0 | 39 | |
michael@0 | 40 | %package devel |
michael@0 | 41 | Summary: Development package for libdv |
michael@0 | 42 | Group: Development/Libraries |
michael@0 | 43 | Requires: %{name} = %{version}-%{release} |
michael@0 | 44 | Requires: pkgconfig |
michael@0 | 45 | |
michael@0 | 46 | %description devel |
michael@0 | 47 | This package contains development files for libdv. |
michael@0 | 48 | |
michael@0 | 49 | %prep |
michael@0 | 50 | %setup -q |
michael@0 | 51 | %patch1 -p0 -b .no-exec-stack |
michael@0 | 52 | %patch2 -p1 -b .pic |
michael@0 | 53 | %patch3 -p1 -b .gtk2 |
michael@0 | 54 | %patch4 -p1 -b .dso-linking |
michael@0 | 55 | # Required for libtool 2.2 |
michael@0 | 56 | libtoolize |
michael@0 | 57 | # Required for the gtk2 patch |
michael@0 | 58 | autoreconf |
michael@0 | 59 | |
michael@0 | 60 | %build |
michael@0 | 61 | %configure --with-pic |
michael@0 | 62 | make %{?_smp_mflags} |
michael@0 | 63 | |
michael@0 | 64 | %install |
michael@0 | 65 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 66 | make DESTDIR=$RPM_BUILD_ROOT install |
michael@0 | 67 | rm $RPM_BUILD_ROOT%{_libdir}/libdv.a |
michael@0 | 68 | rm $RPM_BUILD_ROOT%{_libdir}/libdv.la |
michael@0 | 69 | |
michael@0 | 70 | %clean |
michael@0 | 71 | rm -rf $RPM_BUILD_ROOT |
michael@0 | 72 | |
michael@0 | 73 | %post -p /sbin/ldconfig |
michael@0 | 74 | |
michael@0 | 75 | %postun -p /sbin/ldconfig |
michael@0 | 76 | |
michael@0 | 77 | %files |
michael@0 | 78 | %defattr(-,root,root,-) |
michael@0 | 79 | %doc COPYING COPYRIGHT ChangeLog |
michael@0 | 80 | %{_libdir}/libdv.so.* |
michael@0 | 81 | |
michael@0 | 82 | %files tools |
michael@0 | 83 | %defattr(-,root,root,-) |
michael@0 | 84 | %doc README.* |
michael@0 | 85 | %{_bindir}/dubdv |
michael@0 | 86 | %{_bindir}/dvconnect |
michael@0 | 87 | %{_bindir}/encodedv |
michael@0 | 88 | %{_bindir}/playdv |
michael@0 | 89 | %{_mandir}/man1/dubdv.1* |
michael@0 | 90 | %{_mandir}/man1/dvconnect.1* |
michael@0 | 91 | %{_mandir}/man1/encodedv.1* |
michael@0 | 92 | %{_mandir}/man1/playdv.1* |
michael@0 | 93 | |
michael@0 | 94 | %files devel |
michael@0 | 95 | %defattr(-,root,root,-) |
michael@0 | 96 | %{_includedir}/libdv/ |
michael@0 | 97 | %{_libdir}/libdv.so |
michael@0 | 98 | %{_libdir}/pkgconfig/libdv.pc |
michael@0 | 99 | |
michael@0 | 100 | %changelog |
michael@0 | 101 | * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.0-10 |
michael@0 | 102 | - Build for MeeGo 1.1 |
michael@0 | 103 | |
michael@0 | 104 | * Mon Feb 15 2010 Jay Fenlason <fenlason@redhat.com> 1.0.0-9 |
michael@0 | 105 | - Add dso-linking patch to explicitly pull in the X libraries that |
michael@0 | 106 | playdv depends on. |
michael@0 | 107 | |
michael@0 | 108 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-8 |
michael@0 | 109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
michael@0 | 110 | |
michael@0 | 111 | * Tue Mar 03 2009 Robert Scheck <robert@fedoraproject.org> 1.0.0-7 |
michael@0 | 112 | - Rebuilt against libtool 2.2 |
michael@0 | 113 | |
michael@0 | 114 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-6 |
michael@0 | 115 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
michael@0 | 116 | |
michael@0 | 117 | * Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.0.0-5 |
michael@0 | 118 | - fix conditional comparison |
michael@0 | 119 | |
michael@0 | 120 | * Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> 1.0.0-4 |
michael@0 | 121 | - Bump and rebuild with gcc 4.3 |
michael@0 | 122 | |
michael@0 | 123 | * Wed Sep 12 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-3 |
michael@0 | 124 | - A few more fixes from Matthias Saou: |
michael@0 | 125 | - List man pages in %%files consistently w/o gz extension |
michael@0 | 126 | - Add BR: popt-devel for f8+, its now split fromm rpm-devel |
michael@0 | 127 | |
michael@0 | 128 | * Wed Sep 12 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-2 |
michael@0 | 129 | - Update License field (Matthias Saou) |
michael@0 | 130 | - Remove useless zero epoch (Matthias Saou) |
michael@0 | 131 | - Add pkgconfig devel sub-package req (Matthias Saou) |
michael@0 | 132 | - Minor spec formatting changes and clean-ups |
michael@0 | 133 | |
michael@0 | 134 | * Fri Jan 19 2007 Jarod Wilson <jwilson@redhat.com> 1.0.0-1 |
michael@0 | 135 | - New upstream release |
michael@0 | 136 | - PIC patch from Mike Frysinger <vapier@gentoo.org> (#146596) |
michael@0 | 137 | - Re-enable asm on i386 |
michael@0 | 138 | |
michael@0 | 139 | * Thu Sep 21 2006 Jarod Wilson <jwilson@redhat.com> 0.104-5 |
michael@0 | 140 | - Disable asm on i386 for now to prevent text relocations in DSO |
michael@0 | 141 | |
michael@0 | 142 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0:0.104-4.fc6.1 |
michael@0 | 143 | - rebuild |
michael@0 | 144 | |
michael@0 | 145 | * Wed May 24 2006 Jarod Wilson <jwilson@redhat.com> 0.104-4 |
michael@0 | 146 | - disable PIC patch for now, it reliably causes segfaults on x86 |
michael@0 | 147 | |
michael@0 | 148 | * Sat May 13 2006 Jarod Wilson <jwilson@redhat.com> 0.104-3 |
michael@0 | 149 | - rebuilt against latest X libs |
michael@0 | 150 | |
michael@0 | 151 | * Tue Mar 07 2006 Warren Togami <wtogami@redhat.com> 0.104-2 |
michael@0 | 152 | - remove instead of exclude static libs |
michael@0 | 153 | |
michael@0 | 154 | * Wed Feb 15 2006 Matthias Saou <http://freshrpms.net/> 0.104-1 |
michael@0 | 155 | - Update to 0.104 at last (#147311) |
michael@0 | 156 | - Include no-exec-stack, pic-fix, amd64reloc and gtk2 patches from Gentoo |
michael@0 | 157 | and PLD (merge gcc4 fix to the pic-fix patch). |
michael@0 | 158 | - Now build against gtk2 (thanks to the patch above). |
michael@0 | 159 | - Exclude static library. |
michael@0 | 160 | |
michael@0 | 161 | * Mon Feb 13 2006 Paul Nasrat <pnasrat@redhat.com> - 0:0.103-4.3 |
michael@0 | 162 | - Patch to build with gcc 4.1 |
michael@0 | 163 | |
michael@0 | 164 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0:0.103-4.2.1 |
michael@0 | 165 | - bump again for double-long bug on ppc(64) |
michael@0 | 166 | |
michael@0 | 167 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0:0.103-4.2 |
michael@0 | 168 | - rebuilt for new gcc4.1 snapshot and glibc changes |
michael@0 | 169 | |
michael@0 | 170 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
michael@0 | 171 | - rebuilt |
michael@0 | 172 | |
michael@0 | 173 | * Wed Mar 16 2005 Elliot Lee <sopwith@redhat.com> |
michael@0 | 174 | - rebuilt |
michael@0 | 175 | |
michael@0 | 176 | * Mon Feb 28 2005 Warren Togami <wtogami@redhat.com> - 0:0.103-3 |
michael@0 | 177 | - gcc4 rebuild |
michael@0 | 178 | |
michael@0 | 179 | * Sun Feb 06 2005 Warren Togami <wtogami@redhat.com> - 0:0.103-2 |
michael@0 | 180 | - Fix erroneously requiring an executable stack (Nicholas Miell #146590) |
michael@0 | 181 | |
michael@0 | 182 | * Sun Sep 19 2004 Warren Togami <wtogami@redhat.com> - 0:0.103-1 |
michael@0 | 183 | - upgrade to 0.103 |
michael@0 | 184 | |
michael@0 | 185 | * Sun Jun 20 2004 Jeremy Katz <katzj@redhat.com> - 0:0.102-4 |
michael@0 | 186 | - gtk+ doesn't need to be in the .pc file (committed upstream, reported |
michael@0 | 187 | - don't require gtk+-devel for -devel package (unneeded) |
michael@0 | 188 | to fedora-devel-list by John Thacker) |
michael@0 | 189 | |
michael@0 | 190 | * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> |
michael@0 | 191 | - rebuilt |
michael@0 | 192 | |
michael@0 | 193 | * Sun May 30 2004 Warren Togami <wtogami@redhat.com> 0:0.102-2 |
michael@0 | 194 | - Bug #123367 -devel Req gtk+-devel |
michael@0 | 195 | |
michael@0 | 196 | * Mon Mar 29 2004 Warren Togami <wtogami@redhat.com> 0:0.102-1 |
michael@0 | 197 | - update to 0.102 |
michael@0 | 198 | |
michael@0 | 199 | * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> |
michael@0 | 200 | - rebuilt |
michael@0 | 201 | |
michael@0 | 202 | * Thu Feb 14 2004 Warren Togami <wtogami@redhat.com> 0:0.101-2 |
michael@0 | 203 | - upgrade to 0.101 |
michael@0 | 204 | - spec cleanup |
michael@0 | 205 | - exclude from mainframes |
michael@0 | 206 | - GPL -> LGPL |
michael@0 | 207 | |
michael@0 | 208 | * Sun Apr 27 2003 Dams <anvil[AT]livna.org> 0:0.99-0.fdr.2 |
michael@0 | 209 | - Added post/postun scriptlets |
michael@0 | 210 | |
michael@0 | 211 | * Fri Apr 25 2003 Dams <anvil[AT]livna.org> |
michael@0 | 212 | - Initial build. |
michael@0 | 213 | |
michael@0 | 214 |