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