]> git.pld-linux.org Git - packages/xplanet.git/blame - xplanet.spec
- up to 1.2.2
[packages/xplanet.git] / xplanet.spec
CommitLineData
b57cd969 1Summary: Render a planetary image into an X window
97b99d36 2Summary(pl.UTF-8): Renderuje obrazek planety w okienku X window
904a9972 3Name: xplanet
ef501942 4Version: 1.2.2
5Release: 1
904a9972
MC
6License: GPL
7Group: X11/Amusements
646c75df 8Source0: http://dl.sourceforge.net/xplanet/%{name}-%{version}.tar.gz
ef501942 9# Source0-md5: b38c3b4cfdd772643f876a9bb15f288b
42a7ad1b 10Patch0: %{name}-gcc43.patch
b57cd969 11URL: http://xplanet.sourceforge.net/
4d9bcda3 12BuildRequires: autoconf >= 2.50
57a1f2ef 13BuildRequires: automake
b57cd969 14BuildRequires: freetype-devel
3d91a5d3 15BuildRequires: gettext-devel
16BuildRequires: giflib-devel
904a9972 17BuildRequires: libjpeg-devel
904a9972 18BuildRequires: libpng-devel
6e21d8b8 19BuildRequires: libstdc++-devel
b57cd969 20BuildRequires: libtiff-devel
3d91a5d3 21BuildRequires: netpbm-devel
22BuildRequires: pango-devel
23BuildRequires: pkgconfig
24BuildRequires: xorg-lib-libXScrnSaver-devel
904a9972
MC
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
904a9972
MC
27%description
28Xplanet is similar to Xearth, where an image of the earth is rendered
29into an X window. Azimuthal, Mercator, Mollweide, orthographic, or
30rectangular projections can be displayed as well as a window with a
31globe the user can rotate interactively. The other terrestrial planets
32may also be displayed. The Xplanet home page has links to locations
33with map files.
34
ddaa1482
JR
35%description -l pl.UTF-8
36Xplanet podobne jest do Xearth, gdzie obrazek ziemi jest wyświetlany w
37X window. Mogą być także wyświetlane rzuty azymutalne, Mercatora,
38Mollweide'a, ortograficzne lub prostokątne, kiedy okienko z globem
39jest interaktywnie obracane. Mogą być także wyświetlane inne planety
40lą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
60rm -rf $RPM_BUILD_ROOT
6efee40c
JB
61
62%{__make} install \
57a1f2ef 63 DESTDIR=$RPM_BUILD_ROOT
904a9972
MC
64
65%clean
66rm -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
This page took 0.249412 seconds and 4 git commands to generate.