libquicktime/libquicktime.spec

changeset 1
4667f24fe848
parent 0
4f133201e207
equal deleted inserted replaced
0:4643ed648d8a 1:f82718aa26ba
1 Summary: Library for reading and writing Quicktime files 1 Name: libquicktime
2 Name: libquicktime 2 Summary: Library for reading and writing Quicktime files
3 Version: 1.1.5 3 Vendor: Europalab Software
4 Release: 3%{?dist} 4 Packager: Michael Schloh von Bennewitz
5 License: LGPLv2+ 5 Distribution: MeeGo Thirdparty
6 Group: System Environment/Libraries 6 Version: 1.2.1
7 URL: http://libquicktime.sourceforge.net/ 7 Release: 20101201
8 Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz 8 License: LGPLv2+
9 Patch0: libquicktime-1.1.5-gtk.patch 9 Group: System Environment/Libraries
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 10 URL: http://libquicktime.sourceforge.net/
11 11 Source0: http://downloads.sourceforge.net/libquicktime/%{name}-%{version}.tar.gz
12 BuildRequires: libdv-devel 12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13 BuildRequires: libpng-devel libjpeg-devel libGLU-devel 13 BuildRequires: libdv-devel
14 BuildRequires: libvorbis-devel ffmpeg-devel 14 BuildRequires: libpng-devel libjpeg-devel libGLU-devel
15 BuildRequires: schroedinger-devel 15 BuildRequires: libvorbis-devel ffmpeg-devel
16 BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel 16 BuildRequires: schroedinger-devel
17 BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel 17 BuildRequires: lame-devel alsa-lib-devel libXt-devel libXaw-devel libXv-devel
18 BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12 18 BuildRequires: libdv-devel >= 0.102-4 x264-devel faad2-devel
19 BuildRequires: gtk2-devel >= 2.4.0 19 BuildRequires: libavc1394-devel libraw1394-devel >= 0.9.0-12
20 BuildRequires: schroedinger-devel 20 BuildRequires: schroedinger-devel
21 BuildRequires: gettext-devel 21 BuildRequires: gettext-devel
22 %{?_with_faac:BuildRequires: faac-devel} 22 %{?_with_faac:BuildRequires: faac-devel}
23 23
24 %package utils 24 %package utils
25 Summary: Utilities for working with Quicktime files 25 Summary: Utilities for working with Quicktime files
26 Group: Applications/Multimedia 26 Vendor: Europalab Software
27 Packager: Michael Schloh von Bennewitz
28 Distribution: MeeGo Thirdparty
29 Group: Applications/Multimedia
27 30
28 %package devel 31 %package devel
29 Summary: Development files for libquicktime 32 Summary: Development files for libquicktime
30 Group: Development/Libraries 33 Vendor: Europalab Software
31 Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig 34 Packager: Michael Schloh von Bennewitz
32 35 Distribution: MeeGo Thirdparty
33 # -------------------------------------------------------------------- 36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release} zlib-devel pkgconfig
34 38
35 %description 39 %description
36 Libquicktime is based on the quicktime4linux library with several 40 Libquicktime is based on the quicktime4linux library with several
37 enhancements. All 3rd-party libraries were removed from the 41 enhancements. All 3rd-party libraries were removed from the
38 sourcetree. Instead, the systemwide installed libraries are detected 42 sourcetree. Instead, the systemwide installed libraries are detected
39 by the configure script. All original codecs were moved into 43 by the configure script. All original codecs were moved into
40 dynamically loadable modules, and new codecs are in 44 dynamically loadable modules, and new codecs are in
41 development. Libquicktime is source-compatible with 45 development. Libquicktime is source-compatible with
42 quicktime4linux. Special API extensions allow access to the codec 46 quicktime4linux. Special API extensions allow access to the codec
43 registry and more convenient processing of Audio and Video 47 registry and more convenient processing of Audio and Video
44 data. 48 data.
45 49
46 %description utils 50 %description utils
47 Libquicktime is based on the quicktime4linux library with several 51 Libquicktime is based on the quicktime4linux library with several
48 enhancements. This package contains utility programs and additional 52 enhancements. This package contains utility programs and additional
49 tools, like a commandline player and a GTK configuration utility which 53 tools, like a commandline player which can configure the parameters
50 can configure the parameters of all installed codecs. 54 of all installed codecs.
51 55
52 %description devel 56 %description devel
53 Libquicktime is based on the quicktime4linux library with several 57 Libquicktime is based on the quicktime4linux library with several
54 enhancements. This package contains development files for %{name}. 58 enhancements. This package contains development files for %{name}.
55 59
56 # --------------------------------------------------------------------
57
58 %prep 60 %prep
59 %setup -q 61 %setup -q
60 %patch0 -p1 -b .gtk
61
62
63 # --------------------------------------------------------------------
64 62
65 %build 63 %build
66 %configure \ 64 %configure \
67 --enable-gpl \ 65 --enable-gpl \
68 --disable-rpath \ 66 --disable-rpath \
69 --with-cpuflags="$RPM_OPT_FLAGS" \ 67 --with-cpuflags="$RPM_OPT_FLAGS" \
70 --disable-dependency-tracking \ 68 --disable-dependency-tracking \
71 --without-doxygen \ 69 --without-doxygen \
72 --disable-static \ 70 --disable-static \
73 --with-libdv \ 71 --with-libdv \
74 --enable-libswscale 72 --enable-libswscale
75 73
76 # remove rpath from libtool 74 # remove rpath from libtool
77 sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 75 sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
78 sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool 76 sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
79 77
80 make %{?_smp_mflags} 78 make %{?_smp_mflags}
81
82 # --------------------------------------------------------------------
83 79
84 %install 80 %install
85 rm -rf $RPM_BUILD_ROOT 81 rm -rf $RPM_BUILD_ROOT
86 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" 82 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
87 find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \; 83 find $RPM_BUILD_ROOT%{_libdir} -type f -a -name \*.la -exec rm {} \;
88 84
89
90 %find_lang %{name} 85 %find_lang %{name}
91
92
93 # --------------------------------------------------------------------
94 86
95 %clean 87 %clean
96 rm -rf $RPM_BUILD_ROOT 88 rm -rf $RPM_BUILD_ROOT
97
98 # --------------------------------------------------------------------
99 89
100 %post -p /sbin/ldconfig 90 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig 91 %postun -p /sbin/ldconfig
102 92
103 %files -f %{name}.lang 93 %files -f %{name}.lang
127 %{_includedir}/lqt/ 117 %{_includedir}/lqt/
128 %{_libdir}/pkgconfig/libquicktime.pc 118 %{_libdir}/pkgconfig/libquicktime.pc
129 %{_libdir}/%{name}*.so 119 %{_libdir}/%{name}*.so
130 %{_datadir}/aclocal/lqt.m4 120 %{_datadir}/aclocal/lqt.m4
131 121
132 # --------------------------------------------------------------------
133
134 %changelog 122 %changelog
123 * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 1.2.1-20101201
124 - Synchronize with upstream vendor version 1.2.1
125 - Adjust packaging and patch logic
126
135 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.1.5-3 127 * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 1.1.5-3
136 - Build for MeeGo 1.1 128 - Package for MeeGo 1.1
137 129
138 * Sat Jul 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.5-2 130 * Sat Jul 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.1.5-2
139 - Add libquicktime-1.1.5-gtk.patch from Dan Horák. 131 - Add libquicktime-1.1.5-gtk.patch from Dan Horák.
140 132
141 * Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.5-1 133 * Sat May 01 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.1.5-1
192 - Update to 1.0.1 184 - Update to 1.0.1
193 - Disable libswscale (disabled in ffmpeg). 185 - Disable libswscale (disabled in ffmpeg).
194 186
195 * Wed Sep 26 2007 kwizart <kwizart at gmail.com> - 1.0.0-2 187 * Wed Sep 26 2007 kwizart <kwizart at gmail.com> - 1.0.0-2
196 - Fix build for new tooltip with gtk 2.12 188 - Fix build for new tooltip with gtk 2.12
197 A better patch may need: 189 A better patch may need:
198 http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html 190 http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html
199 191
200 * Thu Jul 5 2007 kwizart <kwizart at gmail.com> - 1.0.0-1 192 * Thu Jul 5 2007 kwizart <kwizart at gmail.com> - 1.0.0-1
201 - Update to 1.0.0 193 - Update to 1.0.0
202 - Add BR gettext, libtool 194 - Add BR gettext, libtool
301 * Mon Jul 14 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.5.pre1 293 * Mon Jul 14 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.5.pre1
302 - Added missing deps for ffmpeg-devel 294 - Added missing deps for ffmpeg-devel
303 - Added build option "with firewire" (disabled by default) 295 - Added build option "with firewire" (disabled by default)
304 296
305 * Wed Jul 9 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.4.pre1 297 * Wed Jul 9 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.4.pre1
306 - Added missing unowned directory 298 - Added missing unowned directory
307 - Removed URL in Source0 299 - Removed URL in Source0
308 - buildroot -> RPM_BUILD_ROOT 300 - buildroot -> RPM_BUILD_ROOT
309 - athlon is mmx compliant too 301 - athlon is mmx compliant too
310 - Now include all *.so/*.so.*/.a in libdir (bug #451) 302 - Now include all *.so/*.so.*/.a in libdir (bug #451)
311 303
312 * Wed Apr 23 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.3.pre1 304 * Wed Apr 23 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.3.pre1
313 - Typo in group tag 305 - Typo in group tag
314 306
315 * Mon Apr 21 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.2.pre1 307 * Mon Apr 21 2003 Dams <anvil[AT]livna.org> 0:0.9.2-0.fdr.0.2.pre1
316 - Major fix from from Diag (plugins are now in the package). 308 - Major fix from from Diag (plugins are now in the package).
317 309
318 * Wed Apr 16 2003 Dams <anvil[AT]livna.org> 310 * Wed Apr 16 2003 Dams <anvil[AT]livna.org>
319 - Initial build. 311 - Initial build.

mercurial