source: projects/specs/trunk/nonfree/self-build-k3b-extra/self-build-k3b-extra-vl.spec @ 9290

Revision 9290, 5.0 KB checked in by inagaki, 9 years ago (diff)

2015-01-24 Ryoichi INAGAKI <ryo1@…>

  • k3b, self-build-k3b-extra, phonon-backend-gstreamer: updated


Line 
1%define pkgname k3b-extra
2
3Summary:        Package to automatically build %{pkgname} rpm package
4Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
5Name:           self-build-%{pkgname}
6Version:        2.0.3a
7Release:        1%{?_dist_release}
8
9Source0:        %{pkgname}-vl.spec
10%define sourceurl0 http://download.kde.org/stable/k3b/k3b-%{version}.tar.xz
11
12License:        GPLv2+
13Group:          Restricted Software
14
15Requires(post): self-build-setup >= 0.8
16Requires(post): self-build-ffmpeg
17Requires(post): self-build-lame
18Requires(post): self-build-libmad
19
20Requires(post): gettext
21Requires(post): kdelibs4-devel
22Requires(post): libkcddb-devel
23Requires(post): libsamplerate-devel
24Requires(post): libXpm-devel
25Requires(post): taglib-devel
26
27Requires:       k3b >= %{version}
28
29BuildArch:      noarch
30BuildRoot:      %{_tmppath}/%{name}-%{version}-root
31
32Vendor:         Project Vine
33Distribution:   Vine Linux
34Packager:       inagaki
35
36%description
37This 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
43If you install this package, it automaticaly downloads source
44code ,compile it, and create rpm packages of k3b-extra.
45And the created rpm packages are automatically installed
46if installation is executed by apt-get command or synaptic
47package manager.
48
49[Note]
50This package requires many other packages to compile
51targetsoftware. So it consume more disk space than usual.
52Also installation takes logner time because of compilation.
53(This will take a few minutes to quarter or half of an hour,
54depends on building environment)
55
56[About self-build package]
57For some kind of software, distributing of binary package
58may viorate the patent or law. Therefore we chose self-build
59packge, create binary package on your machine, for such kind
60of softwares instead of distributing binary package.
61
62Please obey the national law when you use the created binary
63packages. And if you want to use the softwares using patented
64thechnology, it may be required to get a permission, make an
65agreement or purchas a license. Please consider it with your
66purpose or way of use and take appropriate action.
67
68%description -l ja
69K3b 向けに以下の追加プラグインを提供します.
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
119* Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.0.3a-1
120- new upstream release
121
122* Fri Mar  4 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-2
123- added BR: libXpm-devel
124
125* Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1
126- new upstream release
127
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
131* Wed Sep  8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1
132- new upstream release
133
134* Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1
135- initial bulid for Vine Linux
Note: See TracBrowser for help on using the repository browser.