2007-01-16 00:23:03 +01:00
|
|
|
#
|
2010-12-02 10:23:10 +01:00
|
|
|
# spec file for package libquicktime (Version 1.2.0)
|
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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-20 15:07:10 +02:00
|
|
|
|
2007-01-16 00:23:03 +01:00
|
|
|
Name: libquicktime
|
2010-12-02 10:23:10 +01:00
|
|
|
Version: 1.2.0
|
|
|
|
Release: 6
|
|
|
|
%define DISTRIBUTABLE 1
|
|
|
|
License: LGPLv2.1+
|
|
|
|
Summary: A Library for Reading and Writing Quicktime Movie Files
|
|
|
|
Url: http://libquicktime.sf.net
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
|
|
|
|
Patch1: %{name}-1.0.3-dont_disable_deprecated.patch
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: alsa-devel
|
2010-12-02 10:23:10 +01:00
|
|
|
BuildRequires: dirac-devel
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: doxygen
|
2010-12-02 10:23:10 +01:00
|
|
|
BuildRequires: fdupes
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: libavc1394-devel
|
|
|
|
BuildRequires: libdv-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
2010-12-02 10:23:10 +01:00
|
|
|
BuildRequires: gtk2-devel
|
2009-06-20 02:54:57 +02:00
|
|
|
BuildRequires: sed
|
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.
|
|
|
|
|
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
|
2010-12-02 10:23:10 +01:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: glibc-devel,
|
|
|
|
Requires: libavc1394-devel,
|
|
|
|
Requires: libdv-devel
|
|
|
|
Requires: zlib-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
|
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
|
2010-12-02 10:23:10 +01:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%install
|
2010-12-02 10:23:10 +01:00
|
|
|
%make_install
|
|
|
|
ln -s lqt %{buildroot}%{_includedir}/quicktime
|
2009-01-22 13:12:57 +01:00
|
|
|
%find_lang %{name}
|
2010-12-02 10:23:10 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%clean
|
2010-12-02 10:23:10 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:23:03 +01:00
|
|
|
|
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}/*
|
2010-12-02 10:23:10 +01:00
|
|
|
%exclude %{_bindir}/libquicktime_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)
|
2010-12-02 10:23:10 +01:00
|
|
|
%{_bindir}/libquicktime_config
|
2007-05-04 17:26:37 +02:00
|
|
|
%dir %{_includedir}/lqt
|
|
|
|
%{_includedir}/lqt/*.h
|
|
|
|
%{_includedir}/quicktime
|
2007-01-16 00:23:03 +01:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/libquicktime.pc
|
2008-07-17 22:59:22 +02:00
|
|
|
%doc %{_defaultdocdir}/%{name}-devel
|
2007-05-04 17:26:37 +02:00
|
|
|
|
|
|
|
%changelog
|