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