[1427] | 1 | %define pkgname k3b-extra |
---|
| 2 | |
---|
| 3 | Summary: Package to automatically build %{pkgname} rpm package |
---|
| 4 | Summary(ja): %{pkgname} の rpm パッケージを自動作成するパッケージ |
---|
[9290] | 5 | Name: self-build-%{pkgname} |
---|
| 6 | Version: 2.0.3a |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | |
---|
[1427] | 9 | Source0: %{pkgname}-vl.spec |
---|
[9290] | 10 | %define sourceurl0 http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz |
---|
[1427] | 11 | |
---|
[9290] | 12 | License: GPLv2+ |
---|
[1427] | 13 | Group: Restricted Software |
---|
| 14 | |
---|
| 15 | Requires(post): self-build-setup >= 0.8 |
---|
| 16 | Requires(post): self-build-ffmpeg |
---|
| 17 | Requires(post): self-build-lame |
---|
| 18 | Requires(post): self-build-libmad |
---|
| 19 | |
---|
| 20 | Requires(post): gettext |
---|
| 21 | Requires(post): kdelibs4-devel |
---|
[9290] | 22 | Requires(post): libkcddb-devel |
---|
[1427] | 23 | Requires(post): libsamplerate-devel |
---|
[2857] | 24 | Requires(post): libXpm-devel |
---|
[1427] | 25 | Requires(post): taglib-devel |
---|
| 26 | |
---|
| 27 | Requires: k3b >= %{version} |
---|
| 28 | |
---|
| 29 | BuildArch: noarch |
---|
| 30 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 31 | |
---|
[9290] | 32 | Vendor: Project Vine |
---|
| 33 | Distribution: Vine Linux |
---|
[1427] | 34 | Packager: inagaki |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | This package contains additional plugins for K3b. |
---|
| 38 | |
---|
| 39 | - FFMpeg decoder for decoding WMA file(s) |
---|
| 40 | - MAD decoder for decoding MP3 file(s) |
---|
| 41 | - Lame MP3 encoder for encoding MP3 file(s) |
---|
| 42 | |
---|
| 43 | If you install this package, it automaticaly downloads source |
---|
| 44 | code ,compile it, and create rpm packages of k3b-extra. |
---|
| 45 | And the created rpm packages are automatically installed |
---|
| 46 | if installation is executed by apt-get command or synaptic |
---|
| 47 | package manager. |
---|
| 48 | |
---|
| 49 | [Note] |
---|
| 50 | This package requires many other packages to compile |
---|
| 51 | targetsoftware. So it consume more disk space than usual. |
---|
| 52 | Also installation takes logner time because of compilation. |
---|
| 53 | (This will take a few minutes to quarter or half of an hour, |
---|
| 54 | depends on building environment) |
---|
| 55 | |
---|
| 56 | [About self-build package] |
---|
| 57 | For some kind of software, distributing of binary package |
---|
| 58 | may viorate the patent or law. Therefore we chose self-build |
---|
| 59 | packge, create binary package on your machine, for such kind |
---|
| 60 | of softwares instead of distributing binary package. |
---|
| 61 | |
---|
| 62 | Please obey the national law when you use the created binary |
---|
| 63 | packages. And if you want to use the softwares using patented |
---|
| 64 | thechnology, it may be required to get a permission, make an |
---|
| 65 | agreement or purchas a license. Please consider it with your |
---|
| 66 | purpose or way of use and take appropriate action. |
---|
| 67 | |
---|
| 68 | %description -l ja |
---|
| 69 | K3b 向けに以下の追加プラグインを提供します. |
---|
| 70 | |
---|
| 71 | - WMA ファイルをデコードするための FFMpeg デコーダ |
---|
| 72 | - MP3 ファイルをデコードするための MAD デコーダ |
---|
| 73 | - MP3 ファイルをエンコードするための Lame MP3 エンコーダ |
---|
| 74 | |
---|
| 75 | このパッケージをインストールすると、自動的にソースコードを |
---|
| 76 | ダウンロードしてコンパイルし、k3b-extra の rpm パッケージを作成します。 |
---|
| 77 | また apt-get コマンドや synaptic パッケージマネージャから実行 |
---|
| 78 | した場合は、作成された rpm パッケージのインストールも自動的に |
---|
| 79 | 行います。 |
---|
| 80 | |
---|
| 81 | [注意] |
---|
| 82 | コンパイルに必要な多くの関連パッケージを要求するので通常より |
---|
| 83 | ディスクの領域を多く消費します。 |
---|
| 84 | またインストール時にコンパイルを行うため、通常より時間がかか |
---|
| 85 | る場合があります。(環境にもよりますが数分から数十分程度) |
---|
| 86 | |
---|
| 87 | [self-build パッケージについて] |
---|
| 88 | ソフトウェアによってはバイナリパッケージの配布が特許や法律に |
---|
| 89 | 違反する可能性があるものがあります。その為、このような問題が |
---|
| 90 | 懸念されるソフトウェアについてはバイナリパッケージを直接配布 |
---|
| 91 | せずに、ユーザの環境でバイナリを作成する self-build パッケー |
---|
| 92 | ジという方法を採っています。 |
---|
| 93 | |
---|
| 94 | 作成されたバイナリパッケージの利用にあたっては、各ソフトウェ |
---|
| 95 | アのライセンス、および利用する国の各種法令に従ってください。 |
---|
| 96 | また特許に関連するソフトウェアの場合、利用許諾や契約、ライ |
---|
| 97 | センスの購入などが必要となる場合がありますので、利用する目的 |
---|
| 98 | や形態に応じて各自で判断し適切な対応を取ってください。 |
---|
| 99 | |
---|
| 100 | %prep |
---|
| 101 | [ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1 |
---|
| 102 | |
---|
| 103 | %install |
---|
| 104 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 105 | %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 106 | %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 107 | |
---|
| 108 | %clean |
---|
| 109 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 110 | |
---|
| 111 | %posttrans |
---|
| 112 | /usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" |
---|
| 113 | |
---|
| 114 | %files |
---|
| 115 | %defattr(-,root,root) |
---|
| 116 | %{_datadir}/%{name} |
---|
| 117 | |
---|
| 118 | %changelog |
---|
[9290] | 119 | * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.3a-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[2857] | 122 | * Fri Mar 4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-2 |
---|
| 123 | - added BR: libXpm-devel |
---|
| 124 | |
---|
[2775] | 125 | * Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1 |
---|
| 126 | - new upstream release |
---|
| 127 | |
---|
[1801] | 128 | * Sun Sep 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2 |
---|
| 129 | - fixed %%build section to remove qt-devel dependency |
---|
| 130 | |
---|
[1795] | 131 | * Wed Sep 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
[1427] | 134 | * Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1 |
---|
| 135 | - initial bulid for Vine Linux |
---|