SHA256
1
0
forked from pool/libquicktime
libquicktime/libquicktime.spec

189 lines
5.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libquicktime (Version 1.0.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
BuildRequires: alsa-devel gtk2-devel libavc1394-devel libdv-devel libjpeg-devel libvorbis-devel sed
%define DISTRIBUTABLE 1
License: GNU General Public License (GPL)
Group: Development/Libraries/Other
Autoreqprov: on
Version: 1.0.0
Release: 1
URL: http://libquicktime.sf.net
Source0: %{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-arrayoverflow.patch
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}
Requires: glibc-devel, zlib-devel, libavc1394-devel, libraw1394-devel, libdv-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 doc/*
%patch0 -p0
%build
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--enable-gpl \
%if %DISTRIBUTABLE
--without-lame --without-faad2 --without-faac \
--without-x264 --without-ffmpeg \
%endif
--disable-static --htmldir=/usr/html
make
%install
make DESTDIR="%{buildroot}" install
ln -s lqt %{buildroot}/usr/include/quicktime
%clean
rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_bindir}/*
%exclude %{_bindir}/lqt-config
%{_libdir}/lib*.so.*
%dir %{_libdir}/libquicktime
%{_libdir}/libquicktime/lqt_*.so
%{_mandir}/man1/*
%{_datadir}/locale/de/LC_MESSAGES/libquicktime.mo
%doc ChangeLog COPYING
%files devel
%defattr(-, root, root)
%{_bindir}/lqt-config
%dir %{_includedir}/lqt
%{_includedir}/lqt/*.h
%{_includedir}/quicktime
%attr(644,root,root) %{_libdir}/lib*.la
%attr(644,root,root) %{_libdir}/libquicktime/lqt_*.la
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/libquicktime.pc
%{_datadir}/aclocal/lqt.m4
%doc doc/*.html doc/*.txt
%changelog
* Fri May 04 2007 - pcerny@suse.cz
- update to 1.0.0 which is considered final wrt functionality
- .spec file cleanup
- fixed #218037
* 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.