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

Revision 9031, 6.0 KB checked in by daisuke, 10 years ago (diff)

self-build-Skype: update to 4.3.0.37

Line 
1%define pkgname Skype
2%define name    self-build-%{pkgname}
3%define ver     4.3.0.37
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
22# Requirements for Skype dynamic
23%ifarch x86_64
24Requires(post): compat32-alsa-lib
25Requires(post): compat32-dbus
26Requires(post): compat32-e2fsprogs
27Requires(post): compat32-fontconfig
28Requires(post): compat32-freetype2
29Requires(post): compat32-gamin
30Requires(post): compat32-glib2
31Requires(post): compat32-keyutils-libs
32Requires(post): compat32-krb5-libs
33Requires(post): compat32-lcms
34Requires(post): compat32-libICE
35Requires(post): compat32-libSM
36Requires(post): compat32-libX11
37Requires(post): compat32-libXScrnSaver
38Requires(post): compat32-libXau
39Requires(post): compat32-libXcursor
40Requires(post): compat32-libXdamage
41Requires(post): compat32-libXdmcp
42Requires(post): compat32-libXext
43Requires(post): compat32-libXfixes
44Requires(post): compat32-libXi
45Requires(post): compat32-libXinerama
46Requires(post): compat32-libXrandr
47Requires(post): compat32-libXrender
48Requires(post): compat32-libXv
49Requires(post): compat32-libXxf86vm
50Requires(post): compat32-libdrm
51Requires(post): compat32-libexpat
52Requires(post): compat32-libjpeg-turbo
53Requires(post): compat32-libmng
54Requires(post): compat32-libpciaccess
55Requires(post): compat32-libpng
56Requires(post): compat32-libtiff
57Requires(post): compat32-libxcb
58Requires(post): compat32-mesa-libGL
59Requires(post): compat32-mesa-libGLU
60Requires(post): compat32-openssl
61Requires(post): compat32-qt4
62Requires(post): qt4, openssl
63%else
64Requires(post): alsa-lib
65Requires(post): dbus
66Requires(post): e2fsprogs
67Requires(post): fontconfig
68Requires(post): freetype2
69Requires(post): gamin
70Requires(post): glib2
71Requires(post): keyutils-libs
72Requires(post): krb5-libs
73Requires(post): lcms
74Requires(post): libICE
75Requires(post): libSM
76Requires(post): libX11
77Requires(post): libXScrnSaver
78Requires(post): libXau
79Requires(post): libXcursor
80Requires(post): libXdamage
81Requires(post): libXdmcp
82Requires(post): libXext
83Requires(post): libXfixes
84Requires(post): libXi
85Requires(post): libXinerama
86Requires(post): libXrandr
87Requires(post): libXrender
88Requires(post): libXv
89Requires(post): libXxf86vm
90Requires(post): libdrm
91Requires(post): libexpat
92Requires(post): libjpeg-turbo
93Requires(post): libmng
94Requires(post): libpciaccess
95Requires(post): libpng
96Requires(post): libtiff
97Requires(post): libxcb
98Requires(post): mesa-libGL
99Requires(post): mesa-libGLU
100Requires(post): openssl
101Requires(post): qt4
102%endif
103
104BuildRoot:    %{_tmppath}/%{name}-%{version}-root
105
106Distribution: Vine Linux
107Vendor:       Project Vine
108Packager:     iwaim, daisuke
109
110%description
111Skype Internet Telephony
112
113If you install this package, it automaticaly downloads source
114code, compile it, and create rpm packages of %{pkgname}-%{version}.
115And the created rpm packages are automatically installed
116if installation is executed by apt-get command or synaptic
117package manager.
118
119[About self-build package]
120For some kind of software, distributing of binary package
121may viorate the patent or law. Therefore we chose self-build
122packge, create binary package on your machine, for such kind
123of softwares instead of distributing binary package.
124
125Please obey the national law when you use the created binary
126packages. And if you want to use the softwares using patented
127thechnology, it may be required to get a permission, make an
128agreement or purchas a license. Please consider it with your
129purpose or way of use and take appropriate action.
130
131%description -l ja
132Skype インターネット・テレフォニー
133
134このパッケージをインストールすると、自動的にソースコードを
135ダウンロードしてコンパイルし、%{pkgname}-%{version}
136の rpm パッケージを作成します。
137また apt-get コマンドや synaptic パッケージマネージャから実行
138した場合は、作成された rpm パッケージのインストールも自動的に
139行います。
140
141[self-build パッケージについて]
142ソフトウェアによってはバイナリパッケージの配布が特許や法律に
143違反する可能性があるものがあります。その為、このような問題が
144懸念されるソフトウェアについてはバイナリパッケージを直接配布
145せずに、ユーザの環境でバイナリを作成する self-build パッケー
146ジという方法を採っています。
147
148作成されたバイナリパッケージの利用にあたっては、各ソフトウェ
149アのライセンス、および利用する国の各種法令に従ってください。
150また特許に関連するソフトウェアの場合、利用許諾や契約、ライ
151センスの購入などが必要となる場合がありますので、利用する目的
152や形態に応じて各自で判断し適切な対応を取ってください。
153
154
155%prep
156[ "%{version}-%{release}" != $(rpm -q --queryformat "%%{version}-%%{release}\n" --specfile %{SOURCE0} | tail -1) ] && exit 1
157
158%install
159%{__rm} -rf %{buildroot}
160%{__install} -d %{buildroot}%{_datadir}/%{name}
161%{__install} -m 644 %{SOURCE0} %{buildroot}%{_datadir}/%{name}
162%{__install} -m 644 %{SOURCE1} %{buildroot}%{_datadir}/%{name}
163
164%clean
165%{__rm} -rf %{buildroot}
166
167%posttrans
168/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 5000
169
170%files
171%defattr(-,root,root)
172%{_datadir}/%{name}
173
174%changelog
175* Mon Oct 27 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 4.3.0.37-1
176- update to 4.3.0.37
177
178* Fri Nov 16 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.0.20-1
179- update to 4.1.0.20
180
181* Fri May 18 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.99-1
182- update to 2.2.0.99
183
184* Wed Jan  4 2012 IWAI, Masaharu <iwai@alib.jp> 2.2.0.35-1
185- first release for Vine Linux
186
Note: See TracBrowser for help on using the repository browser.