]> git.pld-linux.org Git - packages/skype.git/blame - skype.spec
up to 8.54.0.91
[packages/skype.git] / skype.spec
CommitLineData
d7da0c32 1Summary: p2p VoIP application
7a0ce30a 2Summary(pl.UTF-8): Aplikacja VoIP p2p
5c6229b7 3Name: skype
fb34de12 4Version: 8.54.0.91
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
fb34de12 12# Source0-md5: e4298ffbb7532251bbdcbca0deac6513
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
97%{_pixmapsdir}/skypeforlinux.png
98%{_iconsdir}/hicolor/*/apps/skypeforlinux.png
99
100%dir %{_appdir}
a418b440
JP
101%attr(755,root,root) %{_appdir}/chrome-sandbox
102%attr(755,root,root) %{_appdir}/libEGL.so
103%attr(755,root,root) %{_appdir}/libGLESv2.so
86e3cfbd 104%attr(755,root,root) %{_appdir}/libffmpeg.so
86e3cfbd 105%attr(755,root,root) %{_appdir}/skypeforlinux
a418b440
JP
106%dir %{_appdir}/swiftshader
107%attr(755,root,root) %{_appdir}/swiftshader/libEGL.so
108%attr(755,root,root) %{_appdir}/swiftshader/libGLESv2.so
86e3cfbd
ER
109%{_appdir}/*.pak
110%{_appdir}/icudtl.dat
111%{_appdir}/natives_blob.bin
a418b440 112%{_appdir}/snapshot_blob.bin
e0d6a4ae 113%{_appdir}/v8_context_snapshot.bin
86e3cfbd
ER
114%{_appdir}/version
115
116%dir %{_appdir}/resources
117%{_appdir}/resources/app.asar
118%{_appdir}/resources/default_app.asar
119%{_appdir}/resources/electron.asar
d74b20d0 120
86e3cfbd
ER
121%dir %{_appdir}/resources/app.asar.unpacked
122%dir %{_appdir}/resources/app.asar.unpacked/node_modules
a418b440
JP
123%dir %{_appdir}/resources/app.asar.unpacked/node_modules/cld
124%dir %{_appdir}/resources/app.asar.unpacked/node_modules/cld/build
125%dir %{_appdir}/resources/app.asar.unpacked/node_modules/cld/build/Release
126%{_appdir}/resources/app.asar.unpacked/node_modules/cld/build/Release/cld.node
db3d11bb
JR
127%dir %{_appdir}/resources/app.asar.unpacked/node_modules/desktop-idle
128%dir %{_appdir}/resources/app.asar.unpacked/node_modules/desktop-idle/build
129%dir %{_appdir}/resources/app.asar.unpacked/node_modules/desktop-idle/build/Release
130%{_appdir}/resources/app.asar.unpacked/node_modules/desktop-idle/build/Release/desktopIdle.node
6f120e8d
JR
131%dir %{_appdir}/resources/app.asar.unpacked/node_modules/electron-ssid
132%dir %{_appdir}/resources/app.asar.unpacked/node_modules/electron-ssid/build
133%dir %{_appdir}/resources/app.asar.unpacked/node_modules/electron-ssid/build/Release
134%{_appdir}/resources/app.asar.unpacked/node_modules/electron-ssid/build/Release/electron-ssid.node
a418b440
JP
135%dir %{_appdir}/resources/app.asar.unpacked/node_modules/@felixrieseberg
136%dir %{_appdir}/resources/app.asar.unpacked/node_modules/@felixrieseberg/spellchecker
137%dir %{_appdir}/resources/app.asar.unpacked/node_modules/@felixrieseberg/spellchecker/build
138%dir %{_appdir}/resources/app.asar.unpacked/node_modules/@felixrieseberg/spellchecker/build/Release
139%{_appdir}/resources/app.asar.unpacked/node_modules/@felixrieseberg/spellchecker/build/Release/spellchecker.node
d74b20d0
JR
140%dir %{_appdir}/resources/app.asar.unpacked/node_modules/keyboard-layout
141%dir %{_appdir}/resources/app.asar.unpacked/node_modules/keyboard-layout/build
142%dir %{_appdir}/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release
143%{_appdir}/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
86e3cfbd
ER
144%dir %{_appdir}/resources/app.asar.unpacked/node_modules/keytar
145%dir %{_appdir}/resources/app.asar.unpacked/node_modules/keytar/build
146%dir %{_appdir}/resources/app.asar.unpacked/node_modules/keytar/build/Release
d74b20d0
JR
147%attr(755,root,root) %{_appdir}/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node
148%dir %{_appdir}/resources/app.asar.unpacked/node_modules/slimcore
149%dir %{_appdir}/resources/app.asar.unpacked/node_modules/slimcore/bin
150%dir %{_appdir}/resources/app.asar.unpacked/node_modules/slimcore/bin/sharing-indicator.node
151%{_appdir}/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
86e3cfbd
ER
152%dir %{_appdir}/resources/app.asar.unpacked/node_modules/sqlite3
153%dir %{_appdir}/resources/app.asar.unpacked/node_modules/sqlite3/lib
154%dir %{_appdir}/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding
86e3cfbd 155%attr(755,root,root) %{_appdir}/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding/node_sqlite3.node
86e3cfbd 156%{_appdir}/locales
This page took 0.163955 seconds and 4 git commands to generate.