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

Revision 2775, 4.9 KB checked in by inagaki, 13 years ago (diff)

updated: choqok, k3b, kaffeine, kdevelop, kdevplatform,

konversation, kde-partitionmanager, qjson, self-build-k3b-extra

NEW: skrooge

Line 
1%define pkgname k3b-extra
2%define name    self-build-%{pkgname}
3%define version 2.0.2
4%define release 1%{?_dist_release}
5
6%define sourceurl0      http://downloads.sourceforge.net/project/k3b/k3b/%{version}/k3b-%{version}.tar.bz2
7
8Summary:        Package to automatically build %{pkgname} rpm package
9Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
10Name:           %{name}
11Version:        %{version}
12Release:        %{release}
13Source0:        %{pkgname}-vl.spec
14
15License:        GPLv2
16Group:          Restricted Software
17
18Requires(post): self-build-setup >= 0.8
19Requires(post): self-build-ffmpeg
20Requires(post): self-build-lame
21Requires(post): self-build-libmad
22
23Requires(post): desktop-file-utils
24Requires(post): gettext
25Requires(post): kdelibs4-devel
26Requires(post): kdemultimedia4-devel
27Requires(post): libdvdread-devel
28Requires(post): libmusicbrainz-devel
29Requires(post): libsamplerate-devel
30Requires(post): taglib-devel
31
32Requires:       k3b >= %{version}
33
34BuildArch:      noarch
35BuildRoot:      %{_tmppath}/%{name}-%{version}-root
36
37Packager:       inagaki
38
39%description
40This package contains additional plugins for K3b.
41
42- FFMpeg decoder for decoding WMA file(s)
43- MAD decoder for decoding MP3 file(s)
44- Lame MP3 encoder for encoding MP3 file(s)
45
46If you install this package, it automaticaly downloads source
47code ,compile it, and create rpm packages of k3b-extra.
48And the created rpm packages are automatically installed
49if installation is executed by apt-get command or synaptic
50package manager.
51
52[Note]
53This package requires many other packages to compile
54targetsoftware. So it consume more disk space than usual.
55Also installation takes logner time because of compilation.
56(This will take a few minutes to quarter or half of an hour,
57depends on building environment)
58
59[About self-build package]
60For some kind of software, distributing of binary package
61may viorate the patent or law. Therefore we chose self-build
62packge, create binary package on your machine, for such kind
63of softwares instead of distributing binary package.
64
65Please obey the national law when you use the created binary
66packages. And if you want to use the softwares using patented
67thechnology, it may be required to get a permission, make an
68agreement or purchas a license. Please consider it with your
69purpose or way of use and take appropriate action.
70
71%description -l ja
72K3b 向けに以下の追加プラグインを提供します.
73
74- WMA ファイルをデコードするための FFMpeg デコーダ
75- MP3 ファイルをデコードするための MAD デコーダ
76- MP3 ファイルをエンコードするための Lame MP3 エンコーダ
77
78このパッケージをインストールすると、自動的にソースコードを
79ダウンロードしてコンパイルし、k3b-extra の 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* Sat Feb 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1
123- new upstream release
124
125* Sun Sep 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-2
126- fixed %%build section to remove qt-devel dependency
127
128* Wed Sep  8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1
129- new upstream release
130
131* Thu Jul 22 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1
132- initial bulid for Vine Linux
Note: See TracBrowser for help on using the repository browser.