libquicktime/libquicktime.spec

229 lines
7.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: libquicktime
Version: 1.2.4
Release: 1mamba
Summary: Library for reading and writing quicktime files
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://libquicktime.sourceforge.net/
Source: http://downloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz
Patch0: %{name}-1.1.3-x264.patch
Patch1: %{name}-1.2.1-gtk-2.22.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: liba52dec-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdc1394-devel
BuildRequires: libdv-devel
BuildRequires: libfaac-devel
BuildRequires: libfaad2-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: liblame-devel
BuildRequires: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libraw1394-devel
BuildRequires: libSM-devel
BuildRequires: libtheora-devel
BuildRequires: libvorbis-devel
BuildRequires: libX11-devel
BuildRequires: libx264-devel
BuildRequires: libXaw-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libXv-devel
BuildRequires: libxvidcore-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libschroedinger-devel
BuildRequires: libavcodec-devel
BuildRequires: libavc1394-devel >= 0.4.1
BuildRequires: pkgconfig >= 0.15.0
BuildRequires: libGLU-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libquicktime is a library for reading and writing QuickTime files on UNIX systems.
Video CODECs supported by this library are OpenDivX, MJPA, JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression.
Supported audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format.
Libquicktime is based on the quicktime4linux library.
Libquicktime add features such as a GNU build tools-based build process and dynamically loadable CODECs.
%package devel
Summary: Static libraries and headers for %{libname}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libquicktime is a library for reading and writing QuickTime files on UNIX systems.
Video CODECs supported by this library are OpenDivX, MJPA, JPEG Photo, PNG, RGB, YUV 4:2:2, and YUV 4:2:0 compression.
Supported audio CODECs are Ogg Vorbis, IMA4, ulaw, and any linear PCM format.
Libquicktime is based on the quicktime4linux library.
Libquicktime add features such as a GNU build tools-based build process and dynamically loadable CODECs.
This package contains static libraries and header files need for development.
%package tools
Summary: Useful tools to operate on QuickTime files
Group: Applications/Multimedia
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Useful tools to operate on QuickTime files.
%prep
%setup -q
#%patch0 -p0
#%patch1 -p1
%build
%configure \
--enable-static \
--with-cpuflags="%{optflags}" \
--with-pic \
--enable-gpl \
LIBSWSCALE_CFLAGS="-I%{_includedir}/ffmpeg"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
# Create a compatibility symlink
ln -s lqt %{buildroot}%{_includedir}/quicktime
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-, root, root)
%{_libdir}/libquicktime.so.*
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/lqt_audiocodec.so
#%{_libdir}/%{name}/lqt_dv.so
%{_libdir}/%{name}/lqt_faac.so
%{_libdir}/%{name}/lqt_faad2.so
%{_libdir}/%{name}/lqt_ffmpeg.so
%{_libdir}/%{name}/lqt_lame.so
%{_libdir}/%{name}/lqt_mjpeg.so
%{_libdir}/%{name}/lqt_png.so
%{_libdir}/%{name}/lqt_rtjpeg.so
%{_libdir}/%{name}/lqt_schroedinger.so
%{_libdir}/%{name}/lqt_videocodec.so
%{_libdir}/%{name}/lqt_vorbis.so
%{_libdir}/%{name}/lqt_x264.so
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%files devel
%defattr(-, root, root)
#%{_bindir}/lqt-config
#%{_datadir}/aclocal/*.m4
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/%{name}/*.a
%{_libdir}/%{name}/*.la
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/doc/libquicktime/apiref/*
%files tools
%defattr(-, root, root)
%{_bindir}/%{name}_config
%{_bindir}/lqtplay
%{_bindir}/lqtremux
%{_bindir}/lqt_transcode
%{_bindir}/qt*
%{_mandir}/man1/*
%changelog
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
- automatic version update by autodist
* Fri Dec 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-2mamba
- rebuilt with ffmpeg 0.8.7
* Fri Aug 05 2011 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Wed Feb 23 2011 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic update by autodist
* Mon Dec 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 1.1.5-1mamba
- automatic update by autodist
* Mon Mar 08 2010 Automatic Build System <autodist@mambasoft.it> 1.1.3-5mamba
- automatic rebuild by autodist
* Wed Nov 25 2009 Automatic Build System <autodist@mambasoft.it> 1.1.3-4mamba
- automatic rebuild by autodist
* Wed Aug 19 2009 Automatic Build System <autodist@mambasoft.it> 1.1.3-3mamba
- automatic rebuild by autodist
* Wed Aug 12 2009 Automatic Build System <autodist@mambasoft.it> 1.1.3-2mamba
- automatic rebuild by autodist
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic update by autodist
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic update by autodist
* Fri Jan 09 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- automatic update by autodist
* Wed Dec 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-2mamba
- automatic rebuild by autodist
* Fri Nov 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.0-1mamba
- automatic update by autodist
* Mon Jun 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
- rebuilt against recent libdc1394
* Thu May 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
- changed package maintainer
* Sun May 13 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.0.0-1mamba
- update to 1.0.0
- added missing build requirements
* Wed Oct 25 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.9.10-1qilnx
- update to version 0.9.10 by autospec
* Mon Jul 03 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.9.9-1qilnx
- update to version 0.9.9 by autospec
* Wed Jun 07 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.8-1qilnx
- update to version 0.9.8 by autospec
* Tue Aug 02 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.3-3qilnx
- rebuilt
* Sat Oct 02 2004 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.3-2qilnx
- specfile modified to match QiLinux standards
- added missing build require for liblame devel library
* Fri Sep 10 2004 Matteo Bernasconi <voyagernm@virgilio.it> 0.9.3-1qilnx
- first build