Changes of Revision 5
[-] | Changed | libquicktime.spec |
x 1
2 # norootforbuild 3 4 -Name: libquicktime 5 -Version: 1.0.1 6 -Release: 1 7 +%define realname libquicktime 8 +%define soname 1 9 + 10 +Name: %{realname}%{soname} 11 +Version: 1.0.2 12 +Release: 100 13 Summary: A Library for Reading and Writing Quicktime Movie Files 14 URL: http://libquicktime.sf.net 15 License: GPL v2 or later 16 Group: Development/Libraries/Other 17 18 -Source0: http://surfnet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz 19 -##Patch0: libquicktime-ffmpeg-libfwscale-include-fix.diff 20 +Source0: http://surfnet.dl.sourceforge.net/sourceforge/%{name}/%{realname}-%{version}.tar.gz 21 + 22 +Obsoletes: %{realname} 23 +Provides: %{realname} = %{version}-%{release} 24 + 25 BuildRoot: %{_tmppath}/%{name}-%{version}-build 26 27 BuildRequires: alsa-devel gtk2-devel libavc1394-devel libjpeg-devel libvorbis-devel sed 28 BuildRequires: faad2-devel faac libx264-devel lame libffmpeg0-devel 29 -%if %suse_version >= 1010 30 +%if 0%{?suse_version} >= 1010 31 BuildRequires: libdv-devel 32 %else 33 BuildRequires: libdv 34
35 forked from quicktime4linux. 36 37 38 -%package devel 39 +%package -n %{realname}-devel 40 Summary: library for reading/writing quicktime movie files 41 Group: Development/Libraries/Other 42 -Requires: %{name} = %{version} 43 -Requires: %{buildrequires} 44 +Requires: %{name} = %{version} 45 +Requires: alsa-devel gtk2-devel libavc1394-devel libjpeg-devel libvorbis-devel sed 46 +Requires: faad2-devel faac libx264-devel lame libffmpeg0-devel 47 +%if 0%{?suse_version} >= 1010 48 +Requires: libdv-devel 49 +%else 50 +Requires: libdv 51 +%endif 52 + 53 54 -%description devel 55 +%description -n %{realname}-devel 56 library for reading/writing quicktime movie files, based on and forked 57 from quicktime4linux 58 59
60 61 62 %prep 63 -%setup -q -n %{name}-%{version} 64 -##%patch0 65 +%setup -q -n %{realname}-%{version} 66 + 67 68 %build 69 -export VCODEC_CFLAGS="-I%{_includedir}/ffmpeg" 70 -export LIBSWSCALE_CFLAGS="-I%{_includedir}/ffmpeg" 71 -%configure 72 +export CPPFLAGS="$RPM_OPT_FLAGS -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" 73 +export CXXFLAGS="$RPM_OPT_FLAGS -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" 74 +%configure --enable-gpl --docdir=%{_docdir}/%{realname} 75 %__make %{?jobs:-j%jobs} 76 77 78
79 80 %files 81 %defattr(-, root, root) 82 -%{_bindir}/* 83 -%exclude %{_bindir}/lqt-config 84 +%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO 85 +%doc doc/*.html doc/*.txt 86 +%{_docdir}/%{realname}/apiref/* 87 +%{_bindir}/libquicktime_config 88 +%{_bindir}/lqt_transcode 89 +%{_bindir}/lqtplay 90 +%{_bindir}/qt2text 91 +%{_bindir}/qtdechunk 92 +%{_bindir}/qtdump 93 +%{_bindir}/qtinfo 94 +%{_bindir}/qtrechunk 95 +%{_bindir}/qtstreamize 96 +%{_bindir}/qtyuv4toyuv 97 %{_libdir}/lib*.so.* 98 -%dir %{_libdir}/libquicktime 99 -%{_libdir}/libquicktime/lqt_*.so 100 -%{_mandir}/man1/* 101 +%{_libdir}/%{realname}/lqt_*.so 102 %{_datadir}/locale/de/LC_MESSAGES/libquicktime.mo 103 -%doc ChangeLog COPYING 104 +%{_mandir}/man1/lqtplay.1.gz 105 + 106 107 -%files devel 108 +%files -n %{realname}-devel 109 %defattr(-, root, root) 110 %{_bindir}/lqt-config 111 -%dir %{_includedir}/lqt 112 %{_includedir}/lqt/*.h 113 %{_includedir}/quicktime 114 -%attr(644,root,root) %{_libdir}/lib*.la 115 -%attr(644,root,root) %{_libdir}/libquicktime/lqt_*.la 116 +%{_libdir}/lib*.la 117 +%{_libdir}/%{realname}/lqt_*.la 118 %{_libdir}/lib*.so 119 -%{_libdir}/pkgconfig/libquicktime.pc 120 +%{_libdir}/pkgconfig/%{realname}.pc 121 %{_datadir}/aclocal/lqt.m4 122 -%doc doc/*.html doc/*.txt 123 124 125 %changelog 126 * Tue Jan 12 2008 Carsten Schoene <cs@linux-administrator.com> 127 - initial import for SLE_10 128 - 129 |
||
[+] | Deleted | libquicktime-ffmpeg-libfwscale-include-fix.diff ^ |
@@ -1,11 +0,0 @@ ---- plugins/ffmpeg/video.c.orig 2008-03-03 20:55:27.000000000 +0100 -+++ plugins/ffmpeg/video.c 2008-03-03 20:56:03.000000000 +0100 -@@ -32,7 +32,7 @@ - #define LOG_DOMAIN "ffmpeg_video" - - #ifdef HAVE_LIBSWSCALE --#include <swscale.h> -+#include <libswscale/swscale.h> - #endif - - // Enable interlaced encoding (experimental) | ||
Changed | libquicktime-1.0.2.tar.gz ^ |