[6890] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | %define major 1.0 |
---|
| 4 | |
---|
[7303] | 5 | %define _gst_ver 1.0.5 |
---|
[6890] | 6 | %define _glib2_ver 2.34.0 |
---|
| 7 | %define _gtk3_ver 3.6.0 |
---|
| 8 | %define _gtk_doc_ver 1.3 |
---|
| 9 | %define _qt4_ver 4.6 |
---|
| 10 | %define _check_ver 0.9.2 |
---|
| 11 | %define _python_ver 2.6 |
---|
| 12 | %define _alsa_lib_ver 0.9.1 |
---|
| 13 | %define _libogg_ver 1.0 |
---|
| 14 | %define _libvorbis_ver 1.0 |
---|
| 15 | %define _freetype2_ver 2.0.9 |
---|
| 16 | |
---|
| 17 | %define po_package gst-plugins-base-%{major} |
---|
| 18 | |
---|
| 19 | Summary: GStreamer Streaming-media framework base plugins |
---|
| 20 | Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン |
---|
| 21 | Name: gstreamer1-plugins-base |
---|
[7303] | 22 | Version: 1.0.5 |
---|
[6890] | 23 | Release: 1%{?_dist_release} |
---|
| 24 | License: LGPL |
---|
| 25 | Group: System Environment/Libraries |
---|
| 26 | URL: http://gstreamer.freedesktop.org/ |
---|
| 27 | Source: http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-%{version}.tar.xz |
---|
| 28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 29 | |
---|
| 30 | Requires: gstreamer1 >= %{_gst_ver} |
---|
| 31 | |
---|
| 32 | BuildRequires: gstreamer1-devel >= %{_gst_ver} |
---|
| 33 | BuildRequires: gtk-doc >= %{_gtk_doc_ver} |
---|
| 34 | BuildRequires: python >= %{_python_ver}, python-pyxml |
---|
| 35 | BuildRequires: glib2-devel >= %{_glib2_ver} |
---|
| 36 | BuildRequires: check >= %{_check_ver} |
---|
| 37 | BuildRequires: gtk3-devel >= %{_gtk3_ver} |
---|
| 38 | BuildRequires: qt4-devel >= %{_qt4_ver} |
---|
| 39 | BuildRequires: alsa-lib-devel >= %{_alsa_lib_ver} |
---|
| 40 | BuildRequires: cdparanoia-devel |
---|
| 41 | BuildRequires: libogg-devel >= %{_libogg_ver} |
---|
| 42 | BuildRequires: libtheora-devel, libvorbis-devel >= %{_libvorbis_ver} |
---|
| 43 | BuildRequires: pango-devel |
---|
| 44 | BuildRequires: freetype2-devel >= %{_freetype2_ver} |
---|
| 45 | BuildRequires: fontconfig-devel |
---|
| 46 | BuildRequires: libX11-devel |
---|
| 47 | BuildRequires: libXv-devel |
---|
| 48 | BuildRequires: libvisual-devel |
---|
| 49 | BuildRequires: orc-devel |
---|
| 50 | BuildRequires: gobject-introspection-devel |
---|
| 51 | |
---|
| 52 | Vendor: Project Vine |
---|
| 53 | Distribution: Vine Linux |
---|
| 54 | Packager: Takemikaduchi |
---|
| 55 | |
---|
| 56 | %description |
---|
| 57 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
| 58 | operate on media data. Applications using this library can do anything |
---|
| 59 | from real-time sound processing to playing videos, and just about anything |
---|
| 60 | else media-related. Its plugin-based architecture means that new data |
---|
| 61 | types or processing capabilities can be added simply by installing new |
---|
| 62 | plugins. |
---|
| 63 | |
---|
| 64 | This package contains a set of well-maintained base plugins. |
---|
| 65 | |
---|
| 66 | %package devel |
---|
| 67 | Summary: Libraries/include files for GStreamer base plugins |
---|
| 68 | Summary(ja): GStreamer 基本プラグインの開発用ライブラリ |
---|
| 69 | Group: Development/Libraries |
---|
| 70 | Requires: %{name} = %{version}-%{release} |
---|
| 71 | Requires: gstreamer1-devel >= %{_gst_ver} |
---|
| 72 | |
---|
| 73 | %description devel |
---|
| 74 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
| 75 | operate on media data. Applications using this library can do anything |
---|
| 76 | from real-time sound processing to playing videos, and just about anything |
---|
| 77 | else media-related. Its plugin-based architecture means that new data |
---|
| 78 | types or processing capabilities can be added simply by installing new |
---|
| 79 | plugins. |
---|
| 80 | |
---|
| 81 | This package contains GStreamer base plugins library depvelopment and header |
---|
| 82 | files. |
---|
| 83 | |
---|
| 84 | # compat32 |
---|
| 85 | %package -n compat32-%{name} |
---|
| 86 | Summary: GStreamer Streaming-media framework base plugins |
---|
| 87 | Summary(ja): GStreamer ストリーミングメディアフレームワーク用基本プラグイン |
---|
| 88 | Group: System Environment/Libraries |
---|
| 89 | Requires: %{name} = %{version}-%{release} |
---|
| 90 | |
---|
| 91 | %description -n compat32-%{name} |
---|
| 92 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
| 93 | operate on media data. Applications using this library can do anything |
---|
| 94 | from real-time sound processing to playing videos, and just about anything |
---|
| 95 | else media-related. Its plugin-based architecture means that new data |
---|
| 96 | types or processing capabilities can be added simply by installing new |
---|
| 97 | plugins. |
---|
| 98 | |
---|
| 99 | This package contains a set of well-maintained base plugins. |
---|
| 100 | |
---|
| 101 | %package -n compat32-%{name}-devel |
---|
| 102 | Summary: Libraries/include files for GStreamer base plugins |
---|
| 103 | Summary(ja): GStreamer 基本プラグインの開発用ライブラリ |
---|
| 104 | Group: Development/Libraries |
---|
| 105 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 106 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 107 | Requires: compat32-gstreamer1-devel >= %{_gst_ver} |
---|
| 108 | |
---|
| 109 | %description -n compat32-%{name}-devel |
---|
| 110 | GStreamer is a streaming-media framework, based on graphs of filters which |
---|
| 111 | operate on media data. Applications using this library can do anything |
---|
| 112 | from real-time sound processing to playing videos, and just about anything |
---|
| 113 | else media-related. Its plugin-based architecture means that new data |
---|
| 114 | types or processing capabilities can be added simply by installing new |
---|
| 115 | plugins. |
---|
| 116 | |
---|
| 117 | This package contains GStreamer base plugins library depvelopment and header |
---|
| 118 | files. |
---|
| 119 | |
---|
| 120 | |
---|
| 121 | %prep |
---|
| 122 | %setup -q -n gst-plugins-base-%{version} |
---|
| 123 | |
---|
| 124 | %build |
---|
| 125 | %ifarch alpha |
---|
| 126 | %define optflags -O2 -mieee -fPIC |
---|
| 127 | %endif |
---|
| 128 | |
---|
| 129 | %configure \ |
---|
| 130 | --with-package-name='Vine Linux gstreamer-plugins-base package' \ |
---|
| 131 | --enable-gtk-doc \ |
---|
| 132 | --disable-static \ |
---|
| 133 | --disable-debug \ |
---|
| 134 | --enable-orc \ |
---|
| 135 | --enable-introspection=yes |
---|
| 136 | |
---|
| 137 | make %{?_smp_mflags} |
---|
| 138 | |
---|
| 139 | %install |
---|
| 140 | [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 141 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 142 | |
---|
| 143 | # Clean out files that should not be part of the rpm. |
---|
| 144 | rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{major}/*.{a,la} |
---|
| 145 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
| 146 | |
---|
| 147 | %find_lang %{po_package} |
---|
| 148 | |
---|
| 149 | %clean |
---|
| 150 | [ -n $RPM_BUILD_ROOT -a $RPM_BUILD_ROOT != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 151 | |
---|
| 152 | %post -p /sbin/ldconfig |
---|
| 153 | |
---|
| 154 | %postun -p /sbin/ldconfig |
---|
| 155 | |
---|
| 156 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 157 | |
---|
| 158 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 159 | |
---|
| 160 | %files -f %{po_package}.lang |
---|
| 161 | %defattr(-,root,root) |
---|
| 162 | %doc AUTHORS ChangeLog COPYING* NEWS README RELEASE REQUIREMENTS |
---|
| 163 | |
---|
| 164 | # helper programs |
---|
| 165 | %{_bindir}/gst-* |
---|
| 166 | %{_mandir}/man1/gst-* |
---|
| 167 | |
---|
| 168 | %{_datadir}/gst-plugins-base/1.0/license-translations.dict |
---|
| 169 | |
---|
| 170 | # libraries |
---|
| 171 | %{_libdir}/libgst*-%{major}.so.* |
---|
| 172 | %{_libdir}/girepository-1.0/*.typelib |
---|
| 173 | |
---|
| 174 | # base plugins without external dependencies |
---|
| 175 | %{_libdir}/gstreamer-%{major}/libgstadder.so |
---|
| 176 | %{_libdir}/gstreamer-%{major}/libgstaudioconvert.so |
---|
| 177 | %{_libdir}/gstreamer-%{major}/libgstaudiorate.so |
---|
| 178 | %{_libdir}/gstreamer-%{major}/libgstaudioresample.so |
---|
| 179 | %{_libdir}/gstreamer-%{major}/libgstaudiotestsrc.so |
---|
| 180 | %{_libdir}/gstreamer-%{major}/libgstapp.so |
---|
| 181 | %{_libdir}/gstreamer-%{major}/libgstcdparanoia.so |
---|
| 182 | %{_libdir}/gstreamer-%{major}/libgstencodebin.so |
---|
| 183 | %{_libdir}/gstreamer-%{major}/libgstgio.so |
---|
| 184 | %{_libdir}/gstreamer-%{major}/libgstplayback.so |
---|
| 185 | %{_libdir}/gstreamer-%{major}/libgsttcp.so |
---|
| 186 | %{_libdir}/gstreamer-%{major}/libgsttypefindfunctions.so |
---|
| 187 | %{_libdir}/gstreamer-%{major}/libgstvideoconvert.so |
---|
| 188 | %{_libdir}/gstreamer-%{major}/libgstvideorate.so |
---|
| 189 | %{_libdir}/gstreamer-%{major}/libgstvideoscale.so |
---|
| 190 | %{_libdir}/gstreamer-%{major}/libgstvideotestsrc.so |
---|
| 191 | %{_libdir}/gstreamer-%{major}/libgstvolume.so |
---|
| 192 | %{_libdir}/gstreamer-%{major}/libgstximagesink.so |
---|
| 193 | %{_libdir}/gstreamer-%{major}/libgstxvimagesink.so |
---|
| 194 | |
---|
| 195 | # base plugins with external dependencies, but in the main package |
---|
| 196 | %{_libdir}/gstreamer-%{major}/libgstalsa.so |
---|
| 197 | %{_libdir}/gstreamer-%{major}/libgstpango.so |
---|
| 198 | %{_libdir}/gstreamer-%{major}/libgstlibvisual.so |
---|
| 199 | %{_libdir}/gstreamer-%{major}/libgstogg.so |
---|
| 200 | %{_libdir}/gstreamer-%{major}/libgsttheora.so |
---|
| 201 | %{_libdir}/gstreamer-%{major}/libgstvorbis.so |
---|
| 202 | |
---|
| 203 | %files devel |
---|
| 204 | %defattr(-,root,root) |
---|
| 205 | %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{major} |
---|
| 206 | %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{major} |
---|
| 207 | %{_datadir}/gir-1.0/*.gir |
---|
| 208 | %{_includedir}/gstreamer-%{major}/gst/* |
---|
| 209 | %{_libdir}/pkgconfig/*.pc |
---|
| 210 | %{_libdir}/libgst*-%{major}.so |
---|
| 211 | |
---|
| 212 | # compat32 |
---|
| 213 | %if %{build_compat32} |
---|
| 214 | %files -n compat32-%{name} |
---|
| 215 | %defattr(-,root,root) |
---|
| 216 | %{_libdir}/libgst*-%{major}.so.* |
---|
| 217 | %{_libdir}/gstreamer-%{major}/*.so |
---|
| 218 | |
---|
| 219 | %files -n compat32-%{name}-devel |
---|
| 220 | %defattr(-,root,root) |
---|
| 221 | %{_libdir}/libgst*-%{major}.so |
---|
| 222 | %endif |
---|
| 223 | |
---|
| 224 | |
---|
| 225 | %changelog |
---|
[7303] | 226 | * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.5-1 |
---|
| 227 | - new upstream release |
---|
| 228 | |
---|
[7294] | 229 | * Wed Jan 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1 |
---|
| 230 | - new upstream release |
---|
| 231 | |
---|
[7010] | 232 | * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1 |
---|
| 233 | - new upstream release |
---|
| 234 | |
---|
[6901] | 235 | * Mon Oct 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
[6890] | 238 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1 |
---|
| 239 | - initial build |
---|