Re: The new skype-4.3.0.37 is out. Build your own rpm for Fedora 20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, June 20, 2014 01:28:13 PM Cristian Sava wrote:
> Hi all,
> 
> For those of you wanting skype.rpm for F20:
> 1) Install the rpm building environment as shown here:
> http://fedoraproject.org/wiki/How_to_create_an_RPM_package#SPEC_example
> 
> # yum install @development-tools
> # yum install fedora-packager
> # /usr/sbin/useradd makerpm
> # usermod -a -G mock makerpm
> # passwd makerpm
> $ rpmdev-setuptree
> 
> 2) Go to http://www.skype.com/ro/download-skype/skype-for-computer/
> and chose "Dynamic" and download skype-4.3.0.37.tar.bz2 to
> ~/rpmbuild/SOURCES directory
> 
> 3) In the ~/rpmbuild/SOURCES make the file skype.desktop with this
> content:
> 
> [Desktop Entry]
> Name=Skype
> Comment=Skype Internet Telephony
> Exec=env PULSE_LATENCY_MSEC=60 skype %U
> Icon=skype.png
> Terminal=false
> Type=Application
> Encoding=UTF-8
> Categories=Network;Application;
> MimeType=x-scheme-handler/skype;
> X-KDE-Protocols=skype
> 
> 4) In ~/rpmbuild/SPECS make skype.spec with this content:
> 
> # 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@xxxxxxxxx> 4.3.0.37-1
> - Version 4.3.0.37 (i686) for Fedora 20
> 
> * Thu Feb 26 2014 Cristian Sava <cristis53@xxxxxxxxx> 4.2.0.13-1
> - Version 4.2.0.13 (i686) for Fedora 20
> 
> * Wed Jul 31 2013 Murilo Opsfelder Araujo <mopsfelder@xxxxxxxxx>
> 4.2.0.11-1
> - Initial version
> 
> 5) Go to ~rpmbuild/SPECS and build your skype using
> rpmbuild -ba --target=i686 skype.spec
> 
> You will get skype-4.3.0.37-1.fc20.i686.rpm in
> ~/rpmbuild/RPMS/i686 directory
> 
> 6) Install it with
> sudo yum update skype-4.3.0.37-1.fc20.i686.rpm
> 
> That's all!
> Good luck!
> 
> C. Sava

What is wrong with the official RPM?

sudo yum -y install libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 
pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686 
qtwebkit.i686

sudo yum install skype-<version>-fedora.i586.rpm

works just fine.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux