rpms/gpsman/devel gpsman-6.3.2-sourcedir.patch, NONE, 1.1 gpsman-icon.png, NONE, 1.1 gpsman.desktop, NONE, 1.1 gpsman.spec, NONE, 1.1 mb2gmn.1, NONE, 1.1 mou2gmn.1, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steve Conklin (sconklin) fedora-extras-commits at redhat.com
Sat Mar 1 23:56:35 UTC 2008


Author: sconklin

Update of /cvs/pkgs/rpms/gpsman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20406/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gpsman-6.3.2-sourcedir.patch gpsman-icon.png gpsman.desktop 
	gpsman.spec mb2gmn.1 mou2gmn.1 
Log Message:
Initial project import


gpsman-6.3.2-sourcedir.patch:

--- NEW FILE gpsman-6.3.2-sourcedir.patch ---
diff -up gpsman-6.3.2/gpsman.tcl.orig gpsman-6.3.2/gpsman.tcl
--- gpsman-6.3.2/gpsman.tcl.orig	2007-12-09 18:56:02.000000000 +0100
+++ gpsman-6.3.2/gpsman.tcl	2007-12-09 18:58:35.000000000 +0100
@@ -218,7 +218,7 @@ switch $tcl_platform(platform) {
 }
 
  # path to directory containing program files
-set SRCDIR gmsrc
+set SRCDIR /usr/share/gpsman
 
 # all other defaults configuration is now done in file $SRCDIR/config.tcl
 


--- NEW FILE gpsman.desktop ---
[Desktop Entry]
Name=gpsman
GenericName=GPS Manager
Comment=Graphical management of GPS data
Exec=gpsman
Icon=gpsman-icon
Terminal=false
Type=Application
Categories=Network;HamRadio;


--- NEW FILE gpsman.spec ---
Name:           gpsman
Version:        6.3.2
Release:        3%{?dist}
Summary:        A GPS manager

Group:          Applications/Communications
License:        GPLv2+
URL:            http://www.ncc.up.pt/gpsman/wGPSMan_4.html
Source0:        http://www.ncc.up.pt/gpsman/gpsmanhtml/gpsman-6.3.2.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-%{version}-sourcedir.patch

BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  desktop-file-utils
Requires:       tkimg

%description
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.

%prep
%setup -q
%patch0 -p1

#make sure all files are utf-8
recode()
{
  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
done
recode manual/html/info/WPs.txt iso-8859-15


%build
#no build needed


%install
rm -rf $RPM_BUILD_ROOT
#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`
done
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`
done
install -D -m 0644 man/man1/gpsman.1 $RPM_BUILD_ROOT%{_mandir}/man1/gpsman.1
#utils
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} \
  ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/
desktop-file-install --vendor="" \
  --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  %{SOURCE3}

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE
%doc manual/GPSMandoc.pdf manual/html
%{_bindir}/*
%{_datadir}/gpsman
%{_mandir}/man?/*
%attr(0644,root,root) %{_datadir}/applications/%{name}.desktop
%attr(0644,root,root) %{_datadir}/pixmaps/*


%changelog
* Tue Feb 26 2008 Steve Conklin <sconklin at redhat dot com> - 6.3.2-3
- rpmlint clean up

* Sun Dec 09 2007 Robert 'Bob' Jensen <bob at bobjensen.com> - 6.3.2-2
- rpmlint clean up

* Sun Dec 09 2007 Sindre Pedersen Bjørdal - 6.3.2-1
- Initial build


--- NEW FILE mb2gmn.1 ---
.TH MB2GMN "1"
.SH NAME
mb2gmn \- convert MapBlast files into GPSManager files
.SH SYNOPSIS
.B mb2gmn
.I "[port]"

.SH DESCRIPTION
This manual page documents briefly the
.BR mb2gmn 
command.

This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
Instead, it has documentation in /usr/share/doc/gpsman.
.PP
.B gpsman
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 NMEA0183 from any GPS receiver.

To comunicate with the GPS device the user must have granted
read/write permissions for the respective port.

.SH AUTHOR
This manual page was written by Rogerio Reis <rvr at ncc.up.pt>,
for the Debian GNU/Linux system (but may be used by others).


--- NEW FILE mou2gmn.1 ---
.TH MOU2GMN "1"
.SH NAME
mou2gmn \- convert MapsOnUS files into GPSManager files
.SH SYNOPSIS
.B mou2gmn
.I "[port]"

.SH DESCRIPTION
This manual page documents briefly the
.BR mou2gmn 
command.

This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
Instead, it has documentation in /usr/share/doc/gpsman.
.PP
.B gpsman
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 NMEA0183 from any GPS receiver.

To comunicate with the GPS device the user must have granted
read/write permissions for the respective port.

.SH AUTHOR
This manual page was written by Rogerio Reis <rvr at ncc.up.pt>,
for the Debian GNU/Linux system (but may be used by others).


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gpsman/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Mar 2008 18:40:28 -0000	1.1
+++ .cvsignore	1 Mar 2008 23:56:01 -0000	1.2
@@ -0,0 +1 @@
+gpsman-6.3.2.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gpsman/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Mar 2008 18:40:28 -0000	1.1
+++ sources	1 Mar 2008 23:56:01 -0000	1.2
@@ -0,0 +1 @@
+dcc72b7a2a1b61f98f8432f8eb367213  gpsman-6.3.2.tgz




More information about the fedora-extras-commits mailing list