2007-01-16 00:23:03 +01:00
|
|
|
#
|
2010-11-09 16:29:43 +01:00
|
|
|
# spec file for package libquicktime (Version 1.1.5)
|
2007-01-16 00:23:03 +01:00
|
|
|
#
|
2010-01-08 09:34:25 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:03 +01:00
|
|
|
#
|
2009-01-22 13:12:57 +01: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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-20 15:07:10 +02:00
|
|
|
|
2007-01-16 00:23:03 +01:00
|
|
|
Name: libquicktime
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: alsa-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: libavc1394-devel
|
|
|
|
BuildRequires: libdv-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
BuildRequires: dirac-devel
|
|
|
|
BuildRequires: sed
|
2008-07-17 22:59:22 +02:00
|
|
|
BuildRequires: fdupes
|
2007-01-16 00:23:03 +01:00
|
|
|
%define DISTRIBUTABLE 1
|
2010-01-08 09:34:25 +01:00
|
|
|
License: LGPLv2.1+
|
2009-03-09 00:21:37 +01:00
|
|
|
Group: Development/Languages/C and C++
|
2008-04-20 15:07:10 +02:00
|
|
|
AutoReqProv: on
|
2010-11-09 16:29:43 +01:00
|
|
|
Version: 1.1.5
|
2010-11-10 18:37:54 +01:00
|
|
|
Release: 6
|
2008-04-20 15:07:10 +02:00
|
|
|
Url: http://libquicktime.sf.net
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2009-03-09 00:21:37 +01:00
|
|
|
Patch1: %{name}-1.0.3-dont_disable_deprecated.patch
|
2010-11-09 16:29:43 +01:00
|
|
|
Patch2: libquicktime-jpeg7.patch
|
2007-01-16 00:23:03 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: A Library for Reading and Writing Quicktime Movie Files
|
|
|
|
Provides: quicktime4linux
|
|
|
|
Obsoletes: quicktime4linux
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library for reading and writing Quicktime movie files, based on and
|
|
|
|
forked from quicktime4linux.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-20 15:07:10 +02:00
|
|
|
%package devel
|
2010-01-08 09:34:25 +01:00
|
|
|
License: GPLv2+
|
2009-06-20 02:54:57 +02:00
|
|
|
Summary: Library for reading/writing quicktime movie files
|
2007-01-16 00:23:03 +01:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Provides: quicktime4linux-devel
|
|
|
|
Obsoletes: quicktime4linux-devel
|
|
|
|
Requires: %{name} = %{version}
|
2007-05-13 16:51:13 +02:00
|
|
|
Requires: glibc-devel, zlib-devel, libavc1394-devel, libdv-devel
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
library for reading/writing quicktime movie files, based on and forked
|
|
|
|
from quicktime4linux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-05-04 17:26:37 +02:00
|
|
|
# fix brokem links in API docs
|
2008-04-20 15:07:10 +02:00
|
|
|
sed -r 's/"(building|codecs|index|license|opening|positioning|reading|util|writing).html/"qt4l_&/' -i `find doc -type f`
|
2007-07-28 16:28:02 +02:00
|
|
|
%patch1 -p1
|
2010-11-09 16:29:43 +01:00
|
|
|
%patch2 -p0
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%build
|
2009-01-22 13:12:57 +01:00
|
|
|
autoreconf -f -i -v
|
|
|
|
%configure --with-pic \
|
2008-07-17 22:59:22 +02:00
|
|
|
--docdir=%{_defaultdocdir}/%{name}-devel \
|
|
|
|
--htmldir=%{_defaultdocdir}/%{name}-devel/html \
|
|
|
|
--enable-gpl \
|
2007-05-04 17:26:37 +02:00
|
|
|
%if %DISTRIBUTABLE
|
2008-07-17 22:59:22 +02:00
|
|
|
--without-faac \
|
|
|
|
--without-faad2 \
|
|
|
|
--without-ffmpeg \
|
|
|
|
--without-lame \
|
|
|
|
--without-x264 \
|
2007-05-04 17:26:37 +02:00
|
|
|
%endif
|
2008-07-17 22:59:22 +02:00
|
|
|
--disable-static
|
2009-01-22 13:12:57 +01:00
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="%{buildroot}" install
|
|
|
|
ln -s lqt %{buildroot}/usr/include/quicktime
|
2009-01-22 13:12:57 +01:00
|
|
|
%find_lang %{name}
|
|
|
|
find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
|
2008-04-20 15:07:10 +02:00
|
|
|
%fdupes "%{buildroot}"
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "%{buildroot}"
|
|
|
|
|
2007-05-04 17:26:37 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2007-05-04 17:26:37 +02:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:23:03 +01:00
|
|
|
|
2009-01-22 13:12:57 +01:00
|
|
|
%files -f %{name}.lang
|
2007-01-16 00:23:03 +01:00
|
|
|
%defattr(-, root, root)
|
2007-05-04 17:26:37 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
%exclude %{_bindir}/lqt-config
|
2007-01-16 00:23:03 +01:00
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%dir %{_libdir}/libquicktime
|
|
|
|
%{_libdir}/libquicktime/lqt_*.so
|
|
|
|
%{_mandir}/man1/*
|
2007-05-04 17:26:37 +02:00
|
|
|
%doc ChangeLog COPYING
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2007-05-04 17:26:37 +02:00
|
|
|
%{_bindir}/lqt-config
|
|
|
|
%dir %{_includedir}/lqt
|
|
|
|
%{_includedir}/lqt/*.h
|
|
|
|
%{_includedir}/quicktime
|
2007-01-16 00:23:03 +01:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/libquicktime.pc
|
2007-05-04 17:26:37 +02:00
|
|
|
%{_datadir}/aclocal/lqt.m4
|
2008-07-17 22:59:22 +02:00
|
|
|
%doc %{_defaultdocdir}/%{name}-devel
|
2007-05-04 17:26:37 +02:00
|
|
|
|
|
|
|
%changelog
|