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