2007-01-16 00:23:03 +01:00
|
|
|
#
|
2007-05-04 17:26:37 +02:00
|
|
|
# spec file for package libquicktime (Version 1.0.0)
|
2007-01-16 00:23:03 +01:00
|
|
|
#
|
2007-05-04 17:26:37 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:23:03 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: libquicktime
|
2007-07-28 16:28:02 +02:00
|
|
|
BuildRequires: alsa-devel fdupes gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel sed
|
2007-01-16 00:23:03 +01:00
|
|
|
%define DISTRIBUTABLE 1
|
2007-07-28 16:28:02 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:23:03 +01:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Autoreqprov: on
|
2007-05-04 17:26:37 +02:00
|
|
|
Version: 1.0.0
|
2007-07-28 16:28:02 +02:00
|
|
|
Release: 30
|
2007-01-16 00:23:03 +01:00
|
|
|
URL: http://libquicktime.sf.net
|
2007-05-04 17:26:37 +02:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Patch0: %{name}-%{version}-arrayoverflow.patch
|
2007-07-28 16:28:02 +02:00
|
|
|
Patch1: dont-disable-deprecated.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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: library for reading/writing quicktime movie files
|
|
|
|
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
|
|
|
|
sed -r "s/(building|codecs|index|license|opening|positioning|reading|util|writing).html/qt4l_&/" -i doc/*
|
|
|
|
%patch0 -p0
|
2007-07-28 16:28:02 +02:00
|
|
|
%patch1 -p1
|
2007-01-16 00:23:03 +01:00
|
|
|
|
|
|
|
%build
|
2007-07-28 16:28:02 +02:00
|
|
|
autoreconf -f -i
|
2007-05-09 20:04:31 +02:00
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
2007-05-04 17:26:37 +02:00
|
|
|
./configure --prefix=%{_prefix} \
|
|
|
|
--bindir=%{_bindir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--mandir=%{_mandir} \
|
|
|
|
--enable-gpl \
|
|
|
|
%if %DISTRIBUTABLE
|
|
|
|
--without-lame --without-faad2 --without-faac \
|
|
|
|
--without-x264 --without-ffmpeg \
|
|
|
|
%endif
|
2007-05-09 20:04:31 +02:00
|
|
|
--disable-static --htmldir=%{_prefix}/html
|
2007-01-16 00:23:03 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR="%{buildroot}" install
|
|
|
|
ln -s lqt %{buildroot}/usr/include/quicktime
|
2007-07-28 16:28:02 +02:00
|
|
|
%if %suse_version > 1020
|
|
|
|
|
|
|
|
%fdupes $RPM_BUILD_ROOT
|
|
|
|
%endif
|
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
|
|
|
|
|
|
|
%files
|
|
|
|
%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
|
|
|
%{_datadir}/locale/de/LC_MESSAGES/libquicktime.mo
|
|
|
|
%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
|
|
|
%attr(644,root,root) %{_libdir}/lib*.la
|
2007-05-04 17:26:37 +02:00
|
|
|
%attr(644,root,root) %{_libdir}/libquicktime/lqt_*.la
|
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
|
|
|
|
%doc doc/*.html doc/*.txt
|
|
|
|
|
|
|
|
%changelog
|
2007-07-28 16:28:02 +02:00
|
|
|
* Fri Jul 27 2007 - maw@suse.de
|
|
|
|
- Add dont-disable-deprecated.patch
|
|
|
|
- Use %%fdupes.
|
2007-05-13 16:51:13 +02:00
|
|
|
* Sat May 12 2007 - olh@suse.de
|
|
|
|
- remove unneded Requires libraw1394-devel
|
2007-05-09 20:04:31 +02:00
|
|
|
* Wed May 09 2007 - pcerny@suse.cz
|
|
|
|
- minor .spec file changes (%%suse_update_config)
|
2007-05-04 17:26:37 +02:00
|
|
|
* Fri May 04 2007 - pcerny@suse.cz
|
|
|
|
- update to 1.0.0 which is considered final wrt functionality
|
|
|
|
- .spec file cleanup
|
|
|
|
- fixed #218037
|
2007-01-16 00:23:03 +01:00
|
|
|
* Tue Oct 10 2006 - pnemec@suse.cz
|
|
|
|
- updated to 0.9.10
|
|
|
|
Read/Write support for: DVCPRO50 video, OpenDML AVIs, mp4/m4a files
|
|
|
|
and Quicktime 7 lpcm audio
|
|
|
|
H.264 encoding using x264.
|
|
|
|
Improved compatibility with players: Quicktime 7, WMP, Divx player
|
|
|
|
see http://libquicktime.sourceforge.net/ for detailed changelog
|
|
|
|
- minor changes in patch -mjpeg_def_huffman.diff and legal.diff
|
|
|
|
* Fri Feb 10 2006 - bk@suse.de
|
|
|
|
- fix optimisation (used P4 insns!) and force using RPM_OPT_FLAGS
|
|
|
|
- fix firewire support (libdv-devel was splitted from libdv)
|
|
|
|
- remove the forced backout of MMX instructions (obsolete)
|
|
|
|
- don't include unused libquicktime-cflags.diff
|
|
|
|
* Sat Feb 04 2006 - aj@suse.de
|
|
|
|
- Reduce BuildRequires.
|
|
|
|
* Sun Jan 29 2006 - aj@suse.de
|
|
|
|
- Fix BuildRequires.
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Thu Sep 15 2005 - jw@suse.de
|
|
|
|
- added support for mjpeg files without
|
|
|
|
huffman tables.
|
|
|
|
* Fri Jul 29 2005 - kraxel@suse.de
|
|
|
|
- fix -devel package dependencies.
|
|
|
|
* Fri Jul 29 2005 - kraxel@suse.de
|
|
|
|
- add backward compatibility symlink to the new include file location.
|
|
|
|
* Thu Jul 28 2005 - kraxel@suse.de
|
|
|
|
- update to 0.9.7.
|
|
|
|
* Mon Apr 18 2005 - ro@suse.de
|
|
|
|
- make it build with gcc-4
|
|
|
|
* Thu Jan 13 2005 - kraxel@suse.de
|
|
|
|
- update to 0.9.4.
|
|
|
|
* Tue Aug 17 2004 - kraxel@suse.de
|
|
|
|
- update to 0.9.3.
|
|
|
|
* Thu Apr 22 2004 - kraxel@suse.de
|
|
|
|
- fix compiler warnings.
|
|
|
|
* Wed Feb 11 2004 - kraxel@suse.de
|
|
|
|
- update to version 0.9.2.
|
|
|
|
* Sat Jan 10 2004 - adrian@suse.de
|
|
|
|
- add %%run_dconfig
|
|
|
|
- -devel package requires glibc-devel now
|
|
|
|
* Fri Jul 25 2003 - kraxel@suse.de
|
|
|
|
- more cflags fixes, also builds on ppc now ...
|
|
|
|
* Wed Jul 23 2003 - kraxel@suse.de
|
|
|
|
- play with cflags to make thing build on all archs.
|
|
|
|
* Mon Jun 16 2003 - kukuk@suse.de
|
|
|
|
- More filelist fixes
|
|
|
|
* Thu Jun 12 2003 - kukuk@suse.de
|
|
|
|
- Add missing directory to filelist
|
|
|
|
- *.la file should be mode 644
|
|
|
|
* Fri May 16 2003 - ro@suse.de
|
|
|
|
- fix build with current libtool
|
|
|
|
* Mon Aug 12 2002 - kraxel@suse.de
|
|
|
|
- fixed Requires: for the -devel package.
|
|
|
|
* Wed Jul 31 2002 - kraxel@suse.de
|
|
|
|
- fixed plugin path lookup for lib64.
|
|
|
|
* Fri Jul 26 2002 - adrian@suse.de
|
|
|
|
- fix neededforbuild
|
|
|
|
* Mon Jul 15 2002 - kraxel@suse.de
|
|
|
|
- fixed permission issues with fix-libtool script.
|
|
|
|
* Wed Jul 10 2002 - uli@suse.de
|
|
|
|
- forgot to re-enable %%clean section
|
|
|
|
* Wed Jul 10 2002 - uli@suse.de
|
|
|
|
- replace "SDL SDL-devel" with "SDL-devel-packages" in neededforbuild
|
|
|
|
(fixes libdv detection)
|
|
|
|
- fixed MMX detection, then disabled it :) (no runtime detection)
|
|
|
|
- added DISTRIBUTABLE flag to facilitate full-featured rebuild
|
|
|
|
* Thu Jun 27 2002 - kraxel@suse.de
|
|
|
|
- fixed neededforbuild.
|
|
|
|
* Mon Jun 24 2002 - kraxel@suse.de
|
|
|
|
- updated to version 0.9.1
|
|
|
|
* Mon Jun 24 2002 - ro@suse.de
|
|
|
|
- run full autoreconf to also get shared lib on x86_64
|
|
|
|
* Fri Jun 21 2002 - ro@suse.de
|
|
|
|
- run libtoolize to build also on archs that are
|
|
|
|
younger than a decade
|
|
|
|
* Thu Jun 20 2002 - kraxel@suse.de
|
|
|
|
- fixed build problems by using $RPM_OPT_FLAGS
|
|
|
|
- disabled divx codec (divx/mpeg4 is patent minefield, sorry folks ...).
|
|
|
|
* Mon Jun 17 2002 - kraxel@suse.de
|
|
|
|
- initial release.
|