Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fusionfuture:cad
ovital-map
ovital-map.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ovital-map.spec of Package ovital-map
%global debug_package %{nil} %global __provides_exclude_from ^/opt/.*$ %global __requires_exclude ^lib(ass|bz|compose|cups|default|fcitx|glt|gst|ibus|json|Qt|q|scene).*$ %define program_version 10.1.5 Name: ovital-map Version: %{program_version} Release: 0%{?dist} Summary: 奥维互动地图 License: SUSE-NonFree Group: Productivity/Graphics/CAD URL: https://www.ovital.com/product/ Source0: %{name}.deb Source1: %{name}.rpmlintrc BuildRequires: hicolor-icon-theme BuildRequires: desktop-file-utils %if 0%{?suse_version} || 0%{?fedora} || 0%{?mageia} BuildRequires: fdupes %endif %if 0%{?suse_version} BuildRequires: update-desktop-files %endif Provides: omap ExclusiveArch: x86_64 %description Explore, search and discover the planet %prep ar x %{SOURCE0} tar -xzvf data.tar.gz # Add keywords to desktop find %{_builddir}/ -type f -name ovital-map.desktop -exec sed -i -e '$i Keywords=omap;ovobj;' {} \; find %{_builddir}/ -type f -name ovital-map.desktop -exec sed -i -e '/^MultipleArgs/d' {} \; %build %install mkdir -p %{buildroot}%{_bindir} cp -a %{_builddir}/usr %{_builddir}/opt %{buildroot} # .desktop %if 0%{?suse_version} %suse_update_desktop_file %{buildroot}%{_datadir}/applications/ovital-map.desktop %endif %if 0%{?suse_version} || 0%{?fedora} || 0%{?mageia} %fdupes -s %{buildroot}/opt %endif # DISABLE RPath Check export NO_BRP_CHECK_RPATH=true %files /opt/com.ovital.map/ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor