File novars.spec of Package novars
#
# spec file for package novars (Version 1.2.0)
#
# Copyright (c) 2008 Mykhailo Lytvyn <misha@mao.kiev.ua>.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments.
#
BuildRequires: cmake libconfig libconfig-devel make tar gcc gcc-c++
Name: novars
License: LGPL
Group: Applications/Engineering
Requires: perl, cmake, libconfig, libconfig-devel
Autoreqprov: on
Version: 1.4.3
Release: 1
Packager: Mykhailo Lytvyn <misha@mao.kiev.ua>
Summary: GNSS Station Controlling Software
Source0: novars-%{version}.tar.bz2
Source1: rcscript
BuildRoot: %{_tmppath}/%{name}-%{version}-build/
%description
NovaRS - software to controll GPS/GLONASS station equiped with NovAtel receiver.
.
This software creates RINEX 2.11 observation and navigation files on-the-fly from
receiver serial stream, stores raw strings. Any navigation system (GPS or GLONASS)
can be excluded from output RINEX files.
.
Also, NovaRS can setup observation session parameters such as sampling interval
and satellite mask angle. Software can also store hourly RINEX with IGS file naming
conventions.
%prep
%setup -q -n novars-%{version}
rm -f CMakeCache.txt
cmake .
make
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/sbin
mkdir -p %{buildroot}/etc/NovaRS
mkdir -p %{buildroot}/etc/init.d
cp NovaRS %{buildroot}/usr/sbin/
cp NovaRS.config %{buildroot}/etc/NovaRS/NovaRS.config
cp %{SOURCE1} %{buildroot}/etc/init.d/novars
%clean
rm -rf %{buildroot}
%files
%defattr(755,root,root)
/etc/init.d/novars
/usr/sbin/NovaRS
%dir /etc/NovaRS
%defattr(644,root,daemon)
%config(noreplace) /etc/NovaRS/NovaRS.config
%doc README
%changelog -n GMT
* Thu Nov 16 2008 Mykhailo Lytvyn
- first SuSe version