Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
rtklib
rtklib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rtklib.spec of Package rtklib
# # spec file for package rtklib # # Copyright (c) 2015 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 http://bugs.opensuse.org/ # %define win32 1 Name: rtklib Version: 2.4.2.p12 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.rtklib.com Summary: Program Package for GNSS Positioning License: BSD-2-Clause Group: Productivity/Networking/System Source: %{name}-%{version}.tar.bz2 Source1: %{name}-bin-%{version}.tar.bz2 Patch1: daemonmode.diff BuildRequires: c_compiler BuildRequires: dos2unix BuildRequires: lapack-devel BuildRequires: unzip %description RTKLIB is an open source program package for standard and precise positioning with GNSS (global navigation satellite system). RTKLIB consists of a portable program library and several APs (application programs) utilizing the library. %if %{win32} %package win32 Summary: Program Package for GNSS Positioning - Windows binaries Group: Productivity/Networking/System Requires: %{name} Requires: gzip Requires: rnxcmp Requires: tar Requires: wget Requires: wine %description win32 RTKLIB is an open source program package for standard and precise positioning with GNSS (global navigation satellite system). RTKLIB consists of a portable program library and several APs (application programs) utilizing the library. This package contains the windows executables and wrappers to call them. %endif %prep %setup -b0 -b1 %patch1 -p0 %build cd app && sh makeall.sh %install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_datadir}/rtklib install -m 755 app/convbin/gcc/convbin %{buildroot}/%{_bindir} install -m 755 app/pos2kml/gcc/pos2kml %{buildroot}/%{_bindir} install -m 755 app/str2str/gcc/str2str %{buildroot}/%{_bindir} install -m 755 app/rnx2rtkp/gcc/rnx2rtkp %{buildroot}/%{_bindir} install -m 755 app/rtkrcv/gcc/rtkrcv %{buildroot}/%{_bindir} install -m 755 app/rtkrcv/gcc/rtk*.sh %{buildroot}/%{_bindir} install -m 644 data/*.atx %{buildroot}/%{_datadir}/rtklib %if %{win32} mkdir -p %{buildroot}/%{_datadir}/rtklib/win cp ../%{name}-bin-%{version}/bin/license.txt bin/ pushd ../%{name}-bin-%{version}/bin/ for file in *.exe; do name=`echo "%{buildroot}/%{_bindir}/$file" | sed s/\.exe//` if [ ! -f $name ]; then echo -e '#!/bin/bash\nwine' "%{_datadir}/rtklib/win/$file" '$@' >$name chmod 755 $name install -m 644 $file %{buildroot}/%{_datadir}/rtklib/win/ fi done popd %endif %files %defattr(755, root, root, 0755) %{_bindir}/convbin %{_bindir}/pos2kml %{_bindir}/str2str %{_bindir}/rnx2rtkp %{_bindir}/rtkrcv %{_bindir}/rtkstart.sh %{_bindir}/rtkshut.sh %dir %{_datadir}/rtklib %defattr(644, root, root, 0755) %{_datadir}/rtklib/*.atx %doc readme.txt app/rtkrcv/*.conf %if %{win32} %files win32 %defattr(-, root, root) %dir %{_datadir}/rtklib/win %doc bin/license.txt %exclude %{_datadir}/rtklib/win/crx2rnx.exe %exclude %{_datadir}/rtklib/win/gzip.exe %{_datadir}/rtklib/win/rtkconv.exe %{_datadir}/rtklib/win/rtkget.exe %{_datadir}/rtklib/win/rtklaunch.exe %{_datadir}/rtklib/win/rtknavi.exe %{_datadir}/rtklib/win/rtknavi_mkl.exe %{_datadir}/rtklib/win/rtkplot.exe %{_datadir}/rtklib/win/rtkpost.exe %{_datadir}/rtklib/win/rtkpost_mkl.exe %{_datadir}/rtklib/win/srctblbrows.exe %{_datadir}/rtklib/win/strsvr.exe %exclude %{_datadir}/rtklib/win/tar.exe %exclude %{_datadir}/rtklib/win/teqc.exe %exclude %{_datadir}/rtklib/win/wget.exe %exclude %{_bindir}/crx2rnx %exclude %{_bindir}/gzip %{_bindir}/rtkconv %{_bindir}/rtkget %{_bindir}/rtklaunch %{_bindir}/rtknavi %{_bindir}/rtknavi_mkl %{_bindir}/rtkplot %{_bindir}/rtkpost %{_bindir}/rtkpost_mkl %{_bindir}/srctblbrows %{_bindir}/strsvr %exclude %{_bindir}/tar %exclude %{_bindir}/teqc %exclude %{_bindir}/wget %endif %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