Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
QT-4
>
googleearth
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
googleearth.spec
@@ -12,19 +12,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: kdebase4 Requires: xdg-utils +%if 0%{?suse_version} >= 1110 +BuildRequires: chrpath +%endif %description Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. You can explore rich geographical content, save your toured places, and share with others. %prep %setup -c -T -n %{pkgname}-%{version} -export NO_BRP_CHECK_RPATH=true mkdir -p $RPM_BUILD_DIR/%{pkgname}-%{version} chmod 755 %{S:0} %{S:0} --noexec --nox11 --nochown --target $RPM_BUILD_DIR/%{pkgname}-%{version} %build -export NO_BRP_CHECK_RPATH=true %install mkdir -p %{buildroot}%{_bindir} @@ -43,7 +44,9 @@ sed -i s#"%DATADIR%"#"%{_datadir}"#g %{buildroot}%{_datadir}/applications/%{name}.desktop sed -i s#"%NAME%"#"%{name}"#g %{buildroot}%{_datadir}/applications/%{name}.desktop %{__ln_s} -f %{_datadir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name} -export NO_BRP_CHECK_RPATH=true +%if 0%{?suse_version} >= 1110 +chrpath -d %{buildroot}%{buildroot}%{_datadir}/%{name}/%{name} +%endif %post xdg-mime install %{_datadir}/%{name}/linux/xdg/xdg-mime @@ -62,7 +65,12 @@ %files %defattr(-,root,root) %{_bindir}/%{name} -%{_datadir}/%{name} +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/%{name} +%{_datadir}/%{name}/*.png +%{_datadir}/%{name}/*.xpm +%dir %{_datadir}/%{name}/linux +%{_datadir}/%{name}/linux %{_datadir}/applications/googleearth.desktop %{_datadir}/mime/package/googleearth-mimetypes.xml