source: projects/specs/trunk/nonfree/self-build-Skype/self-build-Skype-vl.spec @ 7121

Revision 7121, 3.7 KB checked in by daisuke, 11 years ago (diff)

skype: update to 4.1.0.20

Line 
1%define pkgname Skype
2%define name    self-build-%{pkgname}
3%define ver     4.1.0.20
4%define rel     1
5
6%define sourceurl0      http://download.skype.com/linux/skype-%{version}.tar.bz2
7
8Summary:        Package to automatically build %{pkgname} rpm package
9Summary(ja):    %{pkgname} の rpm パッケージを自動作成するパッケージ
10Name:           %{name}
11Version:        %{ver}
12Release:        %{rel}%{?_dist_release}
13Source0:        %{pkgname}-vl.spec
14Source1:        vine-skype.desktop
15
16License:        non-free
17Group:          Restricted Software
18
19##!! Requires(posttrans) not yet implemented. So we use (post) instead.
20Requires(post):         self-build-setup >= 0.9.9
21
22BuildArch:    noarch
23BuildRoot:    %{_tmppath}/%{name}-%{version}-root
24
25Distribution: Vine Linux
26Vendor:       Project Vine
27Packager:     iwaim
28
29%description
30Skype Internet Telephony
31
32If you install this package, it automaticaly downloads source
33code, compile it, and create rpm packages of %{pkgname}-%{version}.
34And the created rpm packages are automatically installed
35if installation is executed by apt-get command or synaptic
36package manager.
37
38[About self-build package]
39For some kind of software, distributing of binary package
40may viorate the patent or law. Therefore we chose self-build
41packge, create binary package on your machine, for such kind
42of softwares instead of distributing binary package.
43
44Please obey the national law when you use the created binary
45packages. And if you want to use the softwares using patented
46thechnology, it may be required to get a permission, make an
47agreement or purchas a license. Please consider it with your
48purpose or way of use and take appropriate action.
49
50%description -l ja
51Skype インターネット・テレフォニー
52
53このパッケージをインストールすると、自動的にソースコードを
54ダウンロードしてコンパイルし、%{pkgname}-%{version}
55の rpm パッケージを作成します。
56また apt-get コマンドや synaptic パッケージマネージャから実行
57した場合は、作成された rpm パッケージのインストールも自動的に
58行います。
59
60[self-build パッケージについて]
61ソフトウェアによってはバイナリパッケージの配布が特許や法律に
62違反する可能性があるものがあります。その為、このような問題が
63懸念されるソフトウェアについてはバイナリパッケージを直接配布
64せずに、ユーザの環境でバイナリを作成する self-build パッケー
65ジという方法を採っています。
66
67作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
68アのライセンス、および利用する国の各種法令に従ってください。
69また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
70センスの購入などが必要となる場合がありますので、利用する目的
71や形態に応じて各自で判断し適切な対応を取ってください。
72
73
74%prep
75[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
76
77%install
78%{__rm} -rf %{buildroot}
79%{__install} -d %{buildroot}%{_datadir}/%{name}
80%{__install} -m 644 %{SOURCE0} %{buildroot}%{_datadir}/%{name}
81%{__install} -m 644 %{SOURCE1} %{buildroot}%{_datadir}/%{name}
82
83%clean
84%{__rm} -rf %{buildroot}
85
86%posttrans
87/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 5000
88
89%files
90%defattr(-,root,root)
91%{_datadir}/%{name}
92
93%changelog
94* Fri Nov 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0.20-1
95- update to 4.1.0.20
96
97* Fri May 18 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.99-1
98- update to 2.2.0.99
99
100* Wed Jan  4 2012 IWAI, Masaharu <iwai@alib.jp> 2.2.0.35-1
101- first release for Vine Linux
102
Note: See TracBrowser for help on using the repository browser.