Created
January 7, 2015 19:58
-
-
Save mariuszs/fcd95de0697aa9133d01 to your computer and use it in GitHub Desktop.
Fedora 21 RPM Spec for Skype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# skype.spec for skype-4.3.0.37 (x32) | |
# | |
# Build with: rpmbuild -ba --target=i686 skype.spec | |
# | |
# Original skype.spec for 4.2.0.11 | |
# https://github.com/mopsfelder/skype-rpm/blob/master/skype.spec | |
#%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 | |
Requires: glibc | |
Requires: libgcc | |
Requires: libpng | |
Requires: libX11 | |
Requires: libXext | |
Requires: libXScrnSaver | |
Requires: libXv | |
Requires: libstdc++ | |
Requires: qt >= 4.6 | |
Requires: qt-x11 | |
Requires: qtwebkit | |
#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 | |
* Fri Jun 20 2014 Cristian Sava <cristis53 at gmail.com> 4.3.0.37-1 | |
- Version 4.3.0.37 (i686) for Fedora 20 | |
* Thu Feb 26 2014 Cristian Sava <cristis53 at gmail.com> 4.2.0.13-1 | |
- Version 4.2.0.13 (i686) for Fedora 20 | |
* Wed Jul 31 2013 Murilo Opsfelder Araujo <mopsfelder at gmail.com> | |
4.2.0.11-1 | |
- Initial version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment