231 |
andreas |
1 |
# This spec file was generated by KDevelop
|
|
|
2 |
# Please report any problem to KDevelop Team <kdevelop-devel@kdevelop.org>
|
|
|
3 |
# Thanks to Matthias Saou for his explanations on http://freshrpms.net/docs/fight.html
|
|
|
4 |
|
|
|
5 |
Name: sportwatcher
|
|
|
6 |
Version: 0.5
|
|
|
7 |
Release: 1
|
|
|
8 |
Vendor: Andreas Theofilu <andreas@theosys.at>
|
|
|
9 |
Copyright: GPL v3
|
|
|
10 |
Summary: Read trainingsessions from a Garmin Forerunner
|
|
|
11 |
Group: Applications/Databases
|
|
|
12 |
Packager: Andreas Theofilu <andreas@theosys.at>
|
|
|
13 |
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
14 |
Source:
|
|
|
15 |
|
|
|
16 |
%description
|
|
|
17 |
Program to read out all informations of a Garmin Forerunner. It was tested with Garmin Forerunner 305.
|
|
|
18 |
Additionally SportWatcher is able to export heart rate data into HRM-format and the TCX-format. The formats GPX and OSM are also supported. It allows to export the waypoints into this formats.
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
%prep
|
|
|
23 |
%setup
|
|
|
24 |
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \
|
|
|
25 |
--target=
|
|
|
26 |
--disable-debug --enable-debug=no
|
|
|
27 |
|
|
|
28 |
%build
|
|
|
29 |
%configure
|
|
|
30 |
make
|
|
|
31 |
|
|
|
32 |
%install
|
|
|
33 |
rm -rf %{buildroot}
|
|
|
34 |
%makeinstall
|
|
|
35 |
|
|
|
36 |
%clean
|
|
|
37 |
rm -rf %{buildroot}
|
|
|
38 |
|
|
|
39 |
%post -p /sbin/ldconfig
|
|
|
40 |
%postun -p /sbin/ldconfig
|
|
|
41 |
%files
|
|
|
42 |
%defattr(-, root, root)
|
|
|
43 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
44 |
%{_bindir}/*
|
|
|
45 |
%{_libdir}/*.so.*
|
|
|
46 |
%{_datadir}/%{name}
|
|
|
47 |
%{_mandir}/man8/*
|
|
|
48 |
%changelog
|
|
|
49 |
|