Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Rotkraut
josm
josm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File josm.spec of Package josm
# # spec file for package josm # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: josm Version: 1.5.19253 Release: 0 Url: https://josm.openstreetmap.de/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: coreutils BuildRequires: unzip BuildRequires: java BuildArch: noarch Source1: josm-tested.jar Source2: josm Source3: josm.desktop Source4: josm.png Source11: josm.xml Requires: java >= 11 Recommends: josm-fonts Summary: An offline editor for OpenStreetMap maps License: GPL-2.0-or-later Group: Productivity/Databases/Clients %if 0%{suse_version} < 1330 BuildRequires: shared-mime-info BuildRequires: update-desktop-files Requires(post): shared-mime-info Requires(post): update-desktop-files Requires(postun): shared-mime-info Requires(postun): update-desktop-files %endif %description JOSM is an extensible editor for OpenStreetMap (OSM). It supports loading GPX tracks, background imagery and OSM data from local sources as well as from online sources and allows to edit the OSM data (nodes, ways and relations) and their metadata tags. OpenStreetMap is a project aimed squarely at creating and providing free geographic data such as street maps to anyone who wants them. %package fonts Summary: Dummy package to fetch all useful fonts for JOSM Group: Productivity/Databases/Clients # Standard to silence fonts-config Requires: arphic-bsmi00lp-fonts Requires: arphic-gbsn00lp-fonts Requires: ipa-gothic-fonts Requires: ipa-pgothic-fonts Requires: ipa-pmincho-fonts # standard java, enables language "ko" display (korean) Requires: baekmuk-ttf-fonts # to enable "bn", "bpy", "kn", "ko", "ml", "pa", "sa", "te" languages Requires: indic-fonts # to enable "my" language (burmese) Requires: sil-padauk-fonts # to enable "bo" language (tibetan) Requires: jomolhari-fonts # to enable "km" language (khmer) Requires: khmeros-fonts # to enable "si" language (sinhala) Requires: lklug-fonts %description fonts A dummy package which contains references to font packages, so that JOSM can display more foreign languages without trouble. %prep %if 0%{?suse_version} < 1330 %post %mime_database_post %desktop_database_post %postun %mime_database_postun %desktop_database_postun %endif %build %install install -d 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 %SOURCE1 $RPM_BUILD_ROOT%{_javadir}/josm-tested.jar mkdir -p $RPM_BUILD_ROOT%{_bindir} install %SOURCE2 $RPM_BUILD_ROOT%{_bindir}/josm chmod +x $RPM_BUILD_ROOT%{_bindir}/josm install -d 755 $RPM_BUILD_ROOT%{_datadir}/applications install -m 644 %SOURCE3 $RPM_BUILD_ROOT%{_datadir}/applications/josm.desktop install -d 755 $RPM_BUILD_ROOT%{_datadir}/pixmaps install -m 644 %SOURCE4 $RPM_BUILD_ROOT%{_datadir}/pixmaps/josm.png install -d 755 $RPM_BUILD_ROOT/usr/share/mime/packages/ install -m 644 %SOURCE11 $RPM_BUILD_ROOT/usr/share/mime/packages/ %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(0644,root,root,0755) %{_javadir}/* %attr(0755,root,root) %{_bindir}/josm %{_datadir}/pixmaps/* %{_datadir}/applications/* /usr/share/mime/packages/josm.xml %files fonts %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