# # spec file for package libquicktime (Version 1.2.0) # # Copyright (c) 2010 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libquicktime 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 BuildRequires: alsa-devel BuildRequires: dirac-devel BuildRequires: doxygen BuildRequires: fdupes BuildRequires: libavc1394-devel BuildRequires: libdv-devel BuildRequires: libjpeg-devel BuildRequires: libvorbis-devel BuildRequires: gtk2-devel BuildRequires: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A library for reading and writing Quicktime movie files, based on and forked from quicktime4linux. %package devel License: GPLv2+ Summary: Library for reading/writing quicktime movie files Group: Development/Libraries/Other Requires: %{name} = %{version} Requires: glibc-devel, Requires: libavc1394-devel, Requires: libdv-devel Requires: zlib-devel, %description devel library for reading/writing quicktime movie files, based on and forked from quicktime4linux %prep %setup -q # fix brokem links in API docs sed -r 's/"(building|codecs|index|license|opening|positioning|reading|util|writing).html/"qt4l_&/' -i `find doc -type f` %patch1 -p1 %build autoreconf -f -i -v %configure --with-pic \ --docdir=%{_defaultdocdir}/%{name}-devel \ --htmldir=%{_defaultdocdir}/%{name}-devel/html \ --enable-gpl \ %if %DISTRIBUTABLE --without-faac \ --without-faad2 \ --without-ffmpeg \ --without-lame \ --without-x264 \ %endif --disable-static make %{?_smp_mflags} %install %make_install ln -s lqt %{buildroot}%{_includedir}/quicktime %find_lang %{name} find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot} %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-, root, root) %{_bindir}/* %exclude %{_bindir}/libquicktime_config %{_libdir}/lib*.so.* %dir %{_libdir}/libquicktime %{_libdir}/libquicktime/lqt_*.so %{_mandir}/man1/* %doc ChangeLog COPYING %files devel %defattr(-, root, root) %{_bindir}/libquicktime_config %dir %{_includedir}/lqt %{_includedir}/lqt/*.h %{_includedir}/quicktime %{_libdir}/lib*.so %{_libdir}/pkgconfig/libquicktime.pc %doc %{_defaultdocdir}/%{name}-devel %changelog