libdv/libdv.spec

changeset 2
e3665a058d13
parent 0
4f133201e207
equal deleted inserted replaced
0:b7410b721eb3 1:1f8538698b6d
1 Name: libdv
1 Summary: Software decoder for DV format video 2 Summary: Software decoder for DV format video
2 Name: libdv 3 Vendor: Europalab Software
4 Packager: Michael Schloh von Bennewitz
5 Distribution: MeeGo Thirdparty
3 Version: 1.0.0 6 Version: 1.0.0
4 Release: 10%{?dist} 7 Release: 20101201
5 License: LGPLv2+ 8 License: LGPLv2+
6 Group: System Environment/Libraries 9 Group: System Environment/Libraries
7 URL: http://libdv.sourceforge.net/ 10 URL: http://libdv.sourceforge.net/
8 Source: http://downloads.sourceforge.net/libdv/libdv-%{version}.tar.gz 11 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 12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14 BuildRequires: gtk2-devel 13 BuildRequires: libXt-devel, libXv-devel, SDL-devel
15 BuildRequires: libXt-devel, libXv-devel 14 BuildRequires: popt-devel
16 # Required for the gtk2 patch
17 BuildRequires: autoconf, automake, libtool, SDL-devel
18 BuildRequires: popt-devel
19 ExcludeArch: s390 s390x
20 15
21 %description 16 %description
22 The Quasar DV codec (libdv) is a software codec for DV video, the 17 The Quasar DV codec (libdv) is a software codec for DV video, the
23 encoding format used by most digital camcorders, typically those that 18 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 19 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 20 developed according to the official standards for DV video: IEC 61834
26 and SMPTE 314M. 21 and SMPTE 314M.
27 22
28 %package tools 23 %package tools
29 Summary: Basic tools to manipulate Digital Video streams 24 Summary: Basic tools to manipulate Digital Video streams
25 Vendor: Europalab Software
26 Packager: Michael Schloh von Bennewitz
27 Distribution: MeeGo Thirdparty
30 Group: Applications/Multimedia 28 Group: Applications/Multimedia
31 Requires: %{name} = %{version}-%{release} 29 Requires: %{name} = %{version}-%{release}
32 30
33 %description tools 31 %description tools
34 This package contains some basic programs to display and encode 32 This package contains some basic programs to display and encode
37 digital camcorders, typically those that support the IEEE 1394 35 digital camcorders, typically those that support the IEEE 1394
38 (a.k.a. FireWire or i.Link) interface. 36 (a.k.a. FireWire or i.Link) interface.
39 37
40 %package devel 38 %package devel
41 Summary: Development package for libdv 39 Summary: Development package for libdv
40 Vendor: Europalab Software
41 Packager: Michael Schloh von Bennewitz
42 Distribution: MeeGo Thirdparty
42 Group: Development/Libraries 43 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release} 44 Requires: %{name} = %{version}-%{release}
44 Requires: pkgconfig 45 Requires: pkgconfig
45 46
46 %description devel 47 %description devel
48 The Quasar DV codec (libdv) is a software codec for DV video, the
49 encoding format used by most digital camcorders, typically those that
50 support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. libdv was
51 developed according to the official standards for DV video: IEC 61834
52 and SMPTE 314M.
53
47 This package contains development files for libdv. 54 This package contains development files for libdv.
48 55
49 %prep 56 %prep
50 %setup -q 57 %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 58
60 %build 59 %build
61 %configure --with-pic 60 %configure
62 make %{?_smp_mflags} 61 make %{?_smp_mflags}
63 62
64 %install 63 %install
65 rm -rf $RPM_BUILD_ROOT 64 rm -rf $RPM_BUILD_ROOT
66 make DESTDIR=$RPM_BUILD_ROOT install 65 make DESTDIR=$RPM_BUILD_ROOT install
67 rm $RPM_BUILD_ROOT%{_libdir}/libdv.a
68 rm $RPM_BUILD_ROOT%{_libdir}/libdv.la
69 66
70 %clean 67 %clean
71 rm -rf $RPM_BUILD_ROOT 68 rm -rf $RPM_BUILD_ROOT
72 69
73 %post -p /sbin/ldconfig 70 %post -p /sbin/ldconfig
83 %defattr(-,root,root,-) 80 %defattr(-,root,root,-)
84 %doc README.* 81 %doc README.*
85 %{_bindir}/dubdv 82 %{_bindir}/dubdv
86 %{_bindir}/dvconnect 83 %{_bindir}/dvconnect
87 %{_bindir}/encodedv 84 %{_bindir}/encodedv
88 %{_bindir}/playdv
89 %{_mandir}/man1/dubdv.1* 85 %{_mandir}/man1/dubdv.1*
90 %{_mandir}/man1/dvconnect.1* 86 %{_mandir}/man1/dvconnect.1*
91 %{_mandir}/man1/encodedv.1* 87 %{_mandir}/man1/encodedv.1*
92 %{_mandir}/man1/playdv.1*
93 88
94 %files devel 89 %files devel
95 %defattr(-,root,root,-) 90 %defattr(-,root,root,-)
96 %{_includedir}/libdv/ 91 %{_includedir}/libdv/
92 %{_libdir}/libdv.a
93 %{_libdir}/libdv.la
97 %{_libdir}/libdv.so 94 %{_libdir}/libdv.so
98 %{_libdir}/pkgconfig/libdv.pc 95 %{_libdir}/pkgconfig/libdv.pc
99 96
100 %changelog 97 %changelog
98 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.0.0-20101201
99 - Adjust packaging and patch logic
100
101 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.0-10 101 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.0.0-10
102 - Build for MeeGo 1.1 102 - Build for MeeGo 1.1
103 103
104 * Mon Feb 15 2010 Jay Fenlason <fenlason@redhat.com> 1.0.0-9 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 105 - Add dso-linking patch to explicitly pull in the X libraries that

mercurial