Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
osmosis
osmosis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osmosis.spec of Package osmosis
# # spec file for package osmosis # # Copyright (c) 2021 SUSE LLC # # 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: osmosis Summary: OpenStreetMap data processing tool License: SUSE-Public-Domain Group: Productivity/Scientific/Other Version: 0.49.2 Release: 0 URL: https://wiki.openstreetmap.org/index.php/Osmosis BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: coreutils BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: java-devel BuildRequires: unzip BuildArch: noarch Source0: https://github.com/openstreetmap/osmosis/releases/download/%{version}/%{name}-%{version}.tar Requires: classworlds Requires: java >= 17 %description Osmosis is a command line java app for processing OSM data. The tool consists of a series of pluggable components that can be chained together to perform a larger operation. For example, it has components for reading from database and from file, components for writing to database and to file, components for deriving and applying change sets to data sources, components for sorting data, etc. It has been written so that it is easy to add new features without re-writing common tasks such as file or database handling. %prep %autosetup %build ls -lR dos2unix script/munin/osm_replication_lag %install install -d 755 $RPM_BUILD_ROOT%{_javadir} install -d 755 $RPM_BUILD_ROOT%{_javadir}/%{name} install -d 755 $RPM_BUILD_ROOT%{_javadir}/%{name}/lib cp -r lib $RPM_BUILD_ROOT%{_javadir}/%{name} cp -r script $RPM_BUILD_ROOT%{_javadir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_bindir} sed -i s#CLASSPATH=#APP_HOME=%{_javadir}/%{name}\\nCLASSPATH=# bin/osmosis cp -r bin/osmosis $RPM_BUILD_ROOT%{_bindir} %fdupes -s %{buildroot} %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(0644,root,root,0755) %{_javadir}/%{name}/lib %{_javadir}/%{name}/script/*.sql %{_javadir}/%{name}/script/contrib/*.sql %{_javadir}/%{name}/script/munin/README %{_javadir}/%{name}/script/munin/*.conf %{_javadir}/%{name}/script/*.txt %doc readme.txt copying.txt changes.txt %defattr(0755,root,root) %dir %{_javadir}/%{name} %dir %{_javadir}/%{name}/script %dir %{_javadir}/%{name}/script/munin %dir %{_javadir}/%{name}/script/contrib %{_javadir}/%{name}/script/contrib/*.sh %{_javadir}/%{name}/script/*.sh %{_javadir}/%{name}/script/munin/osm_replication_lag %exclude %{_javadir}/%{name}/bin/osmosis.bat %{_bindir}/%{name} %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