On 11/29/15 15:48, Muhamad Moghadam wrote:
i try this command :

rpmrebuild -d /tmp -ep /home/user/Downloads/google-earth-stable_current_x86_64.rpm

result : 

# rpmrebuild autogenerated specfile

BuildRoot: /home/user/.tmp/rpmrebuild.3580/work/root
AutoProv: no
%undefine __find_provides
AutoReq: no
%undefine __find_requires
# Do not try autogenerate prereq/conflicts/obsoletes and check files
%undefine __check_files
%undefine __find_prereq
%undefine __find_conflicts
%undefine __find_obsoletes
# Be sure buildpolicy set to do nothing
%define __spec_install_post %{nil}
# Something that need for rpm-4.1
%define _missing_doc_files_terminate_build 0
#BUILDHOST:    wpib2.hot.corp.google.com
#BUILDTIME:    Tue Mar 31 03:20:55 2015
#SOURCERPM:    google-earth-stable-


#OS:           linux
#SIZE:           203231109
#ARCHIVESIZE:           203274140
#ARCH:         x86_64
BuildArch:     x86_64
Name:          google-earth-stable
Release:       0
License:       Multiple, see http://www.google.com/earth
Group:         Applications/Internet

i can't find %dir %attr(0755, root, root) "/usr/bin" line.

You should be in an editor.....    assuming you're using vi you can simply search for it by issuing the vi command...

/\/usr/bin   and it should get you to this area in the rpm....

%attr(0444, root, root) "/opt/google/earth/free/shaders/watersurface.glslesv"
%attr(0755, root, root) "/opt/google/earth/free/xdg-mime"
%attr(0755, root, root) "/opt/google/earth/free/xdg-settings"
%dir %attr(0755, root, root) "/usr/bin"
%attr(0777, root, root) "/usr/bin/google-earth"
%pre -p /bin/sh

On Sun, Nov 29, 2015 at 10:47 AM, Ed Greshko <ed.greshko@greshko.com> wrote:

On 11/29/15 14:29, Muhamad Moghadam wrote:
why isn't google-earth in rpmfusion? 

google released a rpm package, but can not be installed!!!

Just google "rpmrebuild google earth fedora" and you will find many pointers as to how to do it.

You need to have rpmrebuild installed and then look at this one example....

user@centos7 $ rpmrebuild -d /tmp -ep google-earth-stable_current_x86_64.rpm

Remove the line: %dir %attr(0755, root, root) "/usr/bin"

Save and exit

Answer yes

root@Centos7# yum install /tmp/x86_64/local path to google earth package

In God we Trust.
و لکن اکثرهم لا یعقلون