source: projects/specs/trunk/nonfree/self-build-audacious-plugins-extra/self-build-audacious-plugins-extra-vl.spec @ 12253

Revision 12253, 5.3 KB checked in by ara_t, 5 years ago (diff)

self-build-audacious-plugins-extra: change BR

Line 
1%define pkgname audacious-plugins-extra
2%define name    self-build-%{pkgname}
3%define version 3.6.1
4%define release 2%{?_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
11Summary:        Package to automatically build %{pkgname} rpm package
12Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
13Name:           %{name}
14Version:        %{version}
15Release:        %{release}
16Source0:        %{pkgname}-vl.spec
17
18# list of license per plugin in README.licences
19License:        GPLv2+ and LGPLv2+ and GPLv3 and MIT and BSD
20Group:          Restricted Software
21
22Requires(post): self-build-setup >= 0.8
23Requires(post): self-build-faad2
24Requires(post): self-build-ffmpeg
25Requires(post): self-build-lame
26Requires(post): self-build-mpg123
27
28Requires(post): audacious-devel >= %{aud_ver}
29Requires(post): libogg-devel
30Requires(post): libvorbis-devel
31Requires(post): flac-devel
32
33Requires:       audacious >= %{aud_ver}
34
35BuildArch:      noarch
36BuildRoot:      %{_tmppath}/%{name}-%{version}-root
37
38Obsoletes:      self-build-audacious-mad < %{version}-%{release}
39
40Vendor:         Project Vine
41Distribution:   Vine Linux
42Packager:       inagaki
43
44%description
45This package contains input plugins that enable playback of MP3/TTA/WMA
46files and a output plugins tha enable encode MP3 files in Audacious.
47
48If you install this package, it automaticaly downloads source
49code ,compile it, and create rpm packages of audacious-aac, audacious-ffmpeg,
50audacious-mad and audacious-lame.
51And the created rpm packages are automatically installed
52if installation is executed by apt-get command or synaptic
53package manager.
54
55[Note]
56This package requires many other packages to compile
57targetsoftware. So it consume more disk space than usual.
58Also installation takes logner time because of compilation.
59(This will take a few minutes to quarter or half of an hour,
60depends on building environment)
61
62[About self-build package]
63For some kind of software, distributing of binary package
64may viorate the patent or law. Therefore we chose self-build
65packge, create binary package on your machine, for such kind
66of softwares instead of distributing binary package.
67
68Please obey the national law when you use the created binary
69packages. And if you want to use the softwares using patented
70thechnology, it may be required to get a permission, make an
71agreement or purchas a license. Please consider it with your
72purpose or way of use and take appropriate action.
73
74%description -l ja
75Audacious で MP3/TTA/WMA ファイルの再生を可能にするプラグインです。
76
77このパッケージをインストールすると、自動的にソースコードを
78ダウンロードしてコンパイルし、audacious-aac, audacious-ffmpeg,
79audacious-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* Thu Oct 10 2019 Toshiaki Ara <ara_t@384.jp> 3.6.1-2
123- change BR: self-build-lame to lame-devel
124
125* Fri Apr  3 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.6.1-1
126- new upstream release
127- added R(post): self-build-mpg123 instead of self-build-libmad
128
129* Sat Jun  5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3-2
130- added aac, ffaudio, filewriter_mp3 plugins
131- Obsoletes: self-build-audacious-mad < 2.3-1
132
133* Sat May 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3-1
134- new upstream release
135
136* Thu Aug 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-2
137- fixed Requires(post)
138
139* Sun Aug  9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-1
140- initial bulid
Note: See TracBrowser for help on using the repository browser.