]> git.pld-linux.org Git - SPECS.git/blob - spacechart.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / spacechart.spec
1 Summary:        SpaceChart - a 3d map of the stars
2 Summary(pl.UTF-8):      SpaceChart - trójwymiarowa mapa nieba
3 Name:           spacechart
4 Version:        0.9.5
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Science
8 Source0:        ftp://ftp.gnu.org/pub/gnu/spacechart/%{name}-%{version}.tar.gz
9 # Source0-md5:  5d23778a92b3c4a1e843efc114d69f83
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 URL:            http://www.gnu.org/software/spacechart/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gettext-tools
16 BuildRequires:  gnome-libs-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 SpaceChart is a program for displaying maps of the stars in 3D and
21 rotate them. It is capable of showing only a subset of the stars in a
22 given data file, and only those within a given distance of the center
23 of the display. Also, it shows lines between stars that are closer
24 than a given distance.
25
26 Included with the program is the file gliese.dat, which is based on
27 the Gliese Catalogue of Nearby Stars, 3rd version, which includes all
28 known stars within 25 parsecs of the Sun.
29
30 %description -l pl.UTF-8
31 SpaceChart jest programem, który wyświetla mapę nieba w trzech
32 wymiarach oraz umożliwia jej obracanie wokół gwiazd. Za jego pomocą
33 można ograniczyć oglądany zbiór gwiazd względem ich własności, a także
34 odległości od centrum okna podglądu.
35
36 Z programem jest dołączany plik gliese.dat, który został utworzony na
37 podstawie katalogu Gliese Catalogue of Nearby Stars (trzecia wersja),
38 który zawiera wszystkie znane gwiazdy w odległości do 25 parseków od
39 Słońca.
40
41 %prep
42 %setup -q
43
44 %build
45 rm -f missing
46 %{__gettextize}
47 %{__aclocal} -I %{_aclocaldir}/gnome
48 %{__autoconf}
49 %{__automake}
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
61 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc README doc/coordinates.txt doc/sample-spacechartrc
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/spacechartrc
72 %attr(755,root,root) %{_bindir}/*
73 %{_datadir}/%{name}
74 %{_desktopdir}/%{name}.desktop
75 %{_pixmapsdir}/*
This page took 0.147106 seconds and 3 git commands to generate.