Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
libquicktime
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 11
[-]
[+]
Changed
libquicktime.spec
@@ -1,90 +1,163 @@ # norootforbuild -%define realname libquicktime -%define soname 1 +%define soname 0 -Name: %{realname}%{soname} -Version: 1.1.1 +Name: libquicktime%{soname} +Version: 1.1.2 Release: 100 -Summary: A Library for Reading and Writing Quicktime Movie Files +Summary: Library for Reading and Writing Quicktime Movie Files URL: http://libquicktime.sf.net -License: GPL v2 or later +License: GNU General Public License version 2 or later (GPL v2 or later) Group: Development/Libraries/Other - -Source0: http://surfnet.dl.sourceforge.net/sourceforge/%{name}/%{realname}-%{version}.tar.gz - -Obsoletes: %{realname} -Provides: %{realname} = %{version}-%{release} - +Source: http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz +# enable for proper shared library policy: +#Patch2: libquicktime-gettext_domain.patch +#Patch3: libquicktime-plugin_dir.patch +Obsoletes: libquicktime +Provides: libquicktime = %{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: alsa-devel gtk2-devel libavc1394-devel libjpeg-devel libvorbis-devel sed -BuildRequires: faad2-devel faac libx264-devel lame libffmpeg0-devel doxygen +BuildRequires: libfaad2-devel libfaac-devel libx264-devel libmp3lame-devel +BuildRequires: libffmpeg-devel >= 0.5-0.pm.3 +BuildRequires: Mesa-devel pkgconfig doxygen %if 0%{?suse_version} >= 1010 BuildRequires: libdv-devel %else BuildRequires: libdv %endif - +Provides: libquicktime-vorbis = %{version}-%{release} +Provides: libquicktime-opendivx = %{version}-%{release} +Provides: libquicktime-dv = %{version}-%{release} +Provides: libquicktime-jpeg = %{version}-%{release} +Provides: libquicktime-png = %{version}-%{release} +Provides: libquicktime-lame = %{version}-%{release} +Provides: libquicktime-ffmpeg = %{version}-%{release} +# deprecated, for internal backwards compatibility only, +# remove once all spec files that directly require the bogus +# libquicktime1 are fixed: +Provides: libquicktime1 = %{version}-%{release} %description A library for reading and writing Quicktime movie files, based on and forked from quicktime4linux. - -%package -n %{realname}-devel -Summary: library for reading/writing quicktime movie files -Group: Development/Libraries/Other +%package -n libquicktime-devel +Summary: Library for reading/writing quicktime movie files +Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: alsa-devel gtk2-devel libavc1394-devel libjpeg-devel libvorbis-devel sed -Requires: faad2-devel faac libx264-devel lame libffmpeg0-devel +Requires: libfaad2-devel libfaac-devel libx264-devel libmp3lame-devel libffmpeg-devel %if 0%{?suse_version} >= 1010 Requires: libdv-devel %else Requires: libdv %endif - -%description -n %{realname}-devel +%description -n libquicktime-devel library for reading/writing quicktime movie files, based on and forked from quicktime4linux +%package -n libquicktime-tools +Summary: libquicktime Tools +Group: Productivity/Multimedia/Video/Editors and Convertors +Requires: %{name} = %{version}-%{release} +Provides: libquicktime-progs = %{version}-%{release} +Provides: libquicktime-plugincfg = %{version}-%{release} -%debug_package - +%description -n libquicktime-tools +Tools for reading/writing quicktime movie files. +%debug_package %prep -%setup -q -n %{realname}-%{version} - +%setup -q -n "libquicktime-%{version}" +# enable for proper shared library policy: +#%patch2 +#%patch3 +#%__sed -i 's|@@NAME@@|%{name}|g' configure.ac %build -export CPPFLAGS="$RPM_OPT_FLAGS -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" -export CXXFLAGS="$RPM_OPT_FLAGS -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" -%configure --enable-gpl --docdir=%{_docdir}/%{realname} -%__make %{?jobs:-j%jobs} +export CPPFLAGS="%{optflags} -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" +# add to CPPFLAGS for proper shared library policy: +# -DGETTEXT_PACKAGE=\\\"%{name}\\\"" +export CXXFLAGS="$CPPFLAGS" +# enable for proper shared library policy: +#autoreconf -fiv + +%configure \ + --enable-gpl \ + --docdir="%{_docdir}/%{name}" \ + --with-libdv \ + --with-cpuflags=none \ + --disable-rpath +%__make %{?jobs:-j%jobs} %install %makeinstall -%__ln_s lqt %{buildroot}/usr/include/quicktime +%__ln_s lqt "%{buildroot}/usr/include/quicktime" +# enable for proper shared library policy: +#for f in "%{buildroot}%{_datadir}/locale"/*/"LC_MESSAGES/libquicktime.mo"; do +# %__mv "$f" "${f%/libquicktime.mo}/%{name}.mo" +#done +%find_lang libquicktime +# for proper shared library policy, use this instead of the line above: +#%find_lang libquicktime1 + +for f in AUTHORS COPYING ChangeLog NEWS README TODO; do + %__install -D -m0644 "$f" "%{buildroot}%{_docdir}/%{name}/$f" +done +%__cp -a doc/*.html doc/*.txt "%{buildroot}%{_docdir}/%{name}/" %clean -rm -rf %{buildroot} - +%__rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig +%files -f libquicktime.lang +%defattr(-,root,root) +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/AUTHORS +%doc %{_docdir}/%{name}/COPYING +%doc %{_docdir}/%{name}/ChangeLog +%doc %{_docdir}/%{name}/NEWS +%doc %{_docdir}/%{name}/README +%doc %{_docdir}/%{name}/TODO +%{_libdir}/libquicktime.so.%{soname} +%{_libdir}/libquicktime.so.%{soname}.*.* +%dir %{_libdir}/libquicktime +%{_libdir}/libquicktime/lqt_audiocodec.so +%{_libdir}/libquicktime/lqt_dv.so +%{_libdir}/libquicktime/lqt_faac.so +%{_libdir}/libquicktime/lqt_faad2.so +%{_libdir}/libquicktime/lqt_ffmpeg.so +%{_libdir}/libquicktime/lqt_lame.so +%{_libdir}/libquicktime/lqt_mjpeg.so +%{_libdir}/libquicktime/lqt_png.so +%{_libdir}/libquicktime/lqt_rtjpeg.so +%{_libdir}/libquicktime/lqt_schroedinger.so +%{_libdir}/libquicktime/lqt_videocodec.so +%{_libdir}/libquicktime/lqt_vorbis.so +%{_libdir}/libquicktime/lqt_x264.so + +%files -n libquicktime-devel +%defattr(-,root,root) +%doc %{_docdir}/%{name}/*.html +%doc %{_docdir}/%{name}/*.txt +%doc %{_docdir}/%{name}/apiref +%{_bindir}/lqt-config +%{_includedir}/lqt/*.h +%{_includedir}/quicktime +%{_libdir}/libquicktime.so +%{_libdir}/libquicktime.la +%{_libdir}/libquicktime/lqt_*.la +%{_libdir}/pkgconfig/libquicktime.pc +%{_datadir}/aclocal/lqt.m4 -%files -%defattr(-, root, root) -%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO -%doc doc/*.html doc/*.txt -%dir %{_docdir}/%{realname} -%dir %{_docdir}/%{realname}/apiref -%{_docdir}/%{realname}/apiref/* +%files -n libquicktime-tools
Deleted
libquicktime-1.0.3.tar.gz
^
Deleted
libquicktime-1.1.0.tar.gz
^
Deleted
libquicktime-1.1.1.tar.gz
^
Changed
libquicktime-1.1.2.tar.gz
^