]> git.pld-linux.org Git - packages/skype.git/blame - skype.spec
up to 8.74.0.152
[packages/skype.git] / skype.spec
CommitLineData
d7da0c32 1Summary: p2p VoIP application
7a0ce30a 2Summary(pl.UTF-8): Aplikacja VoIP p2p
5c6229b7 3Name: skype
fee767f9 4Version: 8.74.0.152
80afed61 5Release: 1
86e3cfbd 6Epoch: 1
721f4006 7# http://www.skype.com/company/legal/promote/distributionterms.html
8# distributing on CD-ROM and similar media requires approval
d7da0c32 9License: Commercial, redistributable (see LICENSE)
5c6229b7 10Group: Applications/Communications
85e66154 11Source0: https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_%{version}_amd64.deb
fee767f9 12# Source0-md5: eeb73218c2d257bbd252e984a6b3c102
c17ccae2 13Patch0: %{name}-desktop.patch
86e3cfbd
ER
14URL: https://www.skype.com/
15BuildRequires: tar >= 1:1.22
564d9bd7 16Requires(post,postun): desktop-file-utils
7d1f7e27 17Requires(post,postun): gtk-update-icon-cache
ae5c0749 18Requires: hicolor-icon-theme
64870bf6 19Provides: skype-program = %{version}
3d84a821 20Conflicts: skype-static
86e3cfbd 21ExclusiveArch: %{x8664}
5c6229b7
AM
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
244abb31
ER
24%define _enable_debug_packages 0
25%define no_install_post_strip 1
26
86e3cfbd 27# internal caps not to require (packaged here)
a418b440 28%define int_caps libEGL.so libGLESv2.so libffmpeg.so
86e3cfbd
ER
29
30%define _noautoprovfiles %{_appdir}
31
32# list of script capabilities (regexps) not to be used in Provides
52284d68 33%define _noautoreq %{int_caps}
86e3cfbd
ER
34
35%define _appdir %{_libdir}/skypeforlinux
79972973 36
5c6229b7 37%description
d7da0c32 38p2p VoIP application.
5c6229b7 39
35ae13f6 40License requirement: The Software originates from Skype and use the
41links and graphics as published and indicated on
5515ce79 42<http://www.skype.com/go/redistribution/>.
d7da0c32 43
c2ed0d55 44%description -l pl.UTF-8
d7da0c32
JB
45Aplikacja VoIP p2p.
46
47Wymaganie licencyjne: to oprogramowanie pochodzi od Skype i
c2ed0d55 48wykorzystuje odnośniki i grafikę w postaci opublikowanej i oznaczonej
5515ce79 49na <http://www.skype.com/go/redistribution/>.
5c6229b7
AM
50
51%prep
441c2d78 52%setup -qcT
cec67041 53ar x %{SOURCE0}
eab15307 54tar xf data.tar.gz
86e3cfbd
ER
55mv .%{_docdir}/skypeforlinux doc
56mv .%{_bindir} .
57
58mv .%{_datadir}/skypeforlinux .
59mv skypeforlinux/LICENSE* .
60
c17ccae2 61%patch0 -p1
577d3934 62
86e3cfbd 63%build
80afed61 64v=$(strings skypeforlinux/resources/app.asar | grep -C 3 '"productName": "Skype",' | grep -m 1 '"version":' | sed 's/.*: "\([0-9.]\+\)".*/\1/')
7781b545
JP
65c=$(strings skypeforlinux/resources/app.asar | grep '"buildChannel":' | sed 's/.*: "\([^"]\+\)".*/\1/')
66test "$v" = "%{version}" -a "$c" = "production"
86e3cfbd 67
5c6229b7
AM
68%install
69rm -rf $RPM_BUILD_ROOT
86e3cfbd 70install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir},%{_appdir}}
5c6229b7 71
86e3cfbd
ER
72cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
73ln -s skypeforlinux $RPM_BUILD_ROOT%{_bindir}/%{name}
74cp -a skypeforlinux/* $RPM_BUILD_ROOT%{_appdir}
75cp -a usr/share/* $RPM_BUILD_ROOT%{_datadir}
5c6229b7 76
52284d68
JR
77sed -i -e 's|/share/|/%{_lib}/|g' $RPM_BUILD_ROOT%{_bindir}/skypeforlinux
78
5c6229b7
AM
79%clean
80rm -rf $RPM_BUILD_ROOT
81
7d1f7e27
JP
82%post
83%update_icon_cache hicolor
564d9bd7 84%update_desktop_database_post
7d1f7e27
JP
85
86%postun
87%update_icon_cache hicolor
564d9bd7 88%update_desktop_database_postun
7d1f7e27 89
5c6229b7
AM
90%files
91%defattr(644,root,root,755)
86e3cfbd 92%doc doc/* LICENSE*
3af7bfd1 93%attr(755,root,root) %{_bindir}/skype
86e3cfbd
ER
94%attr(755,root,root) %{_bindir}/skypeforlinux
95%{_desktopdir}/skypeforlinux.desktop
8fdb8e07 96%{_desktopdir}/skypeforlinux-share.desktop
86e3cfbd
ER
97%{_pixmapsdir}/skypeforlinux.png
98%{_iconsdir}/hicolor/*/apps/skypeforlinux.png
6295e77f 99%{_datadir}/kservices5/ServiceMenus/skypeforlinux.desktop
86e3cfbd
ER
100
101%dir %{_appdir}
a418b440
JP
102%attr(755,root,root) %{_appdir}/chrome-sandbox
103%attr(755,root,root) %{_appdir}/libEGL.so
104%attr(755,root,root) %{_appdir}/libGLESv2.so
86e3cfbd 105%attr(755,root,root) %{_appdir}/libffmpeg.so
7b99c5ea 106%attr(755,root,root) %{_appdir}/libvulkan.so.1
86e3cfbd 107%attr(755,root,root) %{_appdir}/skypeforlinux
8f6a8ab2
JP
108%attr(755,root,root) %{_appdir}/libvk_swiftshader.so
109%{_appdir}/vk_swiftshader_icd.json
a418b440
JP
110%dir %{_appdir}/swiftshader
111%attr(755,root,root) %{_appdir}/swiftshader/libEGL.so
112%attr(755,root,root) %{_appdir}/swiftshader/libGLESv2.so
86e3cfbd
ER
113%{_appdir}/*.pak
114%{_appdir}/icudtl.dat
a418b440 115%{_appdir}/snapshot_blob.bin
e0d6a4ae 116%{_appdir}/v8_context_snapshot.bin
86e3cfbd
ER
117%{_appdir}/version
118
119%dir %{_appdir}/resources
120%{_appdir}/resources/app.asar
121%{_appdir}/resources/default_app.asar
d74b20d0 122
86e3cfbd 123%dir %{_appdir}/resources/app.asar.unpacked
8f6a8ab2 124%dir %{_appdir}/resources/app.asar.unpacked/modules
8f6a8ab2
JP
125%{_appdir}/resources/app.asar.unpacked/modules/electron_utility.node
126%{_appdir}/resources/app.asar.unpacked/modules/keytar.node
127%{_appdir}/resources/app.asar.unpacked/modules/platform.node
128%{_appdir}/resources/app.asar.unpacked/modules/sharing-indicator.node
129%{_appdir}/resources/app.asar.unpacked/modules/slimcore.node
130%{_appdir}/resources/app.asar.unpacked/modules/trouter-client.node
86e3cfbd 131%{_appdir}/locales
This page took 0.126622 seconds and 4 git commands to generate.