From 830fbc7198952ca0bb37df5e80199a3690e46726 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:40:46 +0000 Subject: [PATCH 1/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8aa0556..85ed561 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: skychart -# $Id$ +# $Id: Makefile,v 1.1 2008/11/05 22:29:53 kevin Exp $ NAME := skychart SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 693680d83f3dbc6a00cfb8c455b9024a1425c465 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 8 May 2010 02:23:30 +0000 Subject: [PATCH 2/5] Initialize branch EL-6 for skychart --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..46381b9 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-6 From 3847b09868fef33ab1b274987c8de6aafdc95601 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Sat, 24 Jul 2010 18:30:51 +0000 Subject: [PATCH 3/5] Pull from devel --- .cvsignore | 2 +- import.log | 1 + skychart-3.0.1.6-desktop.patch | 31 ++++++++++++ skychart-3.0.1.6-strip.patch | 35 +++++++++++++ skychart-3.0.1.6-units.patch | 17 ------- skychart-3.0.1.6-wl.patch | 20 -------- skychart.spec | 93 ++++++++++------------------------ sources | 2 +- 8 files changed, 96 insertions(+), 105 deletions(-) create mode 100644 skychart-3.0.1.6-desktop.patch create mode 100644 skychart-3.0.1.6-strip.patch delete mode 100644 skychart-3.0.1.6-units.patch delete mode 100644 skychart-3.0.1.6-wl.patch diff --git a/.cvsignore b/.cvsignore index 41810b9..6e94af1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -skychart-3.0.1.6.tar.lzma +skychart-3.0.1.6.tar.gz diff --git a/import.log b/import.log index 08c1970..d0393c2 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ skychart-3_0_1_5-1_20081026svn_el5:HEAD:skychart-3.0.1.5-1.20081026svn.el5.src.rpm:1225937345 +skychart-3_0_1_6-3_20100724svn_el6:EL-6:skychart-3.0.1.6-3.20100724svn.el6.src.rpm:1279996194 diff --git a/skychart-3.0.1.6-desktop.patch b/skychart-3.0.1.6-desktop.patch new file mode 100644 index 0000000..8e8a676 --- /dev/null +++ b/skychart-3.0.1.6-desktop.patch @@ -0,0 +1,31 @@ +From 3e60f9a650995bb464194a900e0a074e6d718dae Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sat, 24 Jul 2010 12:25:37 -0400 +Subject: [PATCH] Fix desktop entry + +--- + .../Linux/share/applications/skychart.desktop | 8 ++++---- + 1 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/system_integration/Linux/share/applications/skychart.desktop b/system_integration/Linux/share/applications/skychart.desktop +index 9091f9d..b225266 100644 +--- a/system_integration/Linux/share/applications/skychart.desktop ++++ b/system_integration/Linux/share/applications/skychart.desktop +@@ -2,10 +2,10 @@ + Version=1.0 + Encoding=UTF-8 + Name=Skychart +-Comment=Skychart / Cartes du Ciel ++Comment=Planetarium software for the advanced amateur astronomer + Exec=skychart +-Icon=../pixmaps/skychart.xpm ++Icon=skychart + Terminal=false + Type=Application +-Categories=Education;Science;Astronomy +-GenericName[fr_CH]= ++Categories=Education;Science;Astronomy; ++GenericName=SkyChart +-- +1.6.5.2 + diff --git a/skychart-3.0.1.6-strip.patch b/skychart-3.0.1.6-strip.patch new file mode 100644 index 0000000..ab246e9 --- /dev/null +++ b/skychart-3.0.1.6-strip.patch @@ -0,0 +1,35 @@ +From 0273c3c873840514b09fb0a945305ca7a19d7026 Mon Sep 17 00:00:00 2001 +From: Lubomir Rintel +Date: Sat, 24 Jul 2010 13:10:44 -0400 +Subject: [PATCH] Do not strip binaries upon install + +--- + install.sh | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/install.sh b/install.sh +index fcc8db1..0eeb429 100755 +--- a/install.sh ++++ b/install.sh +@@ -17,12 +17,12 @@ install -m 755 -d $destdir/share/doc + install -m 755 -d $destdir/share/doc/skychart + install -m 755 -d $destdir/share/pixmaps + +-install -v -m 755 -s skychart/cdc $destdir/bin/skychart +-install -v -m 755 -s skychart/cdcicon $destdir/bin/cdcicon +-install -v -m 755 -s varobs/varobs $destdir/bin/varobs +-install -v -m 755 -s varobs/varobs_lpv_bulletin $destdir/bin/varobs_lpv_bulletin +-install -v -m 644 -s skychart/library/getdss/libgetdss.so $destdir/lib/libgetdss.so +-install -v -m 644 -s skychart/library/plan404/libplan404.so $destdir/lib/libplan404.so ++install -v -m 755 skychart/cdc $destdir/bin/skychart ++install -v -m 755 skychart/cdcicon $destdir/bin/cdcicon ++install -v -m 755 varobs/varobs $destdir/bin/varobs ++install -v -m 755 varobs/varobs_lpv_bulletin $destdir/bin/varobs_lpv_bulletin ++install -v -m 644 skychart/library/getdss/libgetdss.so $destdir/lib/libgetdss.so ++install -v -m 644 skychart/library/plan404/libplan404.so $destdir/lib/libplan404.so + install -v -m 644 system_integration/Linux/share/applications/skychart.desktop $destdir/share/applications/skychart.desktop + install -v -m 644 system_integration/Linux/share/doc/skychart/changelog $destdir/share/doc/skychart/changelog + install -v -m 644 system_integration/Linux/share/doc/skychart/copyright $destdir/share/doc/skychart/copyright +-- +1.6.5.2 + diff --git a/skychart-3.0.1.6-units.patch b/skychart-3.0.1.6-units.patch deleted file mode 100644 index 198b4e0..0000000 --- a/skychart-3.0.1.6-units.patch +++ /dev/null @@ -1,17 +0,0 @@ -Target directory is not precreated for every possible arch, -use a generic one. - -Lubomir Rintel (Fedora Astronomy) - -diff -up skychart-3.0.1.6/skychart/cdc.lpi.units skychart-3.0.1.6/skychart/cdc.lpi ---- skychart-3.0.1.6/skychart/cdc.lpi.units 2009-04-09 07:22:59.381788190 +0200 -+++ skychart-3.0.1.6/skychart/cdc.lpi 2009-04-09 07:23:21.763790569 +0200 -@@ -434,7 +434,7 @@ - - - -- -+ - - - diff --git a/skychart-3.0.1.6-wl.patch b/skychart-3.0.1.6-wl.patch deleted file mode 100644 index 81a255b..0000000 --- a/skychart-3.0.1.6-wl.patch +++ /dev/null @@ -1,20 +0,0 @@ -Case matters here. - -Lubomir Rintel (Fedora Astronomy) - -[?25l[?12l[?25h[?1049h[?1h=[?12;25h[?12l[?25h[?25lW10: Warning: Changing a readonly file~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ [?12l[?25h[?25l:[?12l[?25hq[?25l[?12l[?25h![?25l[?12l[?25h^Z[?25l[?12l[?25h^Z[?25l[?12l[?25h [?25lE488: Trailing characters[?12l[?25h[?25lType :quit to exit Vim[?12l[?25hdiff -up skychart-3.0.1.6/skychart/library/plan404/Makefile.wl skychart-3.0.1.6/skychart/library/plan404/Makefile ---- skychart-3.0.1.6/skychart/library/plan404/Makefile.wl 2009-04-08 21:15:05.027791300 +0200 -+++ skychart-3.0.1.6/skychart/library/plan404/Makefile 2009-04-08 21:15:28.892791702 +0200 -@@ -8,7 +8,7 @@ SO_Name = libplan404.dylib - LIBFLAGS = -Wl,-single_module -dynamiclib -lc -lm - else - SO_Name = libplan404.so --LIBFLAGS = -shared -WL,-soname,$(SO_Name) -lc -lm -+LIBFLAGS = -shared -Wl,-soname,$(SO_Name) -lc -lm - endif - ifneq ($(findstring W32,$(OSTYPE)),) - SO_Name = libplan404.dll -[?25l[?12l[?25h[?1l>[?1049lVim: Error reading input, exiting... -Vim: preserving files... -Vim: Finished. - \ No newline at end of file diff --git a/skychart.spec b/skychart.spec index cfb39b8..bffc176 100644 --- a/skychart.spec +++ b/skychart.spec @@ -1,18 +1,18 @@ Name: skychart Version: 3.0.1.6 -Release: 2.20090408svn%{?dist} +Release: 3.20100724svn%{?dist} Summary: Planetarium software for the advanced amateur astronomer -# svn export -r1050 https://skychart.svn.sourceforge.net/svnroot/skychart/trunk@1050 skychart-3.0.1.5 -# tar czf skychart-3.0.1.5.tar.gz skychart-3.0.1.5 +# svn export -r1351 https://svn.origo.ethz.ch/skychart/trunk@1351 skychart-3.0.1.6 +# tar czf skychart-3.0.1.6.tar.gz skychart-3.0.1.6 Group: Amusements/Graphics License: GPLv2+ URL: https://sourceforge.net/projects/skychart/ -Source0: %{name}-%{version}.tar.lzma +Source0: %{name}-%{version}.tar.gz Source1: skychart.desktop -Patch1: skychart-3.0.1.6-wl.patch -Patch2: skychart-3.0.1.6-units.patch +Patch1: skychart-3.0.1.6-desktop.patch +Patch2: skychart-3.0.1.6-strip.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # FIXME: http://koji.fedoraproject.org/koji/taskinfo?taskID=918916 @@ -42,84 +42,41 @@ atlas more complete than a conventional planetarium. %prep %setup -q -%{__unzip} -q tools/doc/wiki_doc.zip -d tools/doc - -%patch1 -p1 -b .wl -%patch2 -p1 -b .units -find . -type f -print0 |xargs -0 chmod 644 +%patch1 -p1 -b .desktop +%patch2 -p1 -b .strip +find skychart -type f -print0 |xargs -0 chmod 644 %build -lazbuild --widgetset=gtk2 --primary-config-path=$PWD/.lazarus skychart/component/cdccomponents.lpk -lazbuild --widgetset=gtk2 --primary-config-path=$PWD/.lazarus skychart/cdc.lpi +./configure lazarus=%{_libdir}/lazarus prefix=%{_prefix} -# TODO: more libraries. Only 404 seems essential though. -make %{_smp_mflags} CFLAGS="%{optflags} -fPIC" -C skychart/library/plan404 +# We build these separately so that we can apply optflags +make %{_smp_mflags} arch_flags="%{optflags}" -C skychart/library/getdss +make %{_smp_mflags} arch_flags="%{optflags}" -C skychart/library/plan404 -# Create the Icon Theme Specification compilant icon file -convert skychart/bitmaps/mainicon/mainicon.ico skychart.png +make # not concurrency-safe # Fix exotic EOL encodings dos2unix -qk tools/doc/html_doc/en/feature_class_fichiers/common.css dos2unix -qk tools/doc/html_doc/en/feature_class_fichiers/custom.css -dos2unix -qk tools/doc/releasenotes_ru.txt -dos2unix -qk tools/doc/releasenotes_ua.txt - -# A couple of files in Ukrainian documentation have their names and -# links incorrectly escaped, which makes those not UTF-8 compilant as -# well as links broken -charset_fix () { sed -r ' - # Special characters in file names are - # prefixed by %% vs. %%25 in HTML - s/\xd1%%(25)?81/с/g - s/\xd1%%(25)?82/т/g - s/\xd1%%(25)?8[fF]/я/g -'; } - -for ORIGNAME in $(find tools/doc/wiki_doc/uk -name '*.html') -do - NEWNAME=$(echo $ORIGNAME |charset_fix) - charset_fix <$ORIGNAME >$ORIGNAME.utf8 - touch -r $ORIGNAME $ORIGNAME.utf8 - rm -f $ORIGNAME - mv $ORIGNAME.utf8 $NEWNAME -done +dos2unix -qk tools/doc/releasenotes*.txt %install rm -rf $RPM_BUILD_ROOT -# Directory structure -install -d $RPM_BUILD_ROOT%{_bindir} -install -d $RPM_BUILD_ROOT%{_libdir} -install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps -install -d $RPM_BUILD_ROOT%{_datadir}/applications -install -d $RPM_BUILD_ROOT%{_datadir}/skychart +make install install_data PREFIX=$RPM_BUILD_ROOT%{_prefix} -# Binary -install -pm 0755 skychart/units/skychart \ - $RPM_BUILD_ROOT%{_bindir} +# Fix multilib path +[ %{_lib} = lib ] || mv $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}} -# Libraries -install -pm 0755 skychart/library/plan404/libplan404.so \ - $RPM_BUILD_ROOT%{_libdir} - -# Icon -install -pm 0644 skychart.png $RPM_BUILD_ROOT%{_datadir}/pixmaps +# Fix debuginfo +chmod +x $RPM_BUILD_ROOT%{_libdir}/* # Menu entry -desktop-file-install --vendor=fedora %{SOURCE1} \ - --dir=$RPM_BUILD_ROOT%{_datadir}/applications - -# Data (Yes, tools/install_data.sh exists, but is outdated) -( - cd tools - find data/{common_names,earthmap,horizon,language,planet,sample,Themes} -type f - find data/constellation -maxdepth 1 -type f - find data/eclipses -type f -name '*.png' -o -name '*.txt' - find cat -type f -not -regex '.*/src.*' -not -name '*.prj' - find doc -type f -not -name '*.zip' -) |xargs tar cf - -C tools |tar xf - -C $RPM_BUILD_ROOT%{_datadir}/skychart +desktop-file-install --vendor=fedora \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ + $RPM_BUILD_ROOT%{_datadir}/applications/skychart.desktop %clean @@ -136,6 +93,7 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/skychart/data %{_datadir}/skychart/cat %doc %{_datadir}/skychart/doc +%exclude %{_datadir}/doc/skychart %doc skychart/gpl.txt @@ -146,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Jul 24 2010 Lubomir Rintel (Fedora Astronomy) - 3.0.1.6-3.20100724svn +- Update to a later snapshot + * Sun Jul 26 2009 Fedora Release Engineering - 3.0.1.6-2.20090408svn - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 4f436b5..47b47de 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7021c215cfa6b61ab909ef2e6266abc7 skychart-3.0.1.6.tar.lzma +bf5740ab05196d74a85ecab8247d84d8 skychart-3.0.1.6.tar.gz From 1b554aae6897a3f92c1127e9647692a42b009fb5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 12:50:18 +0000 Subject: [PATCH 4/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 2 -- 4 files changed, 24 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 85ed561..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: skychart -# $Id: Makefile,v 1.1 2008/11/05 22:29:53 kevin Exp $ -NAME := skychart -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 46381b9..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-6 diff --git a/import.log b/import.log deleted file mode 100644 index d0393c2..0000000 --- a/import.log +++ /dev/null @@ -1,2 +0,0 @@ -skychart-3_0_1_5-1_20081026svn_el5:HEAD:skychart-3.0.1.5-1.20081026svn.el5.src.rpm:1225937345 -skychart-3_0_1_6-3_20100724svn_el6:EL-6:skychart-3.0.1.6-3.20100724svn.el6.src.rpm:1279996194 From 421795f2d3e35dd953d16b28deb05494b44a6ea3 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Tue, 14 Apr 2015 15:37:35 +0200 Subject: [PATCH 5/5] Skychart requires Fpc and Lazarus which are orphaned by more than 6 weeks and about to be retired --- .gitignore | 1 - dead.package | 1 + skychart-3.0.1.6-desktop.patch | 31 -------- skychart-3.0.1.6-strip.patch | 35 --------- skychart.desktop | 10 --- skychart.spec | 137 --------------------------------- sources | 1 - 7 files changed, 1 insertion(+), 215 deletions(-) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 skychart-3.0.1.6-desktop.patch delete mode 100644 skychart-3.0.1.6-strip.patch delete mode 100644 skychart.desktop delete mode 100644 skychart.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 6e94af1..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -skychart-3.0.1.6.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..06f48af --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Skychart requires Fpc and Lazarus which are orphaned by more than 6 weeks and about to be retired diff --git a/skychart-3.0.1.6-desktop.patch b/skychart-3.0.1.6-desktop.patch deleted file mode 100644 index 8e8a676..0000000 --- a/skychart-3.0.1.6-desktop.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 3e60f9a650995bb464194a900e0a074e6d718dae Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Sat, 24 Jul 2010 12:25:37 -0400 -Subject: [PATCH] Fix desktop entry - ---- - .../Linux/share/applications/skychart.desktop | 8 ++++---- - 1 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/system_integration/Linux/share/applications/skychart.desktop b/system_integration/Linux/share/applications/skychart.desktop -index 9091f9d..b225266 100644 ---- a/system_integration/Linux/share/applications/skychart.desktop -+++ b/system_integration/Linux/share/applications/skychart.desktop -@@ -2,10 +2,10 @@ - Version=1.0 - Encoding=UTF-8 - Name=Skychart --Comment=Skychart / Cartes du Ciel -+Comment=Planetarium software for the advanced amateur astronomer - Exec=skychart --Icon=../pixmaps/skychart.xpm -+Icon=skychart - Terminal=false - Type=Application --Categories=Education;Science;Astronomy --GenericName[fr_CH]= -+Categories=Education;Science;Astronomy; -+GenericName=SkyChart --- -1.6.5.2 - diff --git a/skychart-3.0.1.6-strip.patch b/skychart-3.0.1.6-strip.patch deleted file mode 100644 index ab246e9..0000000 --- a/skychart-3.0.1.6-strip.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 0273c3c873840514b09fb0a945305ca7a19d7026 Mon Sep 17 00:00:00 2001 -From: Lubomir Rintel -Date: Sat, 24 Jul 2010 13:10:44 -0400 -Subject: [PATCH] Do not strip binaries upon install - ---- - install.sh | 12 ++++++------ - 1 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/install.sh b/install.sh -index fcc8db1..0eeb429 100755 ---- a/install.sh -+++ b/install.sh -@@ -17,12 +17,12 @@ install -m 755 -d $destdir/share/doc - install -m 755 -d $destdir/share/doc/skychart - install -m 755 -d $destdir/share/pixmaps - --install -v -m 755 -s skychart/cdc $destdir/bin/skychart --install -v -m 755 -s skychart/cdcicon $destdir/bin/cdcicon --install -v -m 755 -s varobs/varobs $destdir/bin/varobs --install -v -m 755 -s varobs/varobs_lpv_bulletin $destdir/bin/varobs_lpv_bulletin --install -v -m 644 -s skychart/library/getdss/libgetdss.so $destdir/lib/libgetdss.so --install -v -m 644 -s skychart/library/plan404/libplan404.so $destdir/lib/libplan404.so -+install -v -m 755 skychart/cdc $destdir/bin/skychart -+install -v -m 755 skychart/cdcicon $destdir/bin/cdcicon -+install -v -m 755 varobs/varobs $destdir/bin/varobs -+install -v -m 755 varobs/varobs_lpv_bulletin $destdir/bin/varobs_lpv_bulletin -+install -v -m 644 skychart/library/getdss/libgetdss.so $destdir/lib/libgetdss.so -+install -v -m 644 skychart/library/plan404/libplan404.so $destdir/lib/libplan404.so - install -v -m 644 system_integration/Linux/share/applications/skychart.desktop $destdir/share/applications/skychart.desktop - install -v -m 644 system_integration/Linux/share/doc/skychart/changelog $destdir/share/doc/skychart/changelog - install -v -m 644 system_integration/Linux/share/doc/skychart/copyright $destdir/share/doc/skychart/copyright --- -1.6.5.2 - diff --git a/skychart.desktop b/skychart.desktop deleted file mode 100644 index 5528af8..0000000 --- a/skychart.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Type=Application -Name=SkyChart (Cartes du Ciel) -Comment=Planetarium software for the advanced amateur astronomer -GenericName=SkyChart -Exec=skychart %f -Icon=skychart -Categories=Education;Astronomy; -Terminal=false diff --git a/skychart.spec b/skychart.spec deleted file mode 100644 index bffc176..0000000 --- a/skychart.spec +++ /dev/null @@ -1,137 +0,0 @@ -Name: skychart -Version: 3.0.1.6 -Release: 3.20100724svn%{?dist} -Summary: Planetarium software for the advanced amateur astronomer - -# svn export -r1351 https://svn.origo.ethz.ch/skychart/trunk@1351 skychart-3.0.1.6 -# tar czf skychart-3.0.1.6.tar.gz skychart-3.0.1.6 - -Group: Amusements/Graphics -License: GPLv2+ -URL: https://sourceforge.net/projects/skychart/ -Source0: %{name}-%{version}.tar.gz -Source1: skychart.desktop -Patch1: skychart-3.0.1.6-desktop.patch -Patch2: skychart-3.0.1.6-strip.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# FIXME: http://koji.fedoraproject.org/koji/taskinfo?taskID=918916 -ExcludeArch: ppc64 - -BuildRequires: lazarus >= 0.9.26 -BuildRequires: ImageMagick -BuildRequires: desktop-file-utils -BuildRequires: dos2unix -BuildRequires: gtk2-devel -Requires: xdg-utils -Requires: tzdata - -%description -This program enables you to draw sky charts, making use of the data in 16 -catalogs of stars and nebulae. In addition the position of planets, -asteroids and comets are shown. - -The purpose of this program is to prepare different sky maps for a -particular observation. A large number of parameters help you to choose -specifically or automatically which catalogs to use, the colour and the -dimension of stars and nebulae, the representation of planets, the display -of labels and coordinate grids, the superposition of pictures, the -condition of visibility and more. All these features make this celestial -atlas more complete than a conventional planetarium. - - -%prep -%setup -q -%patch1 -p1 -b .desktop -%patch2 -p1 -b .strip -find skychart -type f -print0 |xargs -0 chmod 644 - - -%build -./configure lazarus=%{_libdir}/lazarus prefix=%{_prefix} - -# We build these separately so that we can apply optflags -make %{_smp_mflags} arch_flags="%{optflags}" -C skychart/library/getdss -make %{_smp_mflags} arch_flags="%{optflags}" -C skychart/library/plan404 - -make # not concurrency-safe - -# Fix exotic EOL encodings -dos2unix -qk tools/doc/html_doc/en/feature_class_fichiers/common.css -dos2unix -qk tools/doc/html_doc/en/feature_class_fichiers/custom.css -dos2unix -qk tools/doc/releasenotes*.txt - - -%install -rm -rf $RPM_BUILD_ROOT - -make install install_data PREFIX=$RPM_BUILD_ROOT%{_prefix} - -# Fix multilib path -[ %{_lib} = lib ] || mv $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}} - -# Fix debuginfo -chmod +x $RPM_BUILD_ROOT%{_libdir}/* - -# Menu entry -desktop-file-install --vendor=fedora \ - --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ - $RPM_BUILD_ROOT%{_datadir}/applications/skychart.desktop - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%{_bindir}/* -%{_libdir}/*.so -%{_datadir}/applications/* -%{_datadir}/pixmaps/* -%dir %{_datadir}/skychart -%{_datadir}/skychart/data -%{_datadir}/skychart/cat -%doc %{_datadir}/skychart/doc -%exclude %{_datadir}/doc/skychart -%doc skychart/gpl.txt - - -%post -p /sbin/ldconfig - - -%postun -p /sbin/ldconfig - - -%changelog -* Sat Jul 24 2010 Lubomir Rintel (Fedora Astronomy) - 3.0.1.6-3.20100724svn -- Update to a later snapshot - -* Sun Jul 26 2009 Fedora Release Engineering - 3.0.1.6-2.20090408svn -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Apr 08 2009 Lubomir Rintel (Fedora Astronomy) - 3.0.1.6-1.20090408svn -- Update to post latest beta -- Drop the unzip patch -- Upstream did the datadir and xdg-open chage as well, drop patches - -* Wed Apr 08 2009 Lubomir Rintel (Fedora Astronomy) - 3.0.1.5-6.20081026svn -- Enable GTK2 UI - -* Fri Mar 27 2009 Lubomir Rintel (Fedora Astronomy) - 3.0.1.5-5.20081026svn -- Fix desktop entry categories - -* Wed Feb 25 2009 Fedora Release Engineering - 3.0.1.5-4.20081026svn -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Mon Dec 01 2008 Lubomir Rintel (Fedora Astronomy) - 3.0.1.5-3.20081026svn -- Own /usr/share/skychart (#474037) - -* Thu Nov 06 2008 Lubomir Rintel (Fedora Astronomy) - 3.0.1.5-2.20081026svn -- Temporarily disable ppc64 build due to a compiler bug - -* Wed Oct 29 2008 Lubomir Rintel (Fedora Astronomy) - 3.0.1.5-1.20081026svn -- Rebase to later upstream, since we have more recent fpc and lazarus now - -* Sun Oct 26 2008 Lubomir Rintel (Fedora Astronomy) - 3.0.1.3-1.20071015svn -- Initial packaging attempt diff --git a/sources b/sources deleted file mode 100644 index 47b47de..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -bf5740ab05196d74a85ecab8247d84d8 skychart-3.0.1.6.tar.gz