libdv/libdv.spec

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

mercurial