[viking] More fixes
Fabian Affolter
fab at fedoraproject.org
Mon Apr 30 20:07:51 UTC 2012
commit e128aa4c5a378903685e17280fa7b20618b6ba80
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Mon Apr 30 22:07:36 2012 +0200
More fixes
viking.spec | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
---
diff --git a/viking.spec b/viking.spec
index 5ecf36d..471ae5e 100644
--- a/viking.spec
+++ b/viking.spec
@@ -7,7 +7,6 @@ Group: Applications/Productivity
License: GPLv2+
URL: http://viking.sourceforge.net/
Source0: http://downloads.sourceforge.net/viking/viking-%{version}.tar.gz
-Patch0: viking-1.2.1-gpsd-2.96.patch
BuildRequires: intltool
BuildRequires: expat-devel
@@ -15,6 +14,7 @@ BuildRequires: gdk-pixbuf2-devel
BuildRequires: gpsd-devel
BuildRequires: gtk2-devel
BuildRequires: libcurl-devel
+BuildRequires: gtk-doc
BuildRequires: gnome-doc-utils
BuildRequires: libexif-devel
@@ -23,17 +23,14 @@ BuildRequires: gettext
Requires: hicolor-icon-theme
-
%description
Viking is a free/open source program to manage GPS data. You can import
and plot tracks and waypoints, show OpenStreetMap and/or Terraserver maps
under it, download geocaches for an area on the map, make new tracks and
waypoints, see real-time GPS position, etc.
-
%prep
%setup -q
-#%patch0 -p1 -b .gpsd296
# Convert to utf-8
for file in ChangeLog NEWS TODO; do
mv $file timestamp
@@ -41,12 +38,10 @@ for file in ChangeLog NEWS TODO; do
touch -r timestamp $file
done
-
%build
%configure --disable-scrollkeeper
make %{?_smp_mflags}
-
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
find %{buildroot} -name '*.a' -exec rm -f {} ';'
@@ -60,31 +55,26 @@ desktop-file-install \
%check
make test
-
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
-
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
-
%files -f %{name}.lang
-%doc AUTHORS ChangeLog* COPYING NEWS README TODO
-#%doc doc/G* doc/*.xml doc/dev/C* doc/dev/F* doc/dev/Merge* doc/dev/T*
+%doc AUTHORS ChangeLog* COPYING NEWS README TODO doc/GETTING-STARTED
%{_bindir}/%{name}*
-%{_datadir}/applications/%{name}.desktop
+%{_datadir}/applications/%{name}.desktop0
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{_datadir}/gnome/help/%{name}/
%{_datadir}/omf/viking/viking-C.omf
-
%changelog
* Mon Apr 30 2012 Fabian Affolter <mail at fabian-affolter.ch> - 1.3-1
- Updated to new upstream version 1.3
More information about the scm-commits
mailing list