Changes of Revision 11
[-] | Changed | libquicktime.spec |
x 1
2 # norootforbuild 3 4 -%define realname libquicktime 5 -%define soname 1 6 +%define soname 0 7 8 -Name: %{realname}%{soname} 9 -Version: 1.1.1 10 +Name: libquicktime%{soname} 11 +Version: 1.1.2 12 Release: 100 13 -Summary: A Library for Reading and Writing Quicktime Movie Files 14 +Summary: Library for Reading and Writing Quicktime Movie Files 15 URL: http://libquicktime.sf.net 16 -License: GPL v2 or later 17 +License: GNU General Public License version 2 or later (GPL v2 or later) 18 Group: Development/Libraries/Other 19 - 20 -Source0: http://surfnet.dl.sourceforge.net/sourceforge/%{name}/%{realname}-%{version}.tar.gz 21 - 22 -Obsoletes: %{realname} 23 -Provides: %{realname} = %{version}-%{release} 24 - 25 +Source: http://prdownloads.sourceforge.net/libquicktime/libquicktime-%{version}.tar.gz 26 +# enable for proper shared library policy: 27 +#Patch2: libquicktime-gettext_domain.patch 28 +#Patch3: libquicktime-plugin_dir.patch 29 +Obsoletes: libquicktime 30 +Provides: libquicktime = %{version}-%{release} 31 BuildRoot: %{_tmppath}/%{name}-%{version}-build 32 - 33 BuildRequires: alsa-devel gtk2-devel libavc1394-devel libjpeg-devel libvorbis-devel sed 34 -BuildRequires: faad2-devel faac libx264-devel lame libffmpeg0-devel doxygen 35 +BuildRequires: libfaad2-devel libfaac-devel libx264-devel libmp3lame-devel 36 +BuildRequires: libffmpeg-devel >= 0.5-0.pm.3 37 +BuildRequires: Mesa-devel pkgconfig doxygen 38 %if 0%{?suse_version} >= 1010 39 BuildRequires: libdv-devel 40 %else 41 BuildRequires: libdv 42 %endif 43 - 44 +Provides: libquicktime-vorbis = %{version}-%{release} 45 +Provides: libquicktime-opendivx = %{version}-%{release} 46 +Provides: libquicktime-dv = %{version}-%{release} 47 +Provides: libquicktime-jpeg = %{version}-%{release} 48 +Provides: libquicktime-png = %{version}-%{release} 49 +Provides: libquicktime-lame = %{version}-%{release} 50 +Provides: libquicktime-ffmpeg = %{version}-%{release} 51 +# deprecated, for internal backwards compatibility only, 52 +# remove once all spec files that directly require the bogus 53 +# libquicktime1 are fixed: 54 +Provides: libquicktime1 = %{version}-%{release} 55 56 %description 57 A library for reading and writing Quicktime movie files, based on and 58 forked from quicktime4linux. 59 60 - 61 -%package -n %{realname}-devel 62 -Summary: library for reading/writing quicktime movie files 63 -Group: Development/Libraries/Other 64 +%package -n libquicktime-devel 65 +Summary: Library for reading/writing quicktime movie files 66 +Group: Development/Libraries/C and C++ 67 Requires: %{name} = %{version} 68 Requires: alsa-devel gtk2-devel libavc1394-devel libjpeg-devel libvorbis-devel sed 69 -Requires: faad2-devel faac libx264-devel lame libffmpeg0-devel 70 +Requires: libfaad2-devel libfaac-devel libx264-devel libmp3lame-devel libffmpeg-devel 71 %if 0%{?suse_version} >= 1010 72 Requires: libdv-devel 73 %else 74 Requires: libdv 75 %endif 76 77 - 78 -%description -n %{realname}-devel 79 +%description -n libquicktime-devel 80 library for reading/writing quicktime movie files, based on and forked 81 from quicktime4linux 82 83 +%package -n libquicktime-tools 84 +Summary: libquicktime Tools 85 +Group: Productivity/Multimedia/Video/Editors and Convertors 86 +Requires: %{name} = %{version}-%{release} 87 +Provides: libquicktime-progs = %{version}-%{release} 88 +Provides: libquicktime-plugincfg = %{version}-%{release} 89 90 -%debug_package 91 - 92 +%description -n libquicktime-tools 93 +Tools for reading/writing quicktime movie files. 94 95 +%debug_package 96 %prep 97 -%setup -q -n %{realname}-%{version} 98 - 99 +%setup -q -n "libquicktime-%{version}" 100 +# enable for proper shared library policy: 101 +#%patch2 102 +#%patch3 103 +#%__sed -i 's|@@NAME@@|%{name}|g' configure.ac 104 105 %build 106 -export CPPFLAGS="$RPM_OPT_FLAGS -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" 107 -export CXXFLAGS="$RPM_OPT_FLAGS -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" 108 -%configure --enable-gpl --docdir=%{_docdir}/%{realname} 109 -%__make %{?jobs:-j%jobs} 110 +export CPPFLAGS="%{optflags} -I/usr/include/libavcodec -I/usr/include/libavutil -I/usr/include/libswscale" 111 +# add to CPPFLAGS for proper shared library policy: 112 +# -DGETTEXT_PACKAGE=\\\"%{name}\\\"" 113 +export CXXFLAGS="$CPPFLAGS" 114 +# enable for proper shared library policy: 115 +#autoreconf -fiv 116 + 117 +%configure \ 118 + --enable-gpl \ 119 + --docdir="%{_docdir}/%{name}" \ 120 + --with-libdv \ 121 + --with-cpuflags=none \ 122 + --disable-rpath 123 124 +%__make %{?jobs:-j%jobs} 125 126 %install 127 %makeinstall 128 -%__ln_s lqt %{buildroot}/usr/include/quicktime 129 +%__ln_s lqt "%{buildroot}/usr/include/quicktime" 130 131 +# enable for proper shared library policy: 132 +#for f in "%{buildroot}%{_datadir}/locale"/*/"LC_MESSAGES/libquicktime.mo"; do 133 +# %__mv "$f" "${f%/libquicktime.mo}/%{name}.mo" 134 +#done 135 +%find_lang libquicktime 136 +# for proper shared library policy, use this instead of the line above: 137 +#%find_lang libquicktime1 138 + 139 +for f in AUTHORS COPYING ChangeLog NEWS README TODO; do 140 + %__install -D -m0644 "$f" "%{buildroot}%{_docdir}/%{name}/$f" 141 +done 142 +%__cp -a doc/*.html doc/*.txt "%{buildroot}%{_docdir}/%{name}/" 143 144 %clean 145 -rm -rf %{buildroot} 146 - 147 +%__rm -rf "%{buildroot}" 148 149 %post -p /sbin/ldconfig 150 151 %postun -p /sbin/ldconfig 152 153 +%files -f libquicktime.lang 154 +%defattr(-,root,root) 155 +%doc %dir %{_docdir}/%{name} 156 +%doc %{_docdir}/%{name}/AUTHORS 157 +%doc %{_docdir}/%{name}/COPYING 158 +%doc %{_docdir}/%{name}/ChangeLog 159 +%doc %{_docdir}/%{name}/NEWS 160 +%doc %{_docdir}/%{name}/README 161 +%doc %{_docdir}/%{name}/TODO 162 +%{_libdir}/libquicktime.so.%{soname} 163 +%{_libdir}/libquicktime.so.%{soname}.*.* 164 +%dir %{_libdir}/libquicktime 165 +%{_libdir}/libquicktime/lqt_audiocodec.so 166 +%{_libdir}/libquicktime/lqt_dv.so 167 +%{_libdir}/libquicktime/lqt_faac.so 168 +%{_libdir}/libquicktime/lqt_faad2.so 169 +%{_libdir}/libquicktime/lqt_ffmpeg.so 170 +%{_libdir}/libquicktime/lqt_lame.so 171 +%{_libdir}/libquicktime/lqt_mjpeg.so 172 +%{_libdir}/libquicktime/lqt_png.so 173 +%{_libdir}/libquicktime/lqt_rtjpeg.so 174 +%{_libdir}/libquicktime/lqt_schroedinger.so 175 +%{_libdir}/libquicktime/lqt_videocodec.so 176 +%{_libdir}/libquicktime/lqt_vorbis.so 177 +%{_libdir}/libquicktime/lqt_x264.so 178 + 179 +%files -n libquicktime-devel 180 +%defattr(-,root,root) 181 +%doc %{_docdir}/%{name}/*.html 182 +%doc %{_docdir}/%{name}/*.txt 183 +%doc %{_docdir}/%{name}/apiref 184 +%{_bindir}/lqt-config 185 +%{_includedir}/lqt/*.h 186 +%{_includedir}/quicktime 187 +%{_libdir}/libquicktime.so 188 +%{_libdir}/libquicktime.la 189 +%{_libdir}/libquicktime/lqt_*.la 190 +%{_libdir}/pkgconfig/libquicktime.pc 191 +%{_datadir}/aclocal/lqt.m4 192 193 -%files 194 -%defattr(-, root, root) 195 -%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO 196 -%doc doc/*.html doc/*.txt 197 -%dir %{_docdir}/%{realname} 198 -%dir %{_docdir}/%{realname}/apiref 199 -%{_docdir}/%{realname}/apiref/* 200 +%files -n libquicktime-tools 201 |
||
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 ^ |