[skychart] Fix old FSF address
mattia
mattia at fedoraproject.org
Sun Jan 22 10:12:23 UTC 2012
commit 02be837a08a1f89c4031ec532ef04b43a23120fe
Author: Mattia Verga <mattia.verga at tiscali.it>
Date: Sun Jan 22 10:40:29 2012 +0100
Fix old FSF address
skychart.spec | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/skychart.spec b/skychart.spec
index f33aabe..56c448f 100644
--- a/skychart.spec
+++ b/skychart.spec
@@ -1,6 +1,6 @@
Name: skychart
Version: 3.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Planetarium software for the advanced amateur astronomer
Group: Amusements/Graphics
@@ -8,6 +8,8 @@ License: GPLv2+
URL: http://www.ap-i.net/skychart/
Source0: http://download.origo.ethz.ch/skychart/3239/skychart-%{version}-source.tgz
Source1: http://download.origo.ethz.ch/skychart/2443/data_jpleph.tgz
+Source2: gpl.txt
+
Patch1: skychart-desktop.patch
Patch2: skychart-strip.patch
Patch3: skychart-wgetdata.patch
@@ -37,10 +39,24 @@ atlas more complete than a conventional planetarium.
%prep
%setup -q -n %{name}-%{version}-source
+
+# Fix old FSF address in license file
+# See upstream bug at http://www.ap-i.net/mantis/view.php?id=910
+cp -p %SOURCE2 skychart/
+
+# Fix .desktop file
+# See upstream bug at http://www.ap-i.net/mantis/view.php?id=911
%patch1 -p1
+
%patch2 -p1
+
+# Disable wget for documentation and ephemeris data
%patch3 -p1
+
+# Fix compilation with gcc 4.7
+# See upstream bug at http://www.ap-i.net/mantis/view.php?id=935
%patch4 -p1
+
cp -p %SOURCE1 BaseData
find skychart -type f -print0 |xargs -0 chmod 644
@@ -104,6 +120,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/skychart.desktop
%changelog
+* Sun Jan 22 2012 Mattia Verga <mattia.verga at tiscali.it> - 3.4-4
+- Fix old FSF address in license file
+
* Sat Jan 21 2012 Mattia Verga <mattia.verga at tiscali.it> - 3.4-3
- Patch to make it compile with gcc 4.7
More information about the scm-commits
mailing list