2007-01-16 00:23:03 +01:00
|
|
|
#
|
2011-05-20 15:00:01 +02:00
|
|
|
# spec file for package libquicktime
|
|
|
|
#
|
2018-04-22 21:27:47 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-05-20 15:00:01 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:23:03 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-05-20 15:00:01 +02:00
|
|
|
|
2016-07-25 15:12:58 +02:00
|
|
|
%bcond_with faac
|
|
|
|
%bcond_with faad
|
|
|
|
%bcond_with x264
|
|
|
|
|
2017-02-19 05:34:57 +01:00
|
|
|
%define sover 0
|
2015-02-27 15:46:15 +01:00
|
|
|
%define cvs 20150223
|
2007-01-16 00:23:03 +01:00
|
|
|
Name: libquicktime
|
2015-02-27 15:46:15 +01:00
|
|
|
Version: 1.2.4cvs%{cvs}
|
2012-02-28 12:55:10 +01:00
|
|
|
Release: 0
|
2011-06-26 04:37:55 +02:00
|
|
|
#to_be_filled_by_service
|
2011-04-28 22:38:49 +02:00
|
|
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
2018-04-22 21:27:47 +02:00
|
|
|
License: GPL-2.0-or-later
|
2017-02-19 05:34:57 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-02-28 12:55:10 +01:00
|
|
|
Url: http://libquicktime.sf.net
|
2015-02-27 15:46:15 +01:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2011-06-25 01:34:20 +02:00
|
|
|
Source1: COPYING
|
2014-10-03 19:27:27 +02:00
|
|
|
Source2: baselibs.conf
|
2016-02-17 14:42:37 +01:00
|
|
|
Patch0: libquicktime-ffmpeg3.patch
|
|
|
|
Patch1: libquicktime-faad2.patch
|
2017-02-14 16:01:54 +01:00
|
|
|
# PATCH-FIX-UPSTREAM bsc#1022805 CVE-2016-2399 kstreitova@suse.com -- fix integer overflow in the quicktime_read_pascal function
|
|
|
|
Patch2: libquicktime-1.2.4-integer_overflow.patch
|
2017-06-28 09:16:27 +02:00
|
|
|
# PATCH-FIX-UPSTREAM kstreitova@suse.com -- fix multiple vulnerabilities (from CVE-2017-9122 to CVE-2017-9128)
|
|
|
|
Patch3: libquicktime-1.2.4-multiple_vulnerabilities.patch
|
2015-12-02 10:13:20 +01:00
|
|
|
BuildRequires: alsa-devel
|
2015-02-27 15:46:15 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libdv-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2017-08-25 10:36:03 +02:00
|
|
|
BuildRequires: libmp3lame-devel
|
2015-02-27 15:46:15 +01:00
|
|
|
BuildRequires: libtool
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: libvorbis-devel
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: schroedinger-devel
|
2014-10-02 21:26:15 +02:00
|
|
|
BuildRequires: pkgconfig(gl)
|
2018-04-22 21:27:47 +02:00
|
|
|
BuildRequires: pkgconfig(libavcodec) < 58
|
2017-11-04 22:24:56 +01:00
|
|
|
BuildRequires: pkgconfig(libpng)
|
2018-04-22 21:27:47 +02:00
|
|
|
BuildRequires: pkgconfig(libswscale) < 5
|
2014-10-02 21:26:15 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xaw7)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
BuildRequires: pkgconfig(xv)
|
2015-12-11 13:43:35 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-03-27 13:57:02 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
2016-07-25 15:12:58 +02:00
|
|
|
%if %{with faac}
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: libfaac-devel
|
2016-07-25 15:12:58 +02:00
|
|
|
%endif
|
|
|
|
%if %{with faad}
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: libfaad2-devel
|
2016-07-25 15:12:58 +02:00
|
|
|
%endif
|
|
|
|
%if %{with x264}
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: libx264-devel
|
|
|
|
%endif
|
2017-03-27 13:57:02 +02:00
|
|
|
%endif
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
A library for reading and writing Quicktime movie files, based on and
|
|
|
|
forked from quicktime4linux.
|
|
|
|
|
2017-03-27 13:57:02 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
%package orig-addon
|
|
|
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
|
|
|
Group: System/Libraries
|
2017-11-30 11:23:56 +01:00
|
|
|
Requires: %{name}
|
2017-03-27 13:57:02 +02:00
|
|
|
|
|
|
|
%description orig-addon
|
|
|
|
A library for reading and writing Quicktime movie files, based on and
|
|
|
|
forked from quicktime4linux.
|
|
|
|
%endif
|
|
|
|
|
2017-02-19 05:34:57 +01:00
|
|
|
%package -n %{name}%{sover}
|
2011-04-28 22:38:49 +02:00
|
|
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
2017-02-19 05:34:57 +01:00
|
|
|
Group: System/Libraries
|
2011-04-28 22:38:49 +02:00
|
|
|
|
2017-02-19 05:34:57 +01:00
|
|
|
%description -n %{name}%{sover}
|
2011-04-28 22:38:49 +02:00
|
|
|
A library for reading and writing Quicktime movie files, based on and
|
|
|
|
forked from quicktime4linux.
|
|
|
|
|
|
|
|
%package -n libquicktime-devel
|
2009-06-20 02:54:57 +02:00
|
|
|
Summary: Library for reading/writing quicktime movie files
|
2011-04-28 22:38:49 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-03-27 13:57:02 +02:00
|
|
|
Requires: %{name} = %{version}
|
2017-02-19 05:34:57 +01:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2017-03-27 13:57:02 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
Requires: %{name}-orig-addon = %{version}
|
|
|
|
%endif
|
2011-04-28 22:38:49 +02:00
|
|
|
|
|
|
|
%description -n libquicktime-devel
|
2007-01-16 00:23:03 +01:00
|
|
|
library for reading/writing quicktime movie files, based on and forked
|
|
|
|
from quicktime4linux
|
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%package -n libquicktime-tools
|
|
|
|
Summary: Libquicktime Tools
|
|
|
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
2017-03-27 13:57:02 +02:00
|
|
|
Requires: %{name} = %{version}
|
2017-02-19 05:34:57 +01:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2017-03-27 13:57:02 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
Requires: %{name}-orig-addon = %{version}
|
|
|
|
%endif
|
2011-04-28 22:38:49 +02:00
|
|
|
|
|
|
|
%description -n libquicktime-tools
|
|
|
|
Tools for reading/writing quicktime movie files.
|
|
|
|
|
2017-03-27 13:57:02 +02:00
|
|
|
%lang_package
|
|
|
|
|
2007-01-16 00:23:03 +01:00
|
|
|
%prep
|
2015-02-27 15:46:15 +01:00
|
|
|
%setup -q -n %{name}
|
2016-02-17 14:42:37 +01:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2017-02-14 16:01:54 +01:00
|
|
|
%patch2 -p1
|
2017-06-28 09:16:27 +02:00
|
|
|
%patch3 -p1
|
2015-02-27 15:46:15 +01:00
|
|
|
|
2011-06-25 01:34:20 +02:00
|
|
|
# Replace licence with wrong FSF address
|
2015-12-11 13:43:35 +01:00
|
|
|
cp -v %{SOURCE1} .
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%build
|
2014-05-28 18:23:37 +02:00
|
|
|
echo 'HTML_TIMESTAMP=NO' >> doc/Doxyfile.in
|
2015-02-27 15:46:15 +01:00
|
|
|
./autogen.sh
|
2011-04-28 22:38:49 +02:00
|
|
|
%configure \
|
|
|
|
--enable-gpl \
|
|
|
|
--docdir="%{_docdir}/%{name}-devel" \
|
|
|
|
--with-libdv \
|
2017-11-04 22:24:56 +01:00
|
|
|
--with-cpuflags=none \
|
|
|
|
--without-gtk
|
2010-12-02 10:23:10 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%install
|
2015-12-11 13:43:35 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2011-04-28 22:38:49 +02:00
|
|
|
ln -s lqt "%{buildroot}%{_includedir}/quicktime"
|
2017-03-27 13:57:02 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2015-12-11 13:43:35 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2017-02-19 05:34:57 +01:00
|
|
|
%post -n libquicktime%{sover} -p /sbin/ldconfig
|
2011-05-20 15:00:01 +02:00
|
|
|
|
2017-02-19 05:34:57 +01:00
|
|
|
%postun -n libquicktime%{sover} -p /sbin/ldconfig
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2017-03-27 13:57:02 +02:00
|
|
|
%files
|
2011-04-28 22:38:49 +02:00
|
|
|
%defattr(0644,root,root,0755)
|
2017-03-27 13:57:02 +02:00
|
|
|
%doc ChangeLog README TODO
|
2007-01-16 00:23:03 +01:00
|
|
|
%dir %{_libdir}/libquicktime
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_audiocodec.so
|
|
|
|
%{_libdir}/libquicktime/lqt_dv.so
|
2017-08-25 10:36:03 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_lame.so
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_mjpeg.so
|
|
|
|
%{_libdir}/libquicktime/lqt_png.so
|
|
|
|
%{_libdir}/libquicktime/lqt_rtjpeg.so
|
|
|
|
%{_libdir}/libquicktime/lqt_schroedinger.so
|
|
|
|
%{_libdir}/libquicktime/lqt_videocodec.so
|
|
|
|
%{_libdir}/libquicktime/lqt_vorbis.so
|
2015-12-11 13:43:35 +01:00
|
|
|
%{_libdir}/libquicktime/lqt_ffmpeg.so
|
2017-03-27 13:57:02 +02:00
|
|
|
|
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
%files orig-addon
|
|
|
|
%defattr(0644,root,root,0755)
|
2016-07-25 15:12:58 +02:00
|
|
|
%if %{with faac}
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_faac.so
|
2016-07-25 15:12:58 +02:00
|
|
|
%endif
|
|
|
|
%if %{with faad}
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_faad2.so
|
2016-07-25 15:12:58 +02:00
|
|
|
%endif
|
|
|
|
%if %{with x264}
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_x264.so
|
|
|
|
%endif
|
2017-03-27 13:57:02 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%files -n libquicktime%{sover}
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libquicktime.so.%{sover}
|
|
|
|
%{_libdir}/libquicktime.so.%{sover}.*.*
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%files -n libquicktime-devel
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc %{_docdir}/%{name}-devel
|
|
|
|
%{_includedir}/lqt
|
2007-05-04 17:26:37 +02:00
|
|
|
%{_includedir}/quicktime
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime.so
|
2007-01-16 00:23:03 +01:00
|
|
|
%{_libdir}/pkgconfig/libquicktime.pc
|
2007-05-04 17:26:37 +02:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%files -n libquicktime-tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/lqt_transcode
|
|
|
|
%{_bindir}/lqtplay
|
|
|
|
%{_bindir}/lqtremux
|
|
|
|
%{_bindir}/qt2text
|
|
|
|
%{_bindir}/qtdechunk
|
|
|
|
%{_bindir}/qtdump
|
|
|
|
%{_bindir}/qtinfo
|
|
|
|
%{_bindir}/qtrechunk
|
|
|
|
%{_bindir}/qtstreamize
|
|
|
|
%{_bindir}/qtyuv4toyuv
|
2015-12-11 13:43:35 +01:00
|
|
|
%{_mandir}/man1/lqtplay.1%{ext_man}
|
2011-06-27 11:28:11 +02:00
|
|
|
|
2017-03-27 13:57:02 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
2011-05-20 15:00:01 +02:00
|
|
|
%changelog
|