| 1 | ## TODO: build with opencore-amr |
|---|
| 2 | |
|---|
| 3 | %define major 1.0 |
|---|
| 4 | %define _gst_ver 1.8.2 |
|---|
| 5 | %define _gstpb_ver 1.8.2 |
|---|
| 6 | |
|---|
| 7 | Summary: GStreamer Streaming-media framework libav(FFmpeg) plugins |
|---|
| 8 | Summary(ja): GStreamer ストリーミングメディアフレームワーク用 libav(FFmpeg) プラグイン |
|---|
| 9 | Name: gstreamer1-plugins-libav |
|---|
| 10 | Version: 1.8.2 |
|---|
| 11 | Release: 1%{?_dist_release} |
|---|
| 12 | License: LGPLv2+ |
|---|
| 13 | Group: System Environment/Libraries |
|---|
| 14 | URL: http://gstreamer.freedesktop.org/ |
|---|
| 15 | Source: http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-%{version}.tar.xz |
|---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 17 | |
|---|
| 18 | Requires: gstreamer1 >= %{_gst_ver} |
|---|
| 19 | Requires: gstreamer1-plugins-base >= %{_gstpb_ver} |
|---|
| 20 | |
|---|
| 21 | BuildRequires: gstreamer1-devel >= %{_gst_ver} |
|---|
| 22 | BuildRequires: gstreamer1-plugins-base-devel >= %{_gstpb_ver} |
|---|
| 23 | BuildRequires: orc-devel >= 0.4.16 |
|---|
| 24 | |
|---|
| 25 | # *-devel packages provided by other self-build-* should only be listed |
|---|
| 26 | # in self-build-%{name}.spec as PreReq. |
|---|
| 27 | ##BuildRequires: ffmpeg-devel |
|---|
| 28 | |
|---|
| 29 | %description |
|---|
| 30 | GStreamer is a streaming-media framework, based on graphs of filters which |
|---|
| 31 | operate on media data. Applications using this library can do anything |
|---|
| 32 | from real-time sound processing to playing videos, and just about anything |
|---|
| 33 | else media-related. Its plugin-based architecture means that new data |
|---|
| 34 | types or processing capabilities can be added simply by installing new |
|---|
| 35 | plugins. |
|---|
| 36 | |
|---|
| 37 | This package contains a set of plug-ins that have good quality and |
|---|
| 38 | correct functionality, but distributing them might pose problems. The |
|---|
| 39 | license on either the plug-ins or the supporting libraries might not |
|---|
| 40 | be how the GStreamer authors like. The code might be widely known to |
|---|
| 41 | present patent problems. |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | %description -l ja |
|---|
| 45 | GStreamer はメディアデータ操作用の filter graph をベースにしたスト |
|---|
| 46 | リーミングメディアフレームワークです。 このライブラリを使用すれば |
|---|
| 47 | アプリケーションは、サウンドのリアルタイム処理からビデオ再生まで、 |
|---|
| 48 | メディアに関係する全ての機能が利用できます。また Gstremer はプラグ |
|---|
| 49 | イン方式を採用していることから、新しい種類のデータや機能への対応が、 |
|---|
| 50 | プラグインを追加することで簡単に実現できます。 |
|---|
| 51 | |
|---|
| 52 | このパッケージは品質も機能も問題は無いものの、配布すると問題になる |
|---|
| 53 | 可能性があるプラグインを含んでいます。プラグインとそのサポート・ライ |
|---|
| 54 | ブラリのライセンスも Gstreamer とは異なっています。一般には特許に |
|---|
| 55 | 関連するコードとして良く知られています。 |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | %prep |
|---|
| 59 | %setup -q -n gst-libav-%{version} |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | %build |
|---|
| 63 | %configure \ |
|---|
| 64 | --disable-static \ |
|---|
| 65 | --disable-gtk-doc-html |
|---|
| 66 | |
|---|
| 67 | %__make %{?_smp_mflags} |
|---|
| 68 | |
|---|
| 69 | %install |
|---|
| 70 | %__rm -rf %{buildroot} |
|---|
| 71 | %makeinstall |
|---|
| 72 | |
|---|
| 73 | # Clean out files that should not be part of the rpm. |
|---|
| 74 | %__rm -f %{buildroot}%{_libdir}/gstreamer-%{major}/*.{a,la} |
|---|
| 75 | %__rm -f %{buildroot}%{_libdir}/*.{a,la} |
|---|
| 76 | %__rm -rf %{buildroot}%{_datadir}/gtk-doc |
|---|
| 77 | |
|---|
| 78 | %clean |
|---|
| 79 | %__rm -rf %{buildroot} |
|---|
| 80 | |
|---|
| 81 | |
|---|
| 82 | %files |
|---|
| 83 | %defattr(-,root,root) |
|---|
| 84 | %doc AUTHORS ChangeLog COPYING NEWS README |
|---|
| 85 | %{_libdir}/gstreamer-%{major}/*.so |
|---|
| 86 | |
|---|
| 87 | |
|---|
| 88 | %changelog |
|---|
| 89 | * Sat Jul 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
|---|
| 90 | - new upstream release |
|---|
| 91 | |
|---|
| 92 | * Wed May 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1 |
|---|
| 93 | - new upstream release |
|---|
| 94 | |
|---|
| 95 | * Sun Jan 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1 |
|---|
| 96 | - new upstream release |
|---|
| 97 | |
|---|
| 98 | * Sat Dec 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1 |
|---|
| 99 | - new upstream release |
|---|
| 100 | |
|---|
| 101 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
|---|
| 102 | - new upstream release |
|---|
| 103 | |
|---|
| 104 | * Sun Mar 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.5-1 |
|---|
| 105 | - new upstream release |
|---|
| 106 | |
|---|
| 107 | * Tue Nov 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1 |
|---|
| 108 | - new upstream release |
|---|
| 109 | |
|---|
| 110 | * Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.3-1 |
|---|
| 111 | - new upstream release |
|---|
| 112 | |
|---|
| 113 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.4-1 |
|---|
| 114 | - new upstream release |
|---|
| 115 | |
|---|
| 116 | * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1 |
|---|
| 117 | - new upstream release |
|---|
| 118 | |
|---|
| 119 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.2-1 |
|---|
| 120 | - new upstream release |
|---|
| 121 | |
|---|
| 122 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.1-1 |
|---|
| 123 | - new upstream release |
|---|
| 124 | |
|---|
| 125 | * Sun Oct 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
|---|
| 126 | - new upstream release |
|---|
| 127 | |
|---|
| 128 | * Sat Sep 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.10-1 |
|---|
| 129 | - initial build |
|---|