]> git.pld-linux.org Git - packages/kde4-kstars.git/blob - kde4-kstars.spec
34689db2eb107ffce11d51e1d671923413ac1925
[packages/kde4-kstars.git] / kde4-kstars.spec
1 %define         _state          stable
2 %define         orgname         kstars
3
4 Summary:        K Desktop Environment - Desktop planetarium
5 Summary(pl.UTF-8):      K Desktop Environment - Planetarium
6 Name:           kde4-kstars
7 Version:        4.12.4
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Science
11 Source0:        ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
12 # Source0-md5:  e6aaf1c2c966c800c1b0db472e3f0338
13 URL:            http://www.kde.org/
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  automoc4
16 BuildRequires:  cfitsio-devel >= 3.09
17 BuildRequires:  eigen >= 2.0.0
18 BuildRequires:  kde4-kdelibs-devel >= %{version}
19 BuildRequires:  libindi-devel
20 BuildRequires:  qt4-build
21 BuildRequires:  xplanet
22 Obsoletes:      kde4-kdeedu-kstars < 4.6.99
23 Obsoletes:      kstarts <= 4.8.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 KStars lets you explore the night sky from the comfort of your
28 computer chair. It provides an accurate graphical representation of
29 the night sky for any date, from any location on Earth. The display
30 includes 126,000 stars to 9th magnitude (well below the naked-eye
31 limit), 13,000 deep-sky objects (Messier, NGC and IC catalogs), all
32 planets, the Sun and Moon, hundreds of comets and asteroids, the Milky
33 Way, 88 constellations, and guide lines such as the celestial equator,
34 the horizon and the ecliptic.
35
36 %description -l pl.UTF-8
37 KStars pozwala przeglądać nocne niebo z wygodą krzesła przy
38 komputerze. Dostarcza dokładną graficzną reprezentację nocnego nieba
39 dla dowolnej daty, z dowolnego miejsca na Ziemi. Obraz zawiera 126000
40 gwiazd do 9. wielkości (znacznie poza zasięgiem nieuzbrojonego oka),
41 13000 obiektów (katalogi Messiera, NGC i IC), wszystkie planety,
42 Słońce i Księżyc, setki komet i asteroid, Drogę Mleczną, 88
43 konstelacji oraz linie prowadzące takie jak równik astronomiczny,
44 horyzont i ekliptykę.
45
46 %prep
47 %setup -q -n %{orgname}-%{version}
48
49 %build
50 install -d build
51 cd build
52 %cmake \
53         ..
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} -C build/ install \
60         DESTDIR=$RPM_BUILD_ROOT \
61         kde_htmldir=%{_kdedocdir}
62
63 %find_lang %{orgname} --with-kde
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files -f %{orgname}.lang
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/kstars
74 %{_desktopdir}/kde4/kstars.desktop
75 %{_datadir}/config.kcfg/kstars.kcfg
76 %{_datadir}/config/kstars.knsrc
77 %{_datadir}/apps/kstars
78 %{_iconsdir}/hicolor/*x*/apps/kstars.png
79 %{_iconsdir}/hicolor/scalable/apps/kstars.svgz
This page took 0.051833 seconds and 2 git commands to generate.