-
Notifications
You must be signed in to change notification settings - Fork 0
/
skype.spec
88 lines (69 loc) · 2.29 KB
/
skype.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
%global debug_package %{nil}
Name: skype
Version: 4.3.0.37
Release: 1%{?dist}
Summary: Skype is a free Internet telephony from Microsoft
License: Commercial
URL: http://www.skype.com/products/skype/linux/
Source0: %{name}-%{version}.tar.bz2
Requires: alsa-lib(x86-32)
Requires: glibc(x86-32)
Requires: libgcc(x86-32)
Requires: libpng(x86-32)
Requires: libX11(x86-32)
Requires: libXext(x86-32)
Requires: libXScrnSaver(x86-32)
Requires: libXv(x86-32)
Requires: libstdc++(x86-32)
Requires: qt(x86-32) >= 4.6
Requires: qt-x11(x86-32)
Requires: qtwebkit(x86-32)
ExcludeArch: x86_64
AutoReqProv: no
%description
Skype is a free Internet telephony from Microsoft.
%prep
%setup -q
%build
%install
rm -rf %{buildroot}
%{__mkdir_p} %{buildroot}
%{__mkdir_p} %{buildroot}%{_bindir}
%{__mkdir_p} %{buildroot}%{_datadir}/applications
%{__mkdir_p} %{buildroot}%{_datadir}/%{name}
%{__mkdir_p} %{buildroot}%{_sysconfdir}/dbus-1/system.d
%{__cp} %{name} %{buildroot}%{_bindir}
%{__cp} %{name}.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
%{__cp} %{name}.desktop %{buildroot}%{_datadir}/applications
# Resources
for DIR in avatars lang sounds; do
%{__cp} -r $DIR %{buildroot}%{_datadir}/%{name}
done
# Icons
for SIZE in 16 24 32 48 64 96 128 256; do
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps
%{__cp} icons/SkypeBlue_${SIZE}x${SIZE}.png \
%{buildroot}%{_datadir}/icons/hicolor/${SIZE}x${SIZE}/apps/%{name}.png
done
%files
%defattr(0755,root,root,0755)
%{_bindir}/%{name}
%defattr(0644,root,root,0755)
%{_sysconfdir}/dbus-1/system.d/%{name}.conf
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/avatars/*
%{_datadir}/%{name}/lang/*
%{_datadir}/%{name}/sounds/*
%{_datadir}/icons/*
%dir %{_datadir}/%{name}/avatars
%dir %{_datadir}/%{name}/lang
%dir %{_datadir}/%{name}/sounds
%dir %{_datadir}/%{name}
%doc LICENSE README third-party_attributions.txt
%changelog
* Wed Jul 9 2014 Murilo Opsfelder Araujo <[email protected]> 4.3.0.37-1
- Update to 4.3.0.37
* Mon Apr 28 2014 Murilo Opsfelder Araujo <[email protected]> 4.2.0.13-1
- Update to 4.2.0.13
* Wed Jul 31 2013 Murilo Opsfelder Araujo <[email protected]> 4.2.0.11-1
- Initial version