Sisyphus repositório
Última atualização: 1 dezembro 2020 | SRPMs: 17748 | Visitas: 19733308
en ru br
ALT Linux repositórios
5.0: 6.4-alt2

Group :: Rede/Outros
RPM: gpsman

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: gpsman
Release: alt1
Summary: A GPS manager

Group: Networking/Other
License: GPLv2+
Source0: %name-%version.tgz
#man files for the utils, stolen from debian
Source1: mou2gmn.1
Source2: mb2gmn.1
Source3: gpsman.desktop
Source4: gpsman-icon.png
#fix location of files in executable
Patch0: gpsman-6.3.2-sourcedir.patch

BuildArch: noarch

Packager: Ilya Mashkin <oddity at>

BuildRequires: desktop-file-utils
Requires: tk
Requires: tcl-img

GPS Manager (GPSMan) is a graphical manager of GPS data that makes possible
the preparation, inspection and edition of GPS data in a friendly environment.

GPSMan supports communication and real-time logging with both Garmin and
Lowrance receivers and accepts real-time logging information in NMEA 0183
from any GPS receiver.

%setup -q
%patch0 -p1

#make sure all files are utf-8

 iconv -f "$2" -t utf-8 < "$1" > "${1}_"
 mv -f "${1}_" "$1"
for f in `find manual/html -name *.html`
do recode $f iso-8859-15
recode manual/html/info/WPs.txt iso-8859-15

#no build needed

#manual install
install -D -m 0755 gpsman.tcl $RPM_BUILD_ROOT%_bindir/gpsman
install -Dd gmsrc $RPM_BUILD_ROOT%_datadir/gpsman
for f in `find gmsrc/ -type f -maxdepth 1`
do install -D -m 0644 $f $RPM_BUILD_ROOT%_datadir/gpsman/`echo $f | cut -d '/' -f2`
install -Dd gmsrc/gmicons $RPM_BUILD_ROOT%_datadir/gpsman/gmicons
for f in `find gmsrc/gmicons/ -type f -name *.gif`
do install -D -m 0644 $f $RPM_BUILD_ROOT%_datadir/gpsman/gmicons/`echo $f | cut -d '/' -f3`
install -D -m 0644 man/man1/gpsman.1 $RPM_BUILD_ROOT%_mandir/man1/gpsman.1
install -D -m 0755 util/mb2gmn.tcl $RPM_BUILD_ROOT%_bindir/mb2gmn
install -D -m 0755 util/mou2gmn.tcl $RPM_BUILD_ROOT%_bindir/mou2gmn
#man files
install -D -m 0644 %SOURCE1 $RPM_BUILD_ROOT%_mandir/man1/mb2gmn.1
install -D -m 0644 %SOURCE2 $RPM_BUILD_ROOT%_mandir/man1/mou2gmn.1
# desktop file and icon
mkdir -p   $RPM_BUILD_ROOT%_datadir/pixmaps/
install -m 644 %SOURCE4 \
desktop-file-install --vendor="" \
 --dir=$RPM_BUILD_ROOT%_datadir/applications \

%doc manual/GPSMandoc.pdf manual/html
%attr(0644,root,root) %_datadir/applications/%name.desktop
%attr(0644,root,root) %_datadir/pixmaps/*


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009