]>
Commit | Line | Data |
---|---|---|
b57cd969 | 1 | Summary: Render a planetary image into an X window |
97b99d36 | 2 | Summary(pl.UTF-8): Renderuje obrazek planety w okienku X window |
904a9972 | 3 | Name: xplanet |
ef501942 | 4 | Version: 1.2.2 |
5 | Release: 1 | |
904a9972 MC |
6 | License: GPL |
7 | Group: X11/Amusements | |
646c75df | 8 | Source0: http://dl.sourceforge.net/xplanet/%{name}-%{version}.tar.gz |
ef501942 | 9 | # Source0-md5: b38c3b4cfdd772643f876a9bb15f288b |
42a7ad1b | 10 | Patch0: %{name}-gcc43.patch |
b57cd969 | 11 | URL: http://xplanet.sourceforge.net/ |
4d9bcda3 | 12 | BuildRequires: autoconf >= 2.50 |
57a1f2ef | 13 | BuildRequires: automake |
b57cd969 | 14 | BuildRequires: freetype-devel |
3d91a5d3 | 15 | BuildRequires: gettext-devel |
16 | BuildRequires: giflib-devel | |
904a9972 | 17 | BuildRequires: libjpeg-devel |
904a9972 | 18 | BuildRequires: libpng-devel |
6e21d8b8 | 19 | BuildRequires: libstdc++-devel |
b57cd969 | 20 | BuildRequires: libtiff-devel |
3d91a5d3 | 21 | BuildRequires: netpbm-devel |
22 | BuildRequires: pango-devel | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
904a9972 MC |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
904a9972 MC |
27 | %description |
28 | Xplanet is similar to Xearth, where an image of the earth is rendered | |
29 | into an X window. Azimuthal, Mercator, Mollweide, orthographic, or | |
30 | rectangular projections can be displayed as well as a window with a | |
31 | globe the user can rotate interactively. The other terrestrial planets | |
32 | may also be displayed. The Xplanet home page has links to locations | |
33 | with map files. | |
34 | ||
ddaa1482 JR |
35 | %description -l pl.UTF-8 |
36 | Xplanet podobne jest do Xearth, gdzie obrazek ziemi jest wyświetlany w | |
37 | X window. Mogą być także wyświetlane rzuty azymutalne, Mercatora, | |
38 | Mollweide'a, ortograficzne lub prostokątne, kiedy okienko z globem | |
39 | jest interaktywnie obracane. Mogą być także wyświetlane inne planety | |
40 | lądowe. Strona domowa Xplanet zawiera odnośniki do plików z mapami. | |
904a9972 MC |
41 | |
42 | %prep | |
43 | %setup -q | |
42a7ad1b | 44 | %patch0 -p1 |
904a9972 MC |
45 | |
46 | %build | |
57a1f2ef | 47 | %{__aclocal} |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
4d9bcda3 JB |
51 | # force using nl_langinfo interface instead of libcharset |
52 | %configure \ | |
53 | ac_cv_header_localcharset_h=no | |
b57cd969 | 54 | |
6efee40c | 55 | %{__make} \ |
9b04ba4a | 56 | CPPFLAGS="-I/usr/include/freetype2 -I/usr/X11R6/include -I`pwd`" \ |
6efee40c | 57 | CXXFLAGS="%{rpmcflags}" |
904a9972 MC |
58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
6efee40c JB |
61 | |
62 | %{__make} install \ | |
57a1f2ef | 63 | DESTDIR=$RPM_BUILD_ROOT |
904a9972 MC |
64 | |
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
57a1f2ef | 70 | %doc ChangeLog README |
904a9972 MC |
71 | %attr(755,root,root) %{_bindir}/* |
72 | %{_mandir}/man1/* | |
b57cd969 | 73 | %{_datadir}/xplanet |