]> git.pld-linux.org Git - packages/skype.git/blob - skype.spec
- Up to 2.2.0.25
[packages/skype.git] / skype.spec
1 %define         pkgname skype
2 Summary:        p2p VoIP application
3 Summary(pl.UTF-8):      Aplikacja VoIP p2p
4 Name:           skype
5 Version:        2.2.0.25
6 Release:        1
7 # http://www.skype.com/company/legal/promote/distributionterms.html
8 # distributing on CD-ROM and similar media requires approval
9 License:        Commercial, redistributable (see LICENSE)
10 Group:          Applications/Communications
11 Source0:        http://download.skype.com/linux/%{pkgname}-ubuntu_%{version}-1_amd64.deb
12 # Source0-md5:  ceec7edb2fdd83f1ba0e0087b1342e84
13 Patch0:         %{name}-desktop.patch
14 URL:            http://www.skype.com/
15 BuildRequires:  rpm-utils
16 # to force 32bit iconv
17 Requires:       %{_libdir}/gconv
18 Requires:       QtCore >= 4.2.1
19 Requires:       QtDBus >= 4.2.1
20 Requires:       QtGui >= 4.2.1
21 Requires:       QtNetwork >= 4.2.1
22 Requires:       alsa-lib >= 1.0.12
23 Requires:       iconv
24 Requires:       libsigc++ >= 2.0
25 Provides:       skype-program = %{version}
26 Conflicts:      skype-static
27 ExclusiveArch:  %{ix86}
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _enable_debug_packages  0
31 # https://developer.skype.com/jira/browse/SCL-569
32 %define         no_install_post_strip   1
33
34 # So that building package on AC system won't write package name dep that Th system can't understand (libstdc++4)
35 %define         _noautoreqdep   libstdc++.so.6
36
37 %description
38 p2p VoIP application.
39
40 License requirement: The Software originates from Skype and use the
41 links and graphics as published and indicated on
42 <http://www.skype.com/go/redistribution/>.
43
44 %description -l pl.UTF-8
45 Aplikacja VoIP p2p.
46
47 Wymaganie licencyjne: to oprogramowanie pochodzi od Skype i
48 wykorzystuje odnośniki i grafikę w postaci opublikowanej i oznaczonej
49 na <http://www.skype.com/go/redistribution/>.
50
51 %prep
52 %setup -qcT
53 ar x %{SOURCE0}
54 tar xzf data.tar.gz
55 mv usr/share/doc/skype/copyright LICENSE
56 mv usr/share/skype/avatars .
57 mv usr/bin/skype .
58 mv usr/share/skype/sounds .
59 mv usr/share/skype/lang .
60 mv etc/dbus-1/system.d/skype.conf .
61 mv usr/share/pixmaps/skype.png .
62 mv usr/share/applications/skype.desktop .
63 %patch0 -p1
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{pkgname},%{_datadir}/%{pkgname}/{lang,sounds,avatars},%{_desktopdir},/etc/dbus-1/system.d}
68
69 install -p %{pkgname} $RPM_BUILD_ROOT%{_bindir}
70 cp -a sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/sounds
71 cp -a lang/*.qm $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/lang
72 cp -a avatars/*.png $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/avatars
73 cp -a skype.conf $RPM_BUILD_ROOT/etc/dbus-1/system.d
74 cp -a *.desktop $RPM_BUILD_ROOT%{_desktopdir}
75 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
76 cp -a skype.png $RPM_BUILD_ROOT%{_pixmapsdir}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc LICENSE
84 /etc/dbus-1/system.d/skype.conf
85 %attr(755,root,root) %{_bindir}/skype
86
87 %dir %{_datadir}/%{pkgname}
88 %{_datadir}/%{pkgname}/sounds
89 %{_datadir}/%{pkgname}/avatars
90
91 %dir %{_datadir}/%{pkgname}/lang
92 %lang(bg) %{_datadir}/%{pkgname}/lang/skype_bg.qm
93 %lang(de) %{_datadir}/%{pkgname}/lang/skype_de.qm
94 %lang(en) %{_datadir}/%{pkgname}/lang/skype_en.qm
95 %lang(es) %{_datadir}/%{pkgname}/lang/skype_es.qm
96 %lang(et) %{_datadir}/%{pkgname}/lang/skype_et.qm
97 %lang(fr) %{_datadir}/%{pkgname}/lang/skype_fr.qm
98 %lang(it) %{_datadir}/%{pkgname}/lang/skype_it.qm
99 %lang(ja) %{_datadir}/%{pkgname}/lang/skype_ja.qm
100 %lang(ko) %{_datadir}/%{pkgname}/lang/skype_ko.qm
101 %lang(lt) %{_datadir}/%{pkgname}/lang/skype_lt.qm
102 %lang(lv) %{_datadir}/%{pkgname}/lang/skype_lv.qm
103 %lang(pl) %{_datadir}/%{pkgname}/lang/skype_pl.qm
104 %lang(pt) %{_datadir}/%{pkgname}/lang/skype_pt_pt.qm
105 %lang(pt_BR) %{_datadir}/%{pkgname}/lang/skype_pt_br.qm
106 %lang(ro) %{_datadir}/%{pkgname}/lang/skype_ro.qm
107 %lang(ru) %{_datadir}/%{pkgname}/lang/skype_ru.qm
108 %lang(th) %{_datadir}/%{pkgname}/lang/skype_th.qm
109 %lang(tr) %{_datadir}/%{pkgname}/lang/skype_tr.qm
110 %lang(uk) %{_datadir}/%{pkgname}/lang/skype_uk.qm
111 %lang(zh) %{_datadir}/%{pkgname}/lang/skype_zh_s.qm
112 %lang(zh_TW) %{_datadir}/%{pkgname}/lang/skype_zh_t.qm
113
114 %{_pixmapsdir}/*.png
115 %{_desktopdir}/*.desktop
This page took 0.303075 seconds and 4 git commands to generate.