[8011] | 1 | %define pkgname mikutter |
---|
| 2 | |
---|
| 3 | %define sourceurl http://mikutter.hachune.net/bin/%{pkgname}.%{version}.tar.gz |
---|
| 4 | |
---|
| 5 | Summary: Package to automatically build %{pkgname} rpm package |
---|
| 6 | Summary(ja): %{pkgname} の rpm パッケージを自動作成するパッケージ |
---|
| 7 | Name: self-build-%{pkgname} |
---|
[8556] | 8 | Version: 3.0.0 |
---|
[8011] | 9 | Release: 1%{?_dist_release} |
---|
| 10 | Source0: %{pkgname}-vl.spec |
---|
| 11 | License: GPLv3 |
---|
| 12 | Group: Restricted Software |
---|
| 13 | |
---|
| 14 | Requires(post): self-build-setup >= 0.9.9 |
---|
| 15 | |
---|
| 16 | # (build)requies of target package. |
---|
| 17 | Requires(post): alsa-utils |
---|
| 18 | Requires(post): ruby >= 1.9.3 |
---|
| 19 | Requires(post): ruby-gtk2 >= 1.5.0 |
---|
| 20 | Requires(post): rcairo >= 1.10.0 |
---|
| 21 | Requires(post): desktop-file-utils |
---|
| 22 | |
---|
| 23 | BuildArch: noarch |
---|
| 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 25 | |
---|
| 26 | Packager: Takemikaduchi |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | mikutter is simple, powerful and moeful twitter client. |
---|
| 30 | |
---|
| 31 | If you install this package, it automaticaly downloads source |
---|
| 32 | code, compile it, and create rpm packages of |
---|
| 33 | %{pkgname}-%{version}. |
---|
| 34 | And the created rpm packages are automatically installed |
---|
| 35 | if installation is executed by apt-get command or synaptic |
---|
| 36 | package manager. |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | [Note] |
---|
| 40 | This package requires many other packages to compile |
---|
| 41 | targetsoftware. So it consume more disk space than usual. |
---|
| 42 | Also installation takes logner time because of compilation. |
---|
| 43 | (This will take a few minutes to quarter or half of an hour, |
---|
| 44 | depends on building environment) |
---|
| 45 | |
---|
| 46 | [About self-build package] |
---|
| 47 | For some kind of software, distributing of binary package |
---|
| 48 | may viorate the patent or law. Therefore we chose self-build |
---|
| 49 | packge, create binary package on your machine, for such kind |
---|
| 50 | of softwares instead of distributing binary package. |
---|
| 51 | |
---|
| 52 | Please obey the national law when you use the created binary |
---|
| 53 | packages. And if you want to use the softwares using patented |
---|
| 54 | thechnology, it may be required to get a permission, make an |
---|
| 55 | agreement or purchas a license. Please consider it with your |
---|
| 56 | purpose or way of use and take appropriate action. |
---|
| 57 | |
---|
| 58 | %description -l ja |
---|
| 59 | 全てのミク廃、そして Twitter 中毒者へ贈る、至高の Twitter |
---|
| 60 | Client を目指す Twitter Client。 |
---|
| 61 | |
---|
| 62 | このパッケージをインストールすると、自動的にソースコードを |
---|
| 63 | ダウンロードしてコンパイルし、%{pkgname}-%{version} |
---|
| 64 | の rpm パッケージを作成します。 |
---|
| 65 | また apt-get コマンドや synaptic パッケージマネージャから実行 |
---|
| 66 | した場合は、作成された rpm パッケージのインストールも自動的に |
---|
| 67 | 行います。 |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | [注意] |
---|
| 71 | コンパイルに必要な多くの関連パッケージを要求するので通常より |
---|
| 72 | ディスクの領域を多く消費します。 |
---|
| 73 | またインストール時にコンパイルを行うため、通常より時間がかか |
---|
| 74 | る場合があります。(環境にもよりますが数分から数十分程度) |
---|
| 75 | |
---|
| 76 | [self-build パッケージについて] |
---|
| 77 | ソフトウェアによってはバイナリパッケージの配布が特許や法律に |
---|
| 78 | 違反する可能性があるものがあります。その為、このような問題が |
---|
| 79 | 懸念されるソフトウェアについてはバイナリパッケージを直接配布 |
---|
| 80 | せずに、ユーザの環境でバイナリを作成する self-build パッケー |
---|
| 81 | ジという方法を採っています。 |
---|
| 82 | |
---|
| 83 | 作成されたバイナリパッケージの利用にあたっては、各ソフトウェ |
---|
| 84 | アのライセンス、および利用する国の各種法令に従ってください。 |
---|
| 85 | また特許に関連するソフトウェアの場合、利用許諾や契約、ライ |
---|
| 86 | センスの購入などが必要となる場合がありますので、利用する目的 |
---|
| 87 | や形態に応じて各自で判断し適切な対応を取ってください。 |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %prep |
---|
| 91 | [ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1 |
---|
| 92 | |
---|
| 93 | |
---|
| 94 | %install |
---|
| 95 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 96 | %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 97 | %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %clean |
---|
| 101 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 102 | |
---|
| 103 | %posttrans |
---|
[8556] | 104 | /usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec %{sourceurl} 5000 |
---|
[8011] | 105 | |
---|
| 106 | %files |
---|
| 107 | %{_datadir}/%{name} |
---|
| 108 | |
---|
| 109 | %changelog |
---|
[8556] | 110 | * Sun Jun 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[8371] | 113 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1537-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
[8191] | 116 | * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1476-1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
[8059] | 119 | * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1430-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[8011] | 122 | * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2.1410-1 |
---|
| 123 | - initial build |
---|
| 124 | |
---|