[gpredict] Updating to version 1.2

sparks sparks at fedoraproject.org
Sun Nov 21 03:43:29 UTC 2010


commit 68f311931b6cc8c9f78f8c6cd7c0803c45d15d6b
Author: Eric H Christensen <eric at christensenplace.us>
Date:   Sat Nov 20 22:42:43 2010 -0500

    Updating to version 1.2

 .gitignore       |    1 +
 gpredict.desktop |    8 ++++++++
 gpredict.spec    |   40 ++++++++++++++--------------------------
 sources          |    2 +-
 4 files changed, 24 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1a081b7..63af904 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 gpredict-0.9.0.tar.gz
+/gpredict-1.2.tar.gz
diff --git a/gpredict.desktop b/gpredict.desktop
new file mode 100644
index 0000000..ce1bc69
--- /dev/null
+++ b/gpredict.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=GPredict
+Comment=Satellite tracker
+Exec=gpredict
+Icon=gpredict-icon
+Terminal=false
+Type=Application
+Categories=HamRadio;Science;Astronomy;Education;Network
diff --git a/gpredict.spec b/gpredict.spec
index d3fe246..f46a07f 100644
--- a/gpredict.spec
+++ b/gpredict.spec
@@ -1,25 +1,24 @@
 Name:           gpredict
-Version:        0.9.0
-Release:        7%{?dist}
+Version:        1.2
+Release:        1%{?dist}
 Summary:        Real-time satellite tracking and orbit prediction program
 Group:          Applications/Communications
 License:        GPLv2+
 URL:            http://groundstation.sourceforge.net/gpredict/
-Source0:        http://prdownloads.sourceforge.net/groundstation/%{name}-%{version}.tar.gz
-Patch0:         gpredict-0.9.0-libm.patch
-Patch1:         gpredict-0.9.0-gtk.patch
+Source0:        http://sourceforge.net/projects/gpredict/files/Gpredict/1.2/gpredict-1.2.tar.gz
+Source1:        gpredict.desktop
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk2-devel >= 2.10.0
 BuildRequires:  glib2-devel >= 2.12.0
 BuildRequires:  curl-devel
-BuildRequires:  intltool gettext
 BuildRequires:  desktop-file-utils
-
+BuildRequires: intltool >= 0.21
+BuildRequires: goocanvas-devel
 
 %description
 Gpredict is a real time satellite tracking and orbit prediction
-program written using the Gtk+ widgets. Gpredict is targetted mainly
+program written using the Gtk+ widgets. Gpredict is targeted mainly
 towards ham radio operators but others interested in satellite
 tracking may find it useful as well. Gpredict uses the SGP4/SDP4
 algorithms, which are compatible with the NORAD Keplerian elements.
@@ -27,8 +26,6 @@ algorithms, which are compatible with the NORAD Keplerian elements.
 
 %prep
 %setup -q
-%patch0 -p1 -b .libm
-%patch1 -p1 -b .gtk
 
 
 %build
@@ -43,23 +40,11 @@ make install DESTDIR=$RPM_BUILD_ROOT
 rm -fr $RPM_BUILD_ROOT%{_datadir}/locale
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
 
-cat > gpredict.desktop <<EOF
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Exec=gpredict
-Icon=/usr/share/pixmaps/gpredict/icons/gpredict-icon.png
-Terminal=false
-Name=Gpredict Satellite Tracker
-GenericName=Real-time satellite orbit tracker
-Comment=Track satellites in real-time
-StartupNotify=true
-Categories=GTK;HamRadio;Education;Astronomy;
-EOF
-desktop-file-install --vendor=fedora \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-  gpredict.desktop
+rm -fr $RPM_BUILD_ROOT%{_datadir}/applications/gpredict.desktop
 
+desktop-file-install --vendor=fedora \
+   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+   %{SOURCE1}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,6 +69,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
 
 
 %changelog
+* Mon Nov 15 2010 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 1.2-1
+- Updated to newest version available (1.2).
+
 * Tue May 04 2010 Lubomir Rintel (Fedora Astronomy) <lkundrak at v3.sk> - 0.9.0-7
 - Adjust for yet newer GTK, rebuild
 
diff --git a/sources b/sources
index cb294c6..877753b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bde60ddfb7075fbd554a16c5b6dd19c1  gpredict-0.9.0.tar.gz
+9b46a3e0fe2de276b15ae10f72be0fca  gpredict-1.2.tar.gz


More information about the scm-commits mailing list