2007-01-16 00:23:03 +01:00
|
|
|
#
|
2011-05-20 15:00:01 +02:00
|
|
|
# spec file for package libquicktime
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%define soname 0
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
Name: libquicktime
|
2011-07-22 11:16:14 +02:00
|
|
|
Version: 1.2.3
|
2011-06-27 11:28:11 +02:00
|
|
|
Release: 8
|
2011-06-26 04:37:55 +02:00
|
|
|
#to_be_filled_by_service
|
2011-04-28 22:38:49 +02:00
|
|
|
License: GNU General Public License version 2 or later (GPL v2 or later)
|
|
|
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
2010-12-02 10:23:10 +01:00
|
|
|
Url: http://libquicktime.sf.net
|
2011-04-28 22:38:49 +02:00
|
|
|
Group: System/Libraries
|
2011-06-25 00:03:07 +02:00
|
|
|
# http://prdownloads.sourceforge.net/libquicktime/libquicktime-%%{version}.tar.gz
|
2011-06-25 01:34:20 +02:00
|
|
|
Source0: http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz
|
|
|
|
Source1: COPYING
|
2011-05-19 07:21:47 +02:00
|
|
|
Patch0: %{name}-1.2.2-dont_disable_deprecated.patch
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: Mesa-devel
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: doxygen
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: gtk2-devel
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: libdv-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: schroedinger-devel
|
2011-06-25 00:03:07 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: libfaac-devel
|
|
|
|
BuildRequires: libfaad2-devel
|
2011-06-25 02:58:30 +02:00
|
|
|
BuildRequires: libffmpeg_oldabi-devel
|
2011-04-28 22:38:49 +02:00
|
|
|
BuildRequires: libmp3lame-devel
|
|
|
|
BuildRequires: libx264-devel
|
|
|
|
%endif
|
2007-01-16 00:23:03 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library for reading and writing Quicktime movie files, based on and
|
|
|
|
forked from quicktime4linux.
|
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%package -n %{name}%{soname}
|
2011-05-20 15:00:01 +02:00
|
|
|
|
2011-06-27 11:28:11 +02:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
Summary: Library for Reading and Writing Quicktime Movie Files
|
|
|
|
Group: System/Libraries
|
|
|
|
# Last version with this name was openSUSE 11.4
|
2011-06-25 01:34:20 +02:00
|
|
|
Provides: libquicktime = %{version}-%{release}
|
2011-04-28 22:38:49 +02:00
|
|
|
Obsoletes: libquicktime <= 1.2.2
|
|
|
|
|
|
|
|
%description -n %{name}%{soname}
|
|
|
|
A library for reading and writing Quicktime movie files, based on and
|
|
|
|
forked from quicktime4linux.
|
|
|
|
|
|
|
|
%package -n libquicktime-devel
|
2011-05-20 15:00:01 +02:00
|
|
|
|
2011-06-27 11:28:11 +02:00
|
|
|
|
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++
|
|
|
|
Requires: %{name}%{soname} = %{version}
|
|
|
|
|
|
|
|
%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
|
2011-05-20 15:00:01 +02:00
|
|
|
|
2011-06-27 11:28:11 +02:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
Summary: Libquicktime Tools
|
|
|
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
|
|
|
Requires: %{name}%{soname} = %{version}
|
|
|
|
|
|
|
|
%description -n libquicktime-tools
|
|
|
|
Tools for reading/writing quicktime movie files.
|
|
|
|
|
2007-01-16 00:23:03 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-05-19 07:21:47 +02:00
|
|
|
%patch0
|
2011-06-25 01:34:20 +02:00
|
|
|
# Replace licence with wrong FSF address
|
|
|
|
cp -v %{S:1} .
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%build
|
2011-04-28 22:38:49 +02:00
|
|
|
%configure \
|
|
|
|
--enable-gpl \
|
|
|
|
--docdir="%{_docdir}/%{name}-devel" \
|
|
|
|
--with-libdv \
|
|
|
|
--with-cpuflags=none
|
2010-12-02 10:23:10 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%install
|
2011-04-28 22:38:49 +02:00
|
|
|
%makeinstall
|
|
|
|
ln -s lqt "%{buildroot}%{_includedir}/quicktime"
|
|
|
|
%find_lang libquicktime
|
|
|
|
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%clean
|
2011-04-28 22:38:49 +02:00
|
|
|
%{?buildroot:rm -rf %{buildroot}}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%post -n libquicktime%{soname} -p /sbin/ldconfig
|
2011-05-20 15:00:01 +02:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%postun -n libquicktime%{soname} -p /sbin/ldconfig
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2011-04-28 22:38:49 +02:00
|
|
|
%files -n libquicktime%{soname} -f libquicktime.lang
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%doc COPYING ChangeLog README TODO
|
|
|
|
%{_libdir}/libquicktime.so.%{soname}
|
|
|
|
%{_libdir}/libquicktime.so.%{soname}.*.*
|
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
|
|
|
|
%{_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
|
2011-06-25 00:03:07 +02:00
|
|
|
%if 0%{?BUILD_ORIG}
|
2011-04-28 22:38:49 +02:00
|
|
|
%{_libdir}/libquicktime/lqt_faac.so
|
|
|
|
%{_libdir}/libquicktime/lqt_faad2.so
|
|
|
|
%{_libdir}/libquicktime/lqt_ffmpeg.so
|
|
|
|
%{_libdir}/libquicktime/lqt_lame.so
|
|
|
|
%{_libdir}/libquicktime/lqt_x264.so
|
|
|
|
%endif
|
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}/libquicktime_config
|
|
|
|
%{_bindir}/lqt_transcode
|
|
|
|
%{_bindir}/lqtplay
|
|
|
|
%{_bindir}/lqtremux
|
|
|
|
%{_bindir}/qt2text
|
|
|
|
%{_bindir}/qtdechunk
|
|
|
|
%{_bindir}/qtdump
|
|
|
|
%{_bindir}/qtinfo
|
|
|
|
%{_bindir}/qtrechunk
|
|
|
|
%{_bindir}/qtstreamize
|
|
|
|
%{_bindir}/qtyuv4toyuv
|
|
|
|
%doc %{_mandir}/man1/lqtplay.1%{ext_man}
|
2011-06-27 11:28:11 +02:00
|
|
|
|
2011-05-20 15:00:01 +02:00
|
|
|
%changelog
|