Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates-src > by-pkgid > 393920923d795cddd452cec42d7e229f > files > 4

libquicktime-1.2.4-10.1.mga5.src.rpm

%define major 0
%define fversion %version
%define build_plf 0
%define libname %mklibname quicktime %major
%define develname %mklibname quicktime -d
%if "%{?distro_section}" == "tainted"
%define build_plf 1
%endif

Summary:	A library for manipulating QuickTime files
Name:		libquicktime
Version:	1.2.4
%define subrel 1
Release:	%mkrel 10
%if %build_plf
License:	GPLv2+
%else
License:        LGPLv2+
%endif
Group:		System/Libraries
Source0:	http://prdownloads.sourceforge.net/libquicktime/%{name}-%{fversion}.tar.gz
Patch0:		libquicktime-1.2.4-ffmpeg-2.0.patch
Patch1:		libquicktime-1.2.4-integer_overflow.patch
URL:		http://libquicktime.sourceforge.net/
BuildRequires:	png-devel
BuildRequires:	jpeg-devel
BuildRequires:	oggvorbis-devel
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	MesaGLU-devel
BuildRequires:	libgtk+2.0-devel
BuildRequires:	libffmpeg-devel
BuildRequires:	libalsa-devel
BuildRequires:	libice-devel
BuildRequires:	libxaw-devel
BuildRequires:	libxv-devel
BuildRequires:	libschroedinger-devel
BuildRequires:	doxygen

%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.

%if %build_plf
This package is in the 'tainted' section as it violates some patents.
%endif

%package -n %libname
Summary:	Shared library of libquicktime
Group:		System/Libraries

%description -n %libname
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 -n %develname
Summary:	Header files and development documentation for libquicktime
Group:		Development/C
Provides:	libquicktime-devel = %version-%release
Provides:	quicktime-devel = %version-%release
Provides:	quicktime-static-devel = %version-%release
Provides:	%libname-static-devel = %version-%release
Obsoletes:	%libname-static-devel = %version-%release
Obsoletes:	%mklibname -d quicktime 0
Requires:	%{libname} = %{version}

%description -n %develname
Header files and development documentation for libquicktime.


%package dv
Summary:	Libquicktime plugin supporting the DV codec
Group:		System/Libraries
Requires:	%{name} = %{version}
BuildRequires:	libdv-devel >= 0.103

%description dv
Libquicktime plugin supporting the DV codec.

%package progs
Summary:	Useful tools to operate at QuickTime files
Group:		Video/Utilities
Requires:	%name = %version

%description progs
Useful tools to operate on QuickTime files.

%if 0
# faac is not in core or tainted
%package faac
Summary: Libquicktime plugin for encoding AAC
Group:		System/Libraries
Requires:	%{name} = %{version}
BuildRequires: libfaac-devel

%description faac
This is a libquicktime plugin for AAC encoding based on faac.

This package is in the 'tainted' section as it violates some patents.
%endif 

%if %build_plf
%package lame
Summary: Libquicktime plugin supporting the MP3 codec
Group:		System/Libraries
Requires:	%{name} = %{version}
BuildRequires: liblame-devel

%description lame
This is a libquicktime plugin supporting the MP3 codec based on lame.

This package is in the 'tainted' section as it violates some patents.
%package faad
Summary: Libquicktime plugin for decoding AAC
Group:		System/Libraries
Requires:	%{name} = %{version}
BuildRequires: libfaad2-devel

%description faad
This is a libquicktime plugin for AAC decoding based on faad2.

This package is in the 'tainted' section as it violates some patents.

%package x264
Summary: Libquicktime plugin for encoding H.264/MPEG-4 streams
Group:		System/Libraries
Requires:	%{name} = %{version}
BuildRequires: libx264-devel

%description x264
This is a libquicktime plugin for encoding H.264/MPEG-4 streams.

This package is in the 'tainted' section as it violates some patents.
%endif

%prep
%setup -q -n %name-%fversion
%apply_patches

%build

%configure2_5x \
--with-libdv \
%ifarch x86_64
--with-pic \
%endif
%if %build_plf
--enable-gpl 
%endif
 
%make 

%install
%makeinstall_std
rm -f %buildroot%_libdir/libquicktime/*a
rm -f %buildroot%_libdir/*.la
rm -f %buildroot%_libdir/libquicktime/lqt_opendivx.so
%find_lang %name

%files -f %name.lang
%doc README
%dir %{_libdir}/libquicktime/
%{_libdir}/libquicktime/lqt_audiocodec.so
%{_libdir}/libquicktime/lqt_ffmpeg.so
%{_libdir}/libquicktime/lqt_mjpeg.so
%{_libdir}/libquicktime/lqt_png.so
%{_libdir}/libquicktime/lqt_videocodec.so
%{_libdir}/libquicktime/lqt_rtjpeg.so
%{_libdir}/libquicktime/lqt_schroedinger.so
%{_libdir}/libquicktime/lqt_vorbis.so
 
%files dv
%{_libdir}/libquicktime/lqt_dv.so

%files -n %libname
%{_libdir}/libquicktime.so.%{major}*

%files -n %develname
%{_libdir}/lib*.so
%{_includedir}/lqt
%_libdir/pkgconfig/*.pc

%files progs
%doc README TODO
%{_bindir}/libquicktime_config
%_bindir/lqtplay
%_bindir/lqtremux
%_bindir/lqt_transcode
%_bindir/qt*
%_mandir/man1/lqtplay.1*

%if 0
%files faac
%{_libdir}/libquicktime/lqt_faac.so
%endif

%if %build_plf
%files lame
%{_libdir}/libquicktime/lqt_lame.so

%files faad
%{_libdir}/libquicktime/lqt_faad2.so

%files x264
%{_libdir}/libquicktime/lqt_x264.so
%endif


%changelog
* Thu Mar 02 2017 ns80 <ns80> 1.2.4-10.1.mga5
+ Revision: 1088476
- add patch for CVE-2016-2399 (mga#20357)

* Fri Nov 14 2014 fwang <fwang> 1.2.4-10.mga5.tainted
+ Revision: 796979
- rebuild for new ffmpeg

* Wed Oct 15 2014 umeabot <umeabot> 1.2.4-9.mga5.tainted
+ Revision: 745143
- Second Mageia 5 Mass Rebuild

* Sun Mar 30 2014 daviddavid <daviddavid> 1.2.4-8.mga5.tainted
+ Revision: 610544
- rebuild for new x264

* Mon Feb 17 2014 luigiwalser <luigiwalser> 1.2.4-7.mga5
+ Revision: 593275
- rebuild for x264

* Sat Aug 24 2013 luigiwalser <luigiwalser> 1.2.4-6.mga4.tainted
+ Revision: 470993
- rebuild for x264

* Mon Jul 15 2013 fwang <fwang> 1.2.4-5.mga4.tainted
+ Revision: 454382
- more patch on ffmpeg 2.0
- fix build with ffmpeg 2.0
- rebuild for new ffmpeg

* Mon Jun 17 2013 luigiwalser <luigiwalser> 1.2.4-4.mga4.tainted
+ Revision: 443892
- rebuild for x264

* Mon Jun 03 2013 fwang <fwang> 1.2.4-3.mga4.tainted
+ Revision: 435505
- rebuild for new libpng

* Sat Jan 12 2013 umeabot <umeabot> 1.2.4-2.mga3.tainted
+ Revision: 358032
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

  + ovitters <ovitters>
    - clean spec
    - fix rpm group

* Thu May 31 2012 fwang <fwang> 1.2.4-1.mga3.tainted
+ Revision: 252002
- new version 1.2.4

* Tue Dec 13 2011 fwang <fwang> 1.2.3-3.mga2.tainted
+ Revision: 181282
- rebuild for new x264

* Sat Sep 10 2011 fwang <fwang> 1.2.3-2.mga2.tainted
+ Revision: 142127
- rebuild for new libpng

* Thu Jul 07 2011 fwang <fwang> 1.2.3-1.mga2
+ Revision: 119677
- new version 1.2.3

* Fri Jun 24 2011 fwang <fwang> 1.2.2-4.mga2.tainted
+ Revision: 113116
- add upstream cvs patch to build with ffmpeg 0.8
- rebuild for new ffmpeg

* Sun May 29 2011 cjw <cjw> 1.2.2-3.mga1.tainted
+ Revision: 100694
- disable aac encoding support in tainted builds
- add support for tainted builds

* Sat Feb 05 2011 ahmad <ahmad> 1.2.2-2.mga1
+ Revision: 47176
- drop old/unneeded scriptlets
- imported package libquicktime


* Sat Jan 08 2011 Götz Waschk <waschk@mandriva.org> 1.2.2-1mdv2011.0
+ Revision: 630559
- new version
- drop patch

* Mon Dec 06 2010 Götz Waschk <waschk@mandriva.org> 1.2.1-2mdv2011.0
+ Revision: 612343
- rebuild

* Sat Dec 04 2010 Götz Waschk <waschk@mandriva.org> 1.2.1-1mdv2011.0
+ Revision: 609229
- update to new version 1.2.1

* Thu Dec 02 2010 Götz Waschk <waschk@mandriva.org> 1.2.0-1mdv2011.0
+ Revision: 604758
- new version
- update file list

* Mon Nov 29 2010 Funda Wang <fwang@mandriva.org> 1.1.5-3mdv2011.0
+ Revision: 602824
- fix build with newer gtk

  + Oden Eriksson <oeriksson@mandriva.com>
    - rebuild

* Wed May 05 2010 Götz Waschk <waschk@mandriva.org> 1.1.5-2mdv2010.1
+ Revision: 542327
- rebuild

* Wed Feb 24 2010 Götz Waschk <waschk@mandriva.org> 1.1.5-1mdv2010.1
+ Revision: 510508
- update to new version 1.1.5

* Sat Jan 23 2010 Götz Waschk <waschk@mandriva.org> 1.1.4-3mdv2010.1
+ Revision: 495208
- rebuild

* Sun Jan 10 2010 Oden Eriksson <oeriksson@mandriva.com> 1.1.4-2mdv2010.1
+ Revision: 488781
- rebuilt against libjpeg v8

* Fri Jan 08 2010 Götz Waschk <waschk@mandriva.org> 1.1.4-1mdv2010.1
+ Revision: 487473
- new version
- drop patch

* Thu Dec 10 2009 Götz Waschk <waschk@mandriva.org> 1.1.3-4mdv2010.1
+ Revision: 475967
- rebuild

* Mon Nov 09 2009 Götz Waschk <waschk@mandriva.org> 1.1.3-3mdv2010.1
+ Revision: 463551
- fix build with new x264

* Sat Aug 15 2009 Oden Eriksson <oeriksson@mandriva.com> 1.1.3-2mdv2010.0
+ Revision: 416624
- rebuilt against libjpeg v7

* Tue Jul 14 2009 Götz Waschk <waschk@mandriva.org> 1.1.3-1mdv2010.0
+ Revision: 395828
- update to new version 1.1.3

* Thu Jun 18 2009 Frederik Himpe <fhimpe@mandriva.org> 1.1.2-1mdv2010.0
+ Revision: 387159
- Update to new version 1.1.2
- Remove string format pathc
- Build with schroedinger (dirac) support

* Wed Feb 11 2009 Götz Waschk <waschk@mandriva.org> 1.1.1-2mdv2009.1
+ Revision: 339353
- rebuild for new libfaad

* Fri Dec 19 2008 Götz Waschk <waschk@mandriva.org> 1.1.1-1mdv2009.1
+ Revision: 316064
- new version
- fix build

* Mon Nov 10 2008 Götz Waschk <waschk@mandriva.org> 1.1.0-2mdv2009.1
+ Revision: 301787
- rebuild
- new version
- drop patches

* Mon Oct 13 2008 Götz Waschk <waschk@mandriva.org> 1.0.3-2mdv2009.1
+ Revision: 293152
- fix build with new ffmpeg

* Tue Jul 15 2008 Götz Waschk <waschk@mandriva.org> 1.0.3-1mdv2009.0
+ Revision: 235774
- fix buildrequires
- new version
- drop patch
- explicitly enable dv

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Fri Apr 25 2008 Götz Waschk <waschk@mandriva.org> 1.0.2-4mdv2009.0
+ Revision: 197454
- update the patch

* Fri Apr 25 2008 Götz Waschk <waschk@mandriva.org> 1.0.2-3mdv2009.0
+ Revision: 197424
- fix build with new ffmpeg

* Fri Jan 18 2008 Götz Waschk <waschk@mandriva.org> 1.0.2-2mdv2008.1
+ Revision: 154554
- rebuild

* Wed Jan 09 2008 Götz Waschk <waschk@mandriva.org> 1.0.2-1mdv2008.1
+ Revision: 147169
- new version

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* Sun Oct 14 2007 Funda Wang <fwang@mandriva.org> 1.0.1-1mdv2008.1
+ Revision: 98199
- drop old distro conditions
- New version 1.0.1

  + Thierry Vignaud <tv@mandriva.org>
    - fix summary-ended-with-dot
    - s/Mandrake/Mandriva/

* Wed Apr 18 2007 Götz Waschk <waschk@mandriva.org> 1.0.0-1mdv2008.0
+ Revision: 14609
- new version
- drop patches
- fix build on x86_64
- update file list


* Fri Dec 01 2006 Götz Waschk <waschk@mandriva.org> 0.9.10-2mdv2007.0
+ Revision: 89691
- fix description

* Fri Dec 01 2006 Götz Waschk <waschk@mandriva.org> 0.9.10-1mdv2007.1
+ Revision: 89593
- patch for new x264
- unpack patches
- Import libquicktime

* Fri Dec 01 2006 Götz Waschk <waschk@mandriva.org> 0.9.10-1mdv2007.1
- New version 0.9.10

* Fri Sep 01 2006 Anssi Hannula <anssi@mandriva.org> 0.9.9-6mdv2007.0
- fix buildrequires

* Wed Aug 16 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.9.9-5
- rebuild for fixed libxaw soname

* Thu Jul 20 2006 Jerome Martin <jmartin@mandriva.org> 0.9.9-4mdv2007.0
- fix BuildRequires for backport

* Sun Jul 09 2006 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.9.9-3
- add BuildRequires: libalsa-devel libice-devel libxaw-devel libxv-devel

* Sat Jul 08 2006 Charles A Edwards <eslrahc@mandriva.org> 0.9.9-2mdv2007.0
- fix disc for x264 pkg

* Wed Jul 05 2006 Charles A Edwards <eslrahc@mandriva.org> 0.9.9-1mdv2007.0
- 0.9.9 
- add plugin
- add conditionals for License and configure for mdv/plf

* Fri Jun 30 2006 Götz Waschk <waschk@mandriva.org> 0.9.8-2mdv2007.0
- add ffmpeg module
- remove hardcoded devel deps

* Thu Mar 02 2006 Götz Waschk <waschk@mandriva.org> 0.9.8-1mdk
- add optional support for lame, faac and faad2
- drop libquicktime1394
- update file list
- New release 0.9.8

* Sat May 28 2005 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.9.7-2mdk
- fix build deps and automake usage

* Fri May 27 2005 Götz Waschk <waschk@mandriva.org> 0.9.7-1mdk
- fix file list
- mkrel
- New release 0.9.7

* Tue Feb 15 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.9.4-3mdk
- fix deps

* Sat Jan 29 2005 Austin Acton <austin@mandrake.org> 0.9.4-2mdk
- rebuild for new libraw1394

* Thu Jan 13 2005 Götz Waschk <waschk@linux-mandrake.com> 0.9.4-1mdk
- update file list
- New release 0.9.4

* Wed Jul 21 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-1mdk
- obsolete static-devel package
- add new files
- drop old codecs
- drop patch 2
- drop merged patch 1
- rediff patches 0,3
- add souce URL
- New release 0.9.3

* Sun Jun 13 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 0.9.2-4mdk
- fix rtjpeg build with new libtool

* Thu Apr 15 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.9.2-3mdk
- build dso with pic
- lib64 & 64-bit fixes

* Sat Apr 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-2mdk
- use the mdkversion macro
- new libdv

* Wed Jan 14 2004 Franck Villaume <fvill@freesurf.fr> 0.9.2-1mdk
- 0.9.2 version
- fix 64bits buildrequires