From c6dd2152b4750f5f4290ad5f07a6258882e9ed3e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:28:26 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.3.2-1mamba;Tue Sep 08 2020] --- README.md | 2 + routino.spec | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 routino.spec diff --git a/README.md b/README.md index d228d08..552402e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # routino +An application for finding a route between two points using the dataset of topographical information collected by http://www.OpenStreetMap.org. + diff --git a/routino.spec b/routino.spec new file mode 100644 index 0000000..3ab30fc --- /dev/null +++ b/routino.spec @@ -0,0 +1,107 @@ +Name: routino +Version: 3.3.2 +Release: 1mamba +Summary: An application for finding a route between two points using the dataset of topographical information collected by OpenStreetMap.org +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.routino.org/ +Source: http://www.routino.org/download/routino-%{version}.tgz +License: Affero GNU Public License +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libbzip2-devel +BuildRequires: libgcc +BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +An application for finding a route between two points using the dataset of topographical information collected by http://www.OpenStreetMap.org. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%package -n python-routino +Group: System/Libraries +Summary: Python bindings for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n python-routino +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall prefix=%{buildroot}%{_prefix} libdir=%{_libdir} bindir=%{_bindir} \ + incdir=%{_includedir} docdir=%{_docdir}/routino datadir=%{_datadir}/routino + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/filedumper +%{_bindir}/filedumper-slim +%{_bindir}/filedumperx +%{_bindir}/planetsplitter +%{_bindir}/planetsplitter-slim +%{_bindir}/router +%{_bindir}/router+lib +%{_bindir}/router+lib-slim +%{_bindir}/router-slim +%dir %{_datadir}/doc/routino +%{_datadir}/doc/routino/*.txt +%dir %{_datadir}/doc/routino/html +%{_datadir}/doc/routino/html/* +%dir %{_datadir}/routino +%{_datadir}/routino/* + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libroutino-slim.so.* +%{_libdir}/libroutino.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/routino.h +%{_libdir}/libroutino-slim.so +%{_libdir}/libroutino.so +%doc ChangeLog README.txt + +%files -n python-routino +%{python3_sitearch}/Routino-1.0-py3.7.egg-info +%dir %{python3_sitearch}/routino +%{python3_sitearch}/routino/* + +%changelog +* Tue Sep 08 2020 Silvan Calarco 3.3.2-1mamba +- package created using the webbuild interface