]> git.pld-linux.org Git - packages/xplanet.git/blob - xplanet.spec
- missing patches
[packages/xplanet.git] / xplanet.spec
1 Summary:        Render a planetary image into an X window
2 Summary(pl.UTF-8):      Renderuje obrazek planety w okienku X window
3 Name:           xplanet
4 Version:        1.3.1
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Amusements
8 Source0:        http://downloads.sourceforge.net/xplanet/%{name}-%{version}.tar.gz
9 # Source0-md5:  9797dbd9697d10205ca1671f728ea30d
10 Patch0:         %{name}-c++.patch
11 Patch1:         %{name}-giflib.patch
12 URL:            http://xplanet.sourceforge.net/
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  cspice-devel
16 BuildRequires:  freetype-devel >= 2
17 BuildRequires:  gettext-tools
18 BuildRequires:  giflib-devel
19 BuildRequires:  libjpeg-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libtiff-devel
23 BuildRequires:  netpbm-devel
24 BuildRequires:  pango-devel >= 1:1.2.0
25 BuildRequires:  pkgconfig
26 BuildRequires:  xorg-lib-libX11-devel
27 BuildRequires:  xorg-lib-libXScrnSaver-devel
28 BuildRequires:  xorg-lib-libXext-devel
29 Requires:       pango >= 1:1.2.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 Xplanet is similar to Xearth, where an image of the earth is rendered
34 into an X window. Azimuthal, Mercator, Mollweide, orthographic, or
35 rectangular projections can be displayed as well as a window with a
36 globe the user can rotate interactively. The other terrestrial planets
37 may also be displayed. The Xplanet home page has links to locations
38 with map files.
39
40 %description -l pl.UTF-8
41 Xplanet podobne jest do Xearth, gdzie obrazek ziemi jest wyświetlany w
42 X window. Mogą być także wyświetlane rzuty azymutalne, Mercatora,
43 Mollweide'a, ortograficzne lub prostokątne, kiedy okienko z globem
44 jest interaktywnie obracane. Mogą być także wyświetlane inne planety
45 lądowe. Strona domowa Xplanet zawiera odnośniki do plików z mapami.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50 %patch1 -p1
51
52 %build
53 %{__aclocal}
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 # current code doesn't build in C++11 mode
58 CXXFLAGS="%{rpmcxxflags} -std=gnu++98"
59 # force using nl_langinfo interface instead of libcharset
60 %configure \
61         ac_cv_header_localcharset_h=no
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README TODO
77 %attr(755,root,root) %{_bindir}/xplanet
78 %{_mandir}/man1/xplanet.1*
79 %{_datadir}/xplanet
This page took 0.322032 seconds and 4 git commands to generate.