Compare commits

...
Sign in to create a new pull request.

164 commits

Author SHA1 Message Date
Artur Frenszek-Iwicki
a1f9b40e25 Fix build with FPC 3.2.4 2025-08-15 10:35:00 +02:00
Fedora Release Engineering
e349e4daf3 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 18:23:58 +00:00
Mattia Verga
83f39af43b Update to svn4974 2025-03-09 15:53:05 +01:00
Fedora Release Engineering
7e0d8b2261 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 10:55:20 +00:00
Mattia Verga
c7cacc4ff6 Fix F41 FTB (Fedora#2301274) 2024-08-02 18:49:24 +02:00
Fedora Release Engineering
9e8fda5da7 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 05:47:55 +00:00
Mattia Verga
c1a1464aff Update to latest svn version 2024-02-08 17:50:22 +01:00
Fedora Release Engineering
4bf60622da Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 03:29:30 +00:00
Mattia Verga
c8afa8c3e1 Update to latest svn snapshot 2023-11-22 18:11:35 +01:00
Mattia Verga
91ee701e63 Update to latest snapshot 2023-10-02 18:19:26 +02:00
Mattia Verga
37ec51b563 Migrate to SPDX license 2023-09-10 10:01:32 +02:00
Fedora Release Engineering
e10e4642f5 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 01:53:10 +00:00
Fedora Release Engineering
6a2e497498 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 03:27:29 +00:00
Mattia Verga
185bf6293a Update to svn4558
...

- Add VdB catalog to data-dso
2022-12-03 09:44:22 +01:00
Fedora Release Engineering
8ad45ec296 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 08:48:13 +00:00
Mattia Verga
14a1ffe848 Update to 4.3-4486
- Add support for OpenSSL3
2022-04-11 15:40:02 +02:00
Mattia Verga
0b88577def Move old changelog to external file 2022-04-11 15:35:45 +02:00
Mattia Verga
f2fc2cf49c Update svn version 2022-02-05 11:12:00 +01:00
Fedora Release Engineering
0e10221e12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 01:05:15 +00:00
Mattia Verga
f46ae03f97 Fix appdata file name for validation 2021-11-01 14:28:20 +01:00
Mattia Verga
0b1338ff81 Update noupdatemenu patch 2021-11-01 14:17:33 +01:00
Mattia Verga
c9e99fff79 Update svn version 2021-11-01 14:04:57 +01:00
Fedora Release Engineering
b579191ab5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 17:44:36 +00:00
Mattia Verga
be699354da Update svn version to commit 4358 2021-05-02 11:10:31 +02:00
Fedora Release Engineering
38aae281ea - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 20:33:41 +00:00
Tom Stellard
dba62ee5d8 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-08 21:35:21 +00:00
Mattia Verga
199e7c2df7 Update svn version 2020-12-15 15:26:24 +01:00
Fedora Release Engineering
e4fe302eb2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 10:55:51 +00:00
Mattia Verga
e9db6968d7 ExcludeArch ppc64le due to compilation errors 2020-02-08 18:04:15 +01:00
Mattia Verga
30875b4ef0 Add patch file 2020-02-01 11:52:49 +01:00
Mattia Verga
52c3de496d Update to 4.3 svn 2020-02-01 11:52:18 +01:00
Fedora Release Engineering
3a9ec30d4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 23:39:15 +00:00
Mattia Verga
1eda79a111 Update skychart.rpmlintrc
Correct regex for catalog files
2019-11-26 18:07:53 +00:00
Mattia Verga
977441fc36 Update to stable 4.2.1 2019-11-26 18:35:12 +01:00
Mattia Verga
2423e1681b Add rpmlint whitelist 2019-10-18 11:27:25 +02:00
Mattia Verga
510e2b531a Fix unowned directories 2019-10-18 11:17:24 +02:00
Mattia Verga
b8a6e65b14 Release 4.2 stable 2019-10-18 09:51:27 +02:00
Mattia Verga
6f3f29e179 Update svn version to 4000 2019-08-29 08:41:51 +02:00
Fedora Release Engineering
35f3141630 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 23:30:05 +00:00
Mattia Verga
e6e6332bd3 Update to svn commit #4925 2019-04-27 14:48:20 +02:00
Fedora Release Engineering
e427b25195 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 15:35:52 +00:00
Mattia Verga
8cb5af07f6 Update svn version. 2018-11-03 13:35:48 +01:00
Fedora Release Engineering
54c240166a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 06:15:58 +00:00
Mattia Verga
1f0a341a49 Fix appdata files location 2018-02-25 15:13:16 +01:00
Mattia Verga
13a899e26e Upgrade to development version to fix build failures. 2018-02-25 14:44:24 +01:00
Mattia Verga
b4da629847 Rebuild for FPC 3.0.4 / Lazarus 1.8.0 2018-02-25 10:58:43 +01:00
Fedora Release Engineering
c8504f470e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 16:57:55 +00:00
Igor Gnatenko
fc479ca26f Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 22:27:40 +01:00
Fedora Release Engineering
37c0c74c10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 08:32:57 +00:00
Mattia Verga
6a8c5a34f2 Change FPC compiler options to fix debuginfo package build 2017-07-29 18:13:43 +02:00
Fedora Release Engineering
87f6859ed4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 18:45:41 +00:00
Mattia Verga
2e4bc7b785 Fix for OpenSSL 1.1 2017-04-12 09:36:44 +02:00
Mattia Verga
eec531f174 Release ver 4.0 2017-03-19 16:23:46 +01:00
Mattia Verga
a36147e92f Fix patch number in .spec 2017-03-05 11:38:55 +01:00
Mattia Verga
607cd049d5 Fix version in libssl patch for F26> 2017-03-05 11:33:10 +01:00
Mattia Verga
573f2081c3 Patch to fix libssl and libcrypto links 2017-03-05 11:31:18 +01:00
Mattia Verga
01504d2842 Update to 3.11.svn3549 (4.0beta) 2017-02-28 12:04:46 +01:00
Mattia Verga
6f60da2640 Exclude ppc64 from building architectures due to lazarus limitations 2017-02-12 18:00:44 +01:00
Fedora Release Engineering
8b5f040134 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 13:34:19 +00:00
Mattia Verga
871a290bf8 Update svn version 2016-09-17 10:50:40 +02:00
Mattia Verga
8a87844565 Use new fpc_arches macro as ExclusiveArch 2016-04-17 11:52:46 +02:00
Mattia Verga
3a06f06bcf Remove additional NGC catalog due to incompatible license 2016-04-17 11:06:21 +02:00
Mattia Verga
f9e5722770 Remove old file catalog_wds.tgz from sources 2016-02-16 17:32:56 +01:00
Mattia Verga
49873f395a Update .spec file for the new version 2016-02-16 17:20:17 +01:00
Mattia Verga
011f4813fe Merge branch 'master' of ssh://pkgs.fedoraproject.org/skychart 2016-02-16 17:13:14 +01:00
Mattia Verga
b4952c3f08 New upstream sources and new patches 2016-02-16 17:12:23 +01:00
Fedora Release Engineering
72a67fe215 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 00:08:17 +00:00
Richard Hughes
5131195e2a Fix the metainfo files by removing zero-width space chars 2016-01-15 11:47:06 +00:00
Mattia Verga
75f62e3a59 Add .metainfo.xml files to subpackages 2016-01-12 17:22:32 +01:00
Mattia Verga
10ae04714e Update svn revision, libraries are now in separate package libpasastro.
Fix appdata file validation.
Correct wrong FSF address in source headers.
2016-01-10 15:08:49 +01:00
Mattia Verga
9a18e2a1e4 Properly set ExcludeArch 2015-12-20 14:21:14 +01:00
Mattia Verga
1841f6f50c Revert back to ExcludeArch 2015-12-11 17:41:39 +01:00
Mattia Verga
3353e407f7 Set ExclusiveArch to prevent build on arm and s390x because no fpc and lazarus are available on those architectures 2015-11-27 10:09:01 +01:00
Mattia Verga
14beab02b7 Add unpackaged file 2015-11-14 12:09:07 +01:00
Mattia Verga
b699542772 Remove old source file 2015-11-14 11:47:26 +01:00
Mattia Verga
8ef2f8a02c Correct files declaration 2015-11-14 11:38:37 +01:00
Mattia Verga
a81a4bf0f6 fix package release name 2015-11-14 11:05:06 +01:00
Mattia Verga
92f22688ed fix files not being committed?? 2015-11-14 11:02:45 +01:00
Mattia Verga
54dbc43b20 modify source files 2015-11-14 11:00:46 +01:00
Mattia Verga
93f6a75132 new source 2015-11-14 10:57:35 +01:00
Mattia Verga
29598aa7c9 new source 2015-11-14 10:56:33 +01:00
Mattia Verga
b31cc2aadb Update to 3.11svn 2015-11-14 10:40:16 +01:00
Zbigniew Jędrzejewski-Szmek
247e70ed3d execstack is not used since last release 2015-08-04 12:36:39 -04:00
Mattia Verga
ff7427b5d7 Validate appdata file 2015-06-21 13:01:04 +02:00
Mattia Verga
82075c264b Fix patch command 2015-06-20 09:30:42 +02:00
Mattia Verga
2026c704dc Added patch to fix build with lazarus 1.4 2015-06-20 09:10:25 +02:00
Dennis Gilmore
8dc462d7f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:02:55 +00:00
Peter Robinson
50ed8fd1b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 02:37:43 +00:00
Dennis Gilmore
2c3075acb3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-08 01:31:58 -05:00
Mattia Verga
e92b60075e Add appdata file to the list 2014-04-03 19:17:14 +02:00
Mattia Verga
8f5f939dc7 Fix patch 1 2014-04-03 19:07:05 +02:00
Mattia Verga
3021ea40c7 Update to 3.10 2014-04-03 18:35:23 +02:00
Mattia Verga
19383f21a4 Another directory missing... 2013-08-12 18:14:36 +02:00
Mattia Verga
85b0a29c35 More directories to fix arm build - fix also ppc and ppc64 2013-08-12 17:19:44 +02:00
Mattia Verga
2b21f99132 Wrong directory path.... 2013-08-12 16:50:58 +02:00
Mattia Verga
45ec853a70 Manually add needed directory to fix arm build 2013-08-12 16:30:31 +02:00
Mattia Verga
3914fe8a66 Enable arm build and try also ppc and ppc64 2013-08-12 15:35:57 +02:00
Dennis Gilmore
a47129d944 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 09:50:22 -05:00
Mattia Verga
e0b19b5818 Use xz instead of bzip to compress sources 2013-08-02 16:49:52 +02:00
Mattia Verga
73b6f955e5 Modify sources... again 2013-05-16 16:26:25 +02:00
Mattia Verga
4b16188ad8 add sources 2013-05-16 16:22:54 +02:00
Mattia Verga
fb1fd35481 Upload sources 2013-05-16 16:20:39 +02:00
Mattia Verga
75d0261566 Modify patch to disable wget and make additional dso catalogs available 2013-05-16 16:04:49 +02:00
Mattia Verga
0360a0bf27 Fix sources 2013-05-05 11:30:25 +02:00
Mattia Verga
63ff51d967 Make available additional star catalogs as subpackage 2013-05-05 09:02:49 +02:00
Mattia Verga
4db522bf89 Remove Group tag 2013-05-05 08:47:01 +02:00
Mattia Verga
9e2a921b41 Make doc package platform independent by building it as noarch
Remove unneeded buildroot and files declarations as of more recent guidelines
2013-04-06 09:25:45 +02:00
Mattia Verga
3ba7bf1fea modify specfile for new version 2013-03-16 17:44:34 +01:00
Mattia Verga
b60d5adad0 upload new sources version 3.8 2013-03-16 17:42:03 +01:00
Mattia Verga
426a3dc271 rename patch for new version 2013-03-16 17:33:05 +01:00
Mattia Verga
8d341a9ff2 Merge branch 'master' of ssh://pkgs.fedoraproject.org/skychart
Conflicts:
	skychart.spec
2013-03-10 09:37:52 +01:00
Mattia Verga
fa29caaf9d Exclude armv7hl architecture from build 2013-03-10 09:33:17 +01:00
Dennis Gilmore
dc48b5e228 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 18:05:49 -06:00
Mattia Verga
986c730898 Update to 3.7 testing version 2012-10-06 14:37:14 +02:00
Dennis Gilmore
d666b2c68e - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 14:49:45 -05:00
Mattia Verga
ade2067b08 revert previous change. Skychart fails to compile on ppc and ppc64 2012-07-01 14:22:05 +02:00
Mattia Verga
74026758b9 Enabled build on ppc and ppc64 2012-07-01 13:37:14 +02:00
Mattia Verga
006c5c2416 Correct wrong patch 2012-04-20 18:09:57 +02:00
Mattia Verga
2e37b2f27e Rebuild with lazarus 0.9.30.4 2012-04-20 17:51:41 +02:00
Mattia Verga
abcd8594ee fix error in specfile 2012-04-08 12:01:14 +02:00
Mattia Verga
53a73b4eea Modify .spec for 3.6 version 2012-03-17 18:54:33 +01:00
Mattia Verga
ef0a74f25e Remove files no more used
Remove patches merged upstream
2012-03-17 18:38:09 +01:00
Mattia Verga
6c7752675f Add new sources and patches for 3.6 version 2012-03-17 18:35:30 +01:00
Mattia Verga
b8f2e956d5 Add license type for documentation 2012-01-24 18:35:24 +01:00
Mattia Verga
be6ddea85d Add wiki documentation as subpackage 2012-01-22 11:11:20 +01:00
Mattia Verga
591c95d59d Removed old patch 2012-01-22 10:50:41 +01:00
Mattia Verga
ec98955472 Excluded ppc architecture from build 2012-01-22 10:44:46 +01:00
Mattia Verga
b33e42d384 Remove prohibited exe code 2012-01-22 10:42:56 +01:00
Mattia Verga
02be837a08 Fix old FSF address 2012-01-22 10:40:29 +01:00
Mattia Verga
cf1c9ee20f Patch to make it compile with gcc 4.7 2012-01-21 11:44:21 +01:00
Sergio Pascual
57a5f6c298 Added missing source tarball
Renamed patches
2012-01-21 10:12:26 +01:00
Sergio Pascual
441307347d Merge branch 'master' of ssh://pkgs.fedoraproject.org/skychart
Conflicts:
	skychart.spec
2012-01-20 00:36:12 +01:00
Sergio Pascual
115af30176 New upstream source
New source with ephemeris
2012-01-20 00:32:08 +01:00
Dennis Gilmore
13d147b754 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 22:01:18 -06:00
Dan Horák
b276d36674 no lazarus on s390(x) 2011-05-03 11:55:12 +02:00
Pasrario
365ce47790 Rebuilding with lazarus 0.9.30 2011-04-28 23:05:21 +02:00
Sergio Pascual
686732fd2e Rebuilding with lazarus 0.9.30 2011-04-28 12:10:34 +02:00
Sergio Pascual
44b1a5ff64 Patch from upstream to make skychart work with lazarus 0.9.28 2011-03-10 13:45:52 +01:00
Sergio Pascual
8bd2aac90a - Missing patch added 2011-02-16 13:33:56 +01:00
Sergio Pascual
c53bee6402 Merge branch 'master' of ssh://pkgs.fedoraproject.org/skychart
Conflicts:
	skychart.spec
2011-02-12 00:22:26 +01:00
Sergio Pascual
9c175f7865 - New upstream source 2011-02-12 00:20:50 +01:00
Dennis Gilmore
b8343a1ee1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 08:08:08 -06:00
Sergio Pascual
04885c32dd - Using d-f-validate instead od d-f-install (Fixes bz #662472)
- Changed RPM_BUILD_ROOT macro to lower case form
2011-01-13 12:58:52 +01:00
Fedora Release Engineering
992b0b437b dist-git conversion 2010-07-29 12:50:15 +00:00
Lubomir Rintel
8400dfeeb9 Pull never version 2010-07-24 18:06:01 +00:00
Bill Nottingham
94b19fca58 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:15:32 +00:00
Jesse Keating
758ab3f2bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 04:25:28 +00:00
Lubomir Rintel
b265b09c30 Fix unit path 2009-04-09 05:31:04 +00:00
Lubomir Rintel
ba82d0cfd9 Fix unit path 2009-04-09 05:28:54 +00:00
Lubomir Rintel
7de0e6e6d2 new sources 2009-04-08 19:33:04 +00:00
Lubomir Rintel
5e741d812b - Update to post latest beta
- Drop the unzip patch
- Upstream did the datadir and xdg-open chage as well, drop patches
2009-04-08 19:27:32 +00:00
Lubomir Rintel
afe00d9641 - Enable GTK2 UI 2009-04-08 18:51:59 +00:00
Lubomir Rintel
9166a539fd - Enable GTK2 UI 2009-04-08 18:47:30 +00:00
Lubomir Rintel
3fc6543f77 okay, no gtk2 until fpc is fixed 2009-03-27 07:18:13 +00:00
Lubomir Rintel
4cb0e845d0 fix up fpc dependency 2009-03-27 07:08:56 +00:00
Lubomir Rintel
a68332d274 fix up fpc dependency 2009-03-27 07:01:04 +00:00
Lubomir Rintel
5295675289 - Enable GTK2 UI
- Fix desktop entry categories
2009-03-27 06:35:50 +00:00
Jesse Keating
ced62a7447 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 01:25:23 +00:00
Lubomir Rintel
c6ad3cd352 Correct wrong cross-merge 2008-12-02 08:33:14 +00:00
Lubomir Rintel
6306b44c76 - Own /usr/share/skychart (#474037) 2008-12-01 21:30:39 +00:00
Lubomir Rintel
2ef02d7b18 Attempt to pass -Aas, try 2 2008-11-06 22:20:10 +00:00
Lubomir Rintel
8e5dc374e5 Add -Aas to debug ppc64 fail #470158 2008-11-06 21:54:35 +00:00
Lubomir Rintel
662b6b465a - Temporarily disable ppc64 build due to a compiler bug 2008-11-06 01:31:57 +00:00
Lubomir Rintel
5a329713b0 Initial import 2008-11-06 01:12:27 +00:00
13 changed files with 651 additions and 21 deletions

View file

38
.gitignore vendored Normal file
View file

@ -0,0 +1,38 @@
/catalog_gcvs.tgz
/catalog_idx.tgz
/catalog_tycho2.tgz
/catalog_wds.tgz
/catalog_pgc.tgz
/catalog_ngc.tgz
/catalog_gcm.tgz
/catalog_gpn.tgz
/catalog_lbn.tgz
/catalog_ocl.tgz
/skychart-3.11-3141-src-nopatents.tar.xz
/skychart-3.11-3157-src-nopatents.tar.xz
/skychart-3.11-3238-src-nopatents.tar.xz
/skychart-3.11-3287-src-nopatents.tar.xz
/catalog_barnard.tgz
/catalog_leda.tgz
/catalog_sh2.tgz
/skychart-3.11-3549-src-nopatents.tar.xz
/skychart-4.0-3575-src-nopatents.tar.xz
/skychart-4.1-3730-src-nopatents.tar.xz
/skychart-4.1.1-3792-src-nopatents.tar.xz
/skychart-4.1.1-3925-src-nopatents.tar.xz
/skychart-4.1.1-4000-src-nopatents.tar.xz
/skychart-4.2-4046-src-nopatents.tar.xz
/skychart-4.2.1-4073-src-nopatents.tar.xz
/skychart-4.3-4108-src-nopatents.tar.xz
/skychart-4.3-4238-src-nopatents.tar.xz
/skychart-4.3-4358-src-nopatents.tar.xz
/skychart-4.3-4401-src-nopatents.tar.xz
/skychart-4.3-4466-src-nopatents.tar.xz
/skychart-4.3-4486-src-nopatents.tar.xz
/catalog_vdb.tgz
/skychart-4.3-4558-src-nopatents.tar.xz
/data_spicesun.tgz
/skychart-4.3-4630-src-nopatents.tar.xz
/skychart-4.3-4639-src-nopatents.tar.xz
/skychart-4.3-4719-src-nopatents.tar.xz
/skychart-4.3-4974-src-nopatents.tar.xz

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: skychart
# $Id$
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
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)

167
changelog Normal file
View file

@ -0,0 +1,167 @@
* Sat Feb 05 2022 Mattia Verga <mattia.verga@protonmail.com> - 4.3-10.4466svn
- Update svn version
- Provide catgen by separate standalone subpackage
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-9.4401svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Nov 01 2021 Mattia Verga <mattia.verga@protonmail.com> - 4.3-8.4401svn
- Update svn version
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-7.4358svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 02 2021 Mattia Verga <mattia.verga@protonmail.com> - 4.3-6.4358svn
- Update svn version
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-5.4238svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Dec 15 2020 Mattia Verga <mattia.verga@protonmail.com> - 4.3-4.4238svn
- Update svn version
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3-3.4108svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat Feb 08 2020 Mattia Verga <mattia.verga@protonmail.com> - 4.3-2.4108svn
- ExcludeArch ppc64le due to compilation errors
* Sat Feb 01 2020 Mattia Verga <mattia.verga@protonmail.com> - 4.3-1.4108svn
- Update to 4.3 svn
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-2.4073svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 26 2019 Mattia Verga <mattia.verga@protonmail.com> - 4.2.1-1.4073svn
- Update to stable 4.2.1
* Fri Oct 18 2019 Mattia Verga <mattia.verga@protonmail.com> - 4.2-1.4046svn
- Release stable 4.2
* Thu Aug 29 2019 Mattia Verga <mattia.verga@protonmail.com> - 4.1.1-5.4000svn
- Update svn version
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-4.3925svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Apr 27 2019 Mattia Verga <mattia.verga@protonmail.com> - 4.1.1-3.3925svn
- Update svn version
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-2.3792svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Nov 03 2018 Mattia Verga <mattia.verga@protonmail.com> - 4.1.1-1.3792svn
- Update svn version
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-2.3730svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Feb 25 2018 Mattia Verga <mattia.verga@email.it> - 4.1-1.3730svn
- Upgrade to development version to fix build failures
* Sun Feb 25 2018 Mattia Verga <mattia.verga@email.it> - 4.0-8
- Rebuild for fpc 3.0.4 and lazarus 1.8
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0-6
- Remove obsolete scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Sat Jul 29 2017 Mattia Verga <mattia.verga@email.it> - 4.0-4
- Change FPC compiler options to fix debuginfo package build
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Apr 12 2017 Mattia Verga <mattia.verga@tiscali.it> - 4.0-2
- Fix for OpenSSL 1.1
* Sun Mar 19 2017 Mattia Verga <mattia.verga@tiscali.it> - 4.0-1
- Release ver 4.0
* Sun Mar 05 2017 Mattia Verga <mattia.verga@tiscali.it> - 3.11-17.3549svn
- Patch to fix libssl and libcrypto links
* Mon Feb 27 2017 Mattia Verga <mattia.verga@tiscali.it> - 3.11-16.3549svn
- Update svn version
* Sun Feb 12 2017 Mattia Verga <mattia.verga@tiscali.it> - 3.11-15.3287svn
- Set ExcludeArch ppc64 due to lazarus limitations
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-14.3287svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Sep 17 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-13.3287svn
- Update svn version
* Sun Apr 17 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-12.3238svn
- Use new fpc_arches macro as ExclusiveArch
* Sun Apr 17 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-11.3238svn
- Remove additional NGC catalog due to incompatible license
* Mon Feb 15 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-10.3238svn
- Update svn version
- Remove remnants of pre built .dll files in sources
- Remove libraries from sources that are now provided externally
- Patch to inform user about artificial satellites calculation removal
- Patch to set option to disable software update menu item
* Fri Feb 12 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-9.3229svn
- Update svn version
- FSF address in sources is now fixed upstream
- Appdata file is now fixed upstream
- Updated catalog_wds source file from upstream
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-8.3157svn
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 15 2016 Richard Hughes <richard@hughsie.com> - 3.11-7.3157svn
- Fix the metainfo files by removing zero-width space chars
* Mon Jan 11 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-6.3157svn
- Add .metainfo.xml files to subpackages
* Sun Jan 10 2016 Mattia Verga <mattia.verga@tiscali.it> - 3.11-5.3157svn
- Update svn version
- Libraries are now in separate package libpasastro
- Fix wrong FSF address in source headers
- Fix appdata file validation
* Sun Dec 20 2015 Mattia Verga <mattia.verga@tiscali.it> - 3.11-4.3141svn
- Properly set ExcludeArch
* Fri Dec 11 2015 Mattia Verga <mattia.verga@tiscali.it> - 3.11-3.3141svn
- Revert back to ExcludeArch
* Fri Nov 27 2015 Mattia Verga <mattia.verga@tiscali.it> - 3.11-2.3141svn
- Set ExclusiveArch to prevent build on arm and s390x
* Sat Nov 14 2015 Mattia Verga <mattia.verga@tiscali.it> - 3.11-1.3141svn
- Update to 3.11svn to fix incompatibility with lazarus 1.4.2
* Sun Jun 21 2015 Mattia Verga <mattia.verga@tiscali.it> - 3.10-7
- Validate appdata file
- Change license file location
* Sat Jun 20 2015 Mattia Verga <mattia.verga@tiscali.it> - 3.10-6
- Added patch to fix build with lazarus 1.4
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Apr 03 2014 Mattia Verga <mattia.verga@tiscali.it> - 3.10-2
- Fix patch1
* Thu Apr 03 2014 Mattia Verga <mattia.verga@tiscali.it> - 3.10-1
- Update to 3.10

29
generate-tarball.sh Executable file
View file

@ -0,0 +1,29 @@
#!/bin/sh
VERSION=$1
tar -xJvf skychart-$VERSION-src.tar.xz
#Remove pre-built software
rm -rf skychart-$VERSION-src/tools/data/iridflar
rm -rf skychart-$VERSION-src/tools/data/quicksat
rm -rf skychart-$VERSION-src/skychart/sample_client/astrolabe/*.dll
rm -rf skychart-$VERSION-src/skychart/sample_client/ds2cdc/*.dll.zip
#Remove Mac and Windows unneeded stuff
rm -rf skychart-$VERSION-src/system_integration/Windows
rm -rf skychart-$VERSION-src/system_integration/MacOSX
#Remove libraries provided by separate package libpasastro
#they are here only for building the Win version
rm -rf skychart-$VERSION-src/skychart/library/getdss
rm -rf skychart-$VERSION-src/skychart/library/plan404
rm -rf skychart-$VERSION-src/skychart/library/wcs
#Remove NGC2000 catalog with license problem and no more used
rm -rf skychart-$VERSION-src/tools/cat/ngc2000
tar -cJvf skychart-$VERSION-src-nopatents.tar.xz skychart-$VERSION-src
#Remove temporary directory
rm -rf skychart-$VERSION-src

View file

@ -0,0 +1,44 @@
--- a/tools/install_data.orig.sh 2012-03-05 19:56:30.000000000 +0100
+++ b/tools/install_data.sh 2012-10-06 13:37:24.214119567 +0200
@@ -4,9 +4,9 @@
pkg=$1.tgz
ddir=$2
pkgz=../BaseData/$pkg
- if [ ! -e $pkgz ]; then
- wget http://sourceforge.net/projects/skychart/files/4-source_data/$pkg -O $pkgz
- fi
+# if [ ! -e $pkgz ]; then
+# wget http://sourceforge.net/projects/skychart/files/4-source_data/$pkg -O $pkgz
+# fi
tar xvzf $pkgz -C $ddir
}
--- a/install_cat1.orig.sh 2012-03-05 19:56:30.000000000 +0100
+++ b/install_cat1.sh 2013-03-17 19:47:02.024214677 +0100
@@ -6,9 +6,9 @@
pkg=$1.tgz
ddir=$2
pkgz=BaseData/$pkg
- if [ ! -e $pkgz ]; then
- wget http://sourceforge.net/projects/skychart/files/4-source_data/$pkg -O $pkgz
- fi
+# if [ ! -e $pkgz ]; then
+# wget http://sourceforge.net/projects/skychart/files/4-source_data/$pkg -O $pkgz
+# fi
tar xvzf $pkgz -C $ddir
}
--- a/install_cat2.orig.sh 2012-03-05 19:56:30.000000000 +0100
+++ b/install_cat2.sh 2013-03-17 19:47:02.024214677 +0100
@@ -6,9 +6,9 @@
pkg=$1.tgz
ddir=$2
pkgz=BaseData/$pkg
- if [ ! -e $pkgz ]; then
- wget http://sourceforge.net/projects/skychart/files/4-source_data/$pkg -O $pkgz
- fi
+# if [ ! -e $pkgz ]; then
+# wget http://sourceforge.net/projects/skychart/files/4-source_data/$pkg -O $pkgz
+# fi
tar xvzf $pkgz -C $ddir
}

View file

@ -0,0 +1,15 @@
diff -rU4 skychart-4.3-4974-src--orig/skychart/cu_tz.pas skychart-4.3-4974-src--patched/skychart/cu_tz.pas
--- skychart-4.3-4974-src--orig/skychart/cu_tz.pas 2025-03-03 03:30:14.000000000 +0100
+++ skychart-4.3-4974-src--patched/skychart/cu_tz.pas 2025-08-15 10:32:52.001369952 +0200
@@ -41,8 +41,11 @@
Windows,
{$endif}
{$ifdef unix}
unixutil,
+ {$IF FPC_FULLVERSION > 30202} // FPC 3.2.4 moves TzSeconds from UnixUtil to Unix
+ unix,
+ {$ENDIF}
{$endif}
Classes, SysUtils, Math;
type

View file

@ -0,0 +1,18 @@
diff -udHrN -- a/install.sh b/install.sh
--- a/install.sh 2022-01-16 17:11:45.000000000 +0100
+++ b/install.sh 2022-01-17 20:59:08.009725109 +0100
@@ -31,10 +31,10 @@
install -m 755 -d $destdir/share/icons/hicolor/scalable
install -m 755 -d $destdir/share/icons/hicolor/scalable/apps
-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 skychart/catgen $destdir/bin/catgen
-install -v -m 755 -s varobs/varobs $destdir/bin/varobs
+install -v -m 755 skychart/cdc $destdir/bin/skychart
+install -v -m 755 skychart/cdcicon $destdir/bin/cdcicon
+install -v -m 755 skychart/catgen $destdir/bin/catgen
+install -v -m 755 varobs/varobs $destdir/bin/varobs
install -v -m 644 system_integration/Linux/share/applications/net.ap_i.skychart.desktop $destdir/share/applications/net.ap_i.skychart.desktop
install -v -m 644 system_integration/Linux/share/applications/net.ap_i.catgen.desktop $destdir/share/applications/net.ap_i.catgen.desktop
install -v -m 644 system_integration/Linux/share/applications/net.ap_i.varobs.desktop $destdir/share/applications/net.ap_i.varobs.desktop

View file

@ -0,0 +1,12 @@
diff -udHrN -- a/skychart/Makefile.in b/skychart/Makefile.in
--- a/skychart/Makefile.in 2022-04-09 11:57:49.000000000 +0200
+++ b/skychart/Makefile.in 2022-04-11 15:01:56.238713121 +0200
@@ -17,7 +17,7 @@
[compiler]
unittargetdir=units/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)
includedir=./
-options= $(opt_target) $(fpcopts) -CF64 -dWithUpdateMenu -dUseCThreads -dLCL -dLCL$(LCL_PLATFORM) -MObjFPC -Sgi -vewni -l
+options= $(opt_target) $(fpcopts) -CF64 -dUseCThreads -dLCL -dLCL$(LCL_PLATFORM) -MObjFPC -Sgi -vewni -l
unitdir=library/catalog/lib/$(CPU_TARGET)-$(OS_TARGET)/ component/uniqueinstance/lib/$(CPU_TARGET)-$(OS_TARGET)/ component/jdcalendar/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/downloaddialog/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/bgrabitmap/lib/$(CPU_TARGET)-$(OS_TARGET) component/enhedits/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/libsql/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/mrecsort/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/multiframe/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/radec/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/zoomimage/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/indiclient/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/vo/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/vosamp/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/synapse/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ component/xmlparser/lib/$(CPU_TARGET)-$(OS_TARGET)-$(LCL_PLATFORM)/ $(LAZDIR)/components/turbopower_ipro/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ $(LAZDIR)/components/printers/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ $(LAZDIR)/components/cairocanvas/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ $(LAZDIR)/lcl/units/$(CPU_TARGET)-$(OS_TARGET)/ $(LAZDIR)/lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ $(LAZDIR)/packager/units/$(CPU_TARGET)-$(OS_TARGET)/ $(LAZDIR)/components/synedit/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ $(LAZDIR)/components/PascalScript/Source/lib/$(CPU_TARGET)-$(OS_TARGET) $(LAZDIR)/components/lazcontrols/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ $(LAZDIR)/components/lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) $(LAZDIR)/components/freetype/lib/$(CPU_TARGET)-$(OS_TARGET) $(LAZDIR)/ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ./
[clean]

View file

@ -0,0 +1,41 @@
diff -U 3 -dHrN -- a/skychart/u_satellite.pas b/skychart/u_satellite.pas
--- a/skychart/u_satellite.pas 2020-01-26 16:24:19.000000000 +0100
+++ b/skychart/u_satellite.pas 2020-02-01 11:46:01.224703002 +0100
@@ -100,36 +100,8 @@
end;
function CheckWine: boolean;
-var
- cmd, buf, msg: string;
- i, j: integer;
- r: TStringList;
begin
- r := TStringList.Create;
- cmd := 'wine --version';
- i := execprocess(cmd, r);
- Result := (i = 0);
-
- if not Result then
- begin
-
- if r.Count > 0 then
- begin
- buf := '';
- for j := 0 to r.Count - 1 do
- buf := buf + r[j];
- end
- else
- buf := '';
-
- msg := rsPleaseInstWine;
- {$ifdef linux}
- msg := msg + crlf + rsIfItIsNotIns + crlf + 'apt-get install wine' +
- crlf + 'yum install wine';
- {$endif}
- ShowMessage(msg + crlf + 'wine return: ' + buf);
- end;
- r.Free;
+ ShowMessage('Artificial satellites calculation has been removed due to Fedora policies.'+crlf+'If you need it, please uninstall Skychart provided by Fedora repositories and download Skychart rpms from the author site.');
end;
procedure SatelliteList(y, m, startd, endd, maglimit, tle, tmpdir,

5
skychart.rpmlintrc Normal file
View file

@ -0,0 +1,5 @@
# libpasastro is not a library
addFilter(r'explicit-lib-dependency libpasastro')
# some catalog files are zero length, not an error
addFilter(r'zero-length %{_datadir}/skychart/cat/.*/.*\.dat')

268
skychart.spec Normal file
View file

@ -0,0 +1,268 @@
%global svnversion 4974
%global date 20250303
%global maj_ver 4.3
Name: skychart
Version: %{maj_ver}^%{date}.svn%{svnversion}
Release: %autorelease
Summary: Planetarium software for the advanced amateur astronomer
# bgrabitmap code is licensed LGPL-3.0-only WITH LGPL-3.0-linking-exception
License: GPL-2.0-or-later AND LGPL-3.0-only WITH LGPL-3.0-linking-exception
URL: http://www.ap-i.net/skychart/
# Upstream sources are modified to:
# - Remove pre-built software (iridflare.exe, quicksat.exe, dll files)
# - Remove unneeded Windows and MacOS stuff
# - Remove libraries provided by libpasastro package
# (they still are in sources only for compiling the Windows version)
# To do this we use the generate-tarball.sh script
# Download upstream tarball from
# https://sourceforge.net/projects/skychart/files/0-beta/
# in the same directory of the script and run:
# ./generate-tarball.sh 4.3-4974
Source0: %{name}-%{maj_ver}-%{svnversion}-src-nopatents.tar.xz
Source1: generate-tarball.sh
# Base source data
Source2: http://sourceforge.net/projects/skychart/files/4-source_data/data_spicesun.tgz
# Source data for skychart-data-stars
Source3: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_gcvs.tgz
Source4: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_tycho2.tgz
Source5: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_wds.tgz
Source6: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_idx.tgz
# Source data for skychart-data-dso
Source7: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_leda.tgz
Source8: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_barnard.tgz
Source9: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_gcm.tgz
Source10: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_gpn.tgz
Source11: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_lbn.tgz
Source12: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_ocl.tgz
Source13: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_sh2.tgz
Source14: http://sourceforge.net/projects/skychart/files/4-source_data/catalog_vdb.tgz
# Avoid stripping debuginfo from executables
# This is Fedora specific and not reported upstream
Patch: skychart-4.3-nostrip.patch
# Disable wget in install script
# This is Fedora specific and not reported upstream
Patch: skychart-4.1-wgetdata.patch
# Notify the user that artificial satellites calculation
# has been disabled in Fedora RPMs due to Fedora policies
# This is Fedora specific and not reported upstream
Patch: skychart-4.3-satmessage.patch
# Disable software update menu item
# This feature was asked upstream specifically for Fedora
Patch: skychart-4.3-noupdatemenu.patch
# Fix build with FPC 3.2.4
Patch: skychart-4.3-fpc-3.2.4.patch
ExclusiveArch: %{fpc_arches}
ExcludeArch: %{ix86}
BuildRequires: make
BuildRequires: fpc
BuildRequires: fpc-src
BuildRequires: lazarus-lcl-nogui
BuildRequires: lazarus-lcl-qt5
BuildRequires: lazarus-tools
BuildRequires: desktop-file-utils
BuildRequires: dos2unix
BuildRequires: gtk2-devel
BuildRequires: ImageMagick
BuildRequires: libappstream-glib
Requires: libpasastro
Requires: tzdata
Requires: xdg-utils
Requires: xplanet
Recommends: openssl-libs
# Used for binary planetary ephemeris files
Recommends: calceph-libs
# Used for Gaia catalog
Recommends: chealpix
# Weak dependency on catgen
Recommends: skychart-catgen = %{version}-%{release}
%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.
%package doc
Summary: Documentation files for Skychart
License: CC-BY-SA-3.0 OR GFDL-1.3-no-invariants-or-later
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation files from the official Skychart wiki provided
within the program as an offline copy.
%package data-stars
Summary: Additional star catalogs for Skychart
License: LicenseRef-Fedora-Public-Domain
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description data-stars
Additional star catalogs for Skychart. This package install all the standard
stars catalog down to magnitude 12, variable and double stars:
Tycho 2; General Catalogue of Variable Stars; Washington Double Stars.
%package data-dso
Summary: Additional Deep Sky Object catalogs for Skychart
License: LicenseRef-Fedora-Public-Domain
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description data-dso
Additional DSO catalogs for Skychart. This package install all the standard
nebulae catalogs: LEDA Catalogue; Lynds Bright Nebulae; Open Cluster Data;
Globular Clusters in the Milky Way; Galactic Planetary Nebulae;
Barnard Catalogue of Dark Nebulae; Sharpless Catalog.
%package catgen
Summary: Custom catalog builder for Skychart
License: GPL-2.0-or-later
Provides: catgen = %{version}-%{release}
%description catgen
Custom catalog builder for Skychart.
%prep
%setup -q -n %{name}-%{maj_ver}-%{svnversion}-src
%autopatch -p1
# Fix executable bit set on sources
find skychart -type f -print0 | xargs -0 chmod -x
# Put additional catalogs files where are required for installation
cp -p %SOURCE2 ./BaseData
cp -p %SOURCE3 ./BaseData
cp -p %SOURCE4 ./BaseData
cp -p %SOURCE5 ./BaseData
cp -p %SOURCE6 ./BaseData
cp -p %SOURCE7 ./BaseData
cp -p %SOURCE8 ./BaseData
cp -p %SOURCE9 ./BaseData
cp -p %SOURCE10 ./BaseData
cp -p %SOURCE11 ./BaseData
cp -p %SOURCE12 ./BaseData
cp -p %SOURCE13 ./BaseData
cp -p %SOURCE14 ./BaseData
%build
./configure lazarus=%{_libdir}/lazarus prefix=%{_prefix}
# Skychart doesn't like parallel building so we don't use macro.
# We pass the following options to fpc compiler:
# - O2 for code optimization level
# - gw4 for generating dwarf 4 debug symbols
# - Cg to generate PIC code
make fpcopts="-O2 -gw4 -Cg"
%install
# Install main program
make install PREFIX=%{buildroot}%{_prefix}
# Install catalogs, translations and data files
make install install_data PREFIX=%{buildroot}%{_prefix}
# Install wiki documentation
make install install_doc PREFIX=%{buildroot}%{_prefix}
# Install additional catalogs
make install install_cat1 PREFIX=%{buildroot}%{_prefix}
make install install_cat2 PREFIX=%{buildroot}%{_prefix}
%check
# Menu entry
desktop-file-validate %{buildroot}%{_datadir}/applications/net.ap_i.*.desktop
# Appdata file check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
%files
%license skychart/gpl.txt
%doc %{_datadir}/doc/skychart/changelog
%doc %{_datadir}/doc/skychart/copyright
%{_bindir}/%{name}
%{_bindir}/cdcicon
%{_bindir}/varobs
%{_datadir}/applications/net.ap_i.%{name}.desktop
%{_datadir}/applications/net.ap_i.varobs.desktop
%{_datadir}/metainfo/net.ap_i.%{name}.metainfo.xml
%{_datadir}/metainfo/net.ap_i.varobs.metainfo.xml
%{_datadir}/mime/packages/net.ap_i.%{name}.xml
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/pixmaps/varobs.png
%{_datadir}/icons/*/*/*/%{name}.png
%{_datadir}/icons/*/*/*/varobs.png
%{_datadir}/icons/*/*/*/%{name}.svg
%{_datadir}/icons/*/*/*/varobs.svg
%dir %{_datadir}/skychart
%{_datadir}/skychart/data
%dir %{_datadir}/skychart/cat
%{_datadir}/skychart/cat/DSoutlines
%{_datadir}/skychart/cat/milkyway
%{_datadir}/skychart/cat/openngc
%{_datadir}/skychart/cat/RealSky
%{_datadir}/skychart/cat/xhip
%dir %{_datadir}/skychart/doc
%{_datadir}/skychart/doc/html_doc
%{_datadir}/skychart/doc/releasenotes*.txt
%{_datadir}/skychart/doc/varobs
%files doc
%doc %{_datadir}/skychart/doc/wiki_doc
%files data-stars
%{_datadir}/skychart/cat/gcvs
%{_datadir}/skychart/cat/tycho2
%{_datadir}/skychart/cat/wds
%{_datadir}/skychart/cat/bsc5
%{_datadir}/metainfo/net.ap_i.%{name}.%{name}_data_stars.metainfo.xml
%files data-dso
%{_datadir}/skychart/cat/leda
%{_datadir}/skychart/cat/lbn
%{_datadir}/skychart/cat/ocl
%{_datadir}/skychart/cat/gcm
%{_datadir}/skychart/cat/gpn
%{_datadir}/skychart/cat/barnard
%{_datadir}/skychart/cat/sh2
%{_datadir}/skychart/cat/vdb
%{_datadir}/metainfo/net.ap_i.%{name}.%{name}_data_dso.metainfo.xml
%files catgen
%{_bindir}/catgen
%{_datadir}/applications/net.ap_i.catgen.desktop
%{_datadir}/metainfo/net.ap_i.catgen.metainfo.xml
%{_datadir}/pixmaps/catgen.png
%{_datadir}/icons/*/*/*/catgen.png
%{_datadir}/icons/*/*/*/catgen.svg
%changelog
%autochangelog

14
sources
View file

@ -0,0 +1,14 @@
SHA512 (catalog_barnard.tgz) = 7b91c80dfc25e006cd0cfad6a64fab78aea9b9ded1e8f75b2c54851be788b6512be96bf8891692d9b52825a90fc27d6ae262d1dd3ccc9ff76318f4d91330bf02
SHA512 (catalog_gcm.tgz) = 957e87b81a23b64b5e40a6f3a55908637e86b01bba0fc36c9dd293966a9870faf7de22d548b324bf9a6c15641cd09d10f76a7200b52eab48fa4c7836115518ce
SHA512 (catalog_gcvs.tgz) = de2878a4ebe35c864d10354378ff033b0f8d261a818e5f66d6c39be28933501a94a662ed7dc85b40ec38270efe567cbd63a637c778aa386eb68584b32c4844f9
SHA512 (catalog_gpn.tgz) = d0e83773f1dd59d45e9465e6bc0bb0110631f7956fa01f37c5de763be0f7048c22abf3dccc4333c126272f270485b37084d8e22cd02db08e7bb8412da9c66bb4
SHA512 (catalog_idx.tgz) = 3b144993de14b73edaffd43a35b8404adb166c5b4edc223dd78e8db361ca9a61da2e9c3d29a0af97960c1cdcb94b307ce0824f1fda3b74b518f611666d1e362e
SHA512 (catalog_lbn.tgz) = bddc2cf48c2e575440ed114bb447187e2f30c87312a552ff63d40e88a08e05c31da1d45cb96a5bb0216093a07e4d16336a0a664a66d6e586221217ae45d803da
SHA512 (catalog_leda.tgz) = d8d1587ab937b1a14b6daa0a32dc1ee2238f13e198940c182abcfa73f27c89fe7657dd0f8c5a23372a847adfc76ce08276b41fbef13995b8713bef3dde0e1397
SHA512 (catalog_ocl.tgz) = 7d94a7b9981fef9f02609f10195f181c27ca7b8d6af0b12749b13e0e86cf09e4a2ff3d915e5618940e9d8b2ab4a4198b59cd05302322a5862f53535449f343e7
SHA512 (catalog_sh2.tgz) = c6501a6382d21b2508157a0921f3f6628e024f5228e2c87e56a8936fc4f069f33b8b0e8cbd7ef3980e5c1dff8b4ac5427f30e73260e1a24d49b779b0713e1e56
SHA512 (catalog_tycho2.tgz) = 722b542f09752353eab621fdd6559a9e28a9558500f550e63ed10111c29b578a49356bd6d548c4b9b4355e3b3bd5d46f311de71946689fcb949e85c3948d7b67
SHA512 (catalog_wds.tgz) = 0aa8a17450c499643a23abcfb2397bbf1b0199c39462538439c02d99c031b483f4a10c6f80de436f59cd8804d0079b4b2020cc8e6fd1dacd3823f72dc25d498c
SHA512 (catalog_vdb.tgz) = d3df026a2b5a1de6c41c7ec4202da48784d12a9a0adc6e6069a1b5f50b3beb6c80a66fd1be26fdf60fbbccbf32d392bffd0c020a867fe5d276231ecceaaa8528
SHA512 (data_spicesun.tgz) = 6656d6dd089025cb4cbbb1a76e2a5ae219b1be4ee87d8ceb8ce6abff9d59ed813939928baed2bd8eb4a1a48ec374c76527a5e70e53584bc3612aa12002604706
SHA512 (skychart-4.3-4974-src-nopatents.tar.xz) = 89e5c5c4294b5472b7640d094c498c5be1845616a8b9fd40a5e70b7defe268ddd86cf86e2454bb85dd00b3173fc162eceeddfba54c2cb4f9f0f6f83083b4d13b