[521] | 1 | Summary: Render a planetary image into an X window |
---|
| 2 | Name: xplanet |
---|
[6252] | 3 | Version: 1.3.0 |
---|
[8252] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 5 | |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Edutainment |
---|
| 8 | URL: http://%{name}.sourceforge.net |
---|
| 9 | |
---|
[6252] | 10 | Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
| 11 | |
---|
[8252] | 12 | Patch0: xplanet-1.3.0-giflib.patch |
---|
| 13 | |
---|
[521] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildRequires: expat-devel |
---|
[6252] | 16 | BuildRequires: giflib-devel |
---|
[521] | 17 | BuildRequires: glib2-devel |
---|
| 18 | BuildRequires: libXScrnSaver-devel |
---|
| 19 | BuildRequires: libXt-devel |
---|
| 20 | BuildRequires: libjpeg-devel |
---|
| 21 | BuildRequires: libtiff-devel |
---|
| 22 | BuildRequires: netpbm-devel |
---|
| 23 | BuildRequires: pango-devel |
---|
| 24 | |
---|
[6252] | 25 | Requires: TrueType-gnu-freefont-mono |
---|
| 26 | |
---|
[521] | 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 |
---|
| 32 | planets may also be displayed. The Xplanet home page has links to |
---|
| 33 | locations with map files. |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %prep |
---|
| 37 | %setup -q |
---|
[8252] | 38 | %patch0 -p0 -b .giflib |
---|
[521] | 39 | |
---|
| 40 | %build |
---|
| 41 | %configure |
---|
| 42 | make %{?_smp_mflags} -k |
---|
| 43 | |
---|
| 44 | %install |
---|
[6252] | 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | CPPROG="cp -p" make DESTDIR=$RPM_BUILD_ROOT install |
---|
[521] | 47 | |
---|
[6252] | 48 | # use TrueType-gnu-freefont-mono |
---|
| 49 | rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts/FreeMonoBold.ttf |
---|
| 50 | ln -sf ../../fonts/TrueType-gnu-freefont/FreeMonoBold.ttf \ |
---|
| 51 | $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts/FreeMonoBold.ttf |
---|
[521] | 52 | |
---|
| 53 | %clean |
---|
[6252] | 54 | rm -rf $RPM_BUILD_ROOT |
---|
[521] | 55 | |
---|
| 56 | %files |
---|
| 57 | %defattr(-,root,root) |
---|
| 58 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
---|
| 59 | %{_bindir}/* |
---|
| 60 | %{_mandir}/man1/* |
---|
| 61 | %{_datadir}/xplanet |
---|
| 62 | |
---|
| 63 | %changelog |
---|
[8252] | 64 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.0-2 |
---|
| 65 | - rebuild with VineSeed environment |
---|
| 66 | - add Patch0 (xplanet-1.3.0-giflib.patch) from gentoo |
---|
| 67 | |
---|
[6252] | 68 | * Sat May 26 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.3.0-1 |
---|
| 69 | - updated to 1.3.0 |
---|
| 70 | - used TrueType-gnu-freefont-mono |
---|
| 71 | - rebuilt with rpm-4.8.1-3 |
---|
| 72 | |
---|
[521] | 73 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.1-3 |
---|
| 74 | - Initial build for Vine Linux |
---|
| 75 | |
---|
| 76 | * Sat Jul 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.1-2 |
---|
| 77 | - F-12: Mass rebuild |
---|
| 78 | |
---|
| 79 | * Thu Apr 23 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.1-1 |
---|
| 80 | - 1.2.1 |
---|
| 81 | |
---|
| 82 | * Wed Mar 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-7 |
---|
| 83 | - GNU FreeFont naming change |
---|
| 84 | |
---|
| 85 | * Tue Feb 24 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-6 |
---|
| 86 | - F-11: Mass rebuild |
---|
| 87 | |
---|
| 88 | * Thu Feb 5 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-5 |
---|
| 89 | - Patch to compile with g++44 |
---|
| 90 | |
---|
| 91 | * Sun Dec 21 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-4 |
---|
| 92 | - Remove xplanet private ttf file, use system one |
---|
| 93 | |
---|
| 94 | * Sat Feb 9 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> |
---|
| 95 | - Rebuild against gcc43 |
---|
| 96 | |
---|
| 97 | * Fri Jan 4 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-3 |
---|
| 98 | - Some misc fixes for g++43 |
---|
| 99 | |
---|
| 100 | * Wed Aug 22 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-2.1.dist.2 |
---|
| 101 | - Mass rebuild (buildID or binutils issue) |
---|
| 102 | |
---|
| 103 | * Fri Aug 3 2007 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-2.1.dist.1 |
---|
| 104 | - License update |
---|
| 105 | |
---|
| 106 | * Mon Oct 2 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-2.1 |
---|
| 107 | - rebuild against newest gcc(-4.1.1-27 or -28) |
---|
| 108 | |
---|
| 109 | * Fri Sep 22 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-2 |
---|
| 110 | - bump release |
---|
| 111 | |
---|
| 112 | * Sat Sep 16 2006 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-1 |
---|
| 113 | - 1.2.0 |
---|
| 114 | - Keep timestamps |
---|
| 115 | |
---|
| 116 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.0.1-7 |
---|
| 117 | - rebuild on all arches |
---|
| 118 | |
---|
[8252] | 119 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
[521] | 120 | - rebuilt |
---|
| 121 | |
---|
| 122 | * Sun May 11 2003 Juha Ylitalo <jylitalo@iki.fi> - 0:1.0.1-0.fdr.5 |
---|
| 123 | - added %%defattr so that we wouldn't get big list of user temp1 does not exist. |
---|
| 124 | - added XFree86-devel into BuildRequires, since fedora build seems to lack |
---|
| 125 | dependencies to libX11 and libXext (from XFree86-libs) |
---|
| 126 | |
---|
| 127 | * Thu May 01 2003 Juha Ylitalo <jylitalo@iki.fi> - 0:1.0.1-0.fdr.4 |
---|
| 128 | - appearantly removing INSTALL from %%files section was all that was needed... |
---|
| 129 | |
---|
| 130 | * Thu May 01 2003 Juha Ylitalo <jylitalo@iki.fi> - 0:1.0.1-0.fdr.2 |
---|
| 131 | - fixed Group in SPEC file (to Amusements/Graphics) |
---|
| 132 | - added AUTHORS, NEWS, README.config and TODO into %%files %%doc list. |
---|
| 133 | - removed INSTALL from %%files |
---|
| 134 | - and other minor changes based on bugzilla.fedora.us #109. |
---|
| 135 | |
---|
| 136 | * Tue Apr 29 2003 Juha Ylitalo <jylitalo@iki.fi> - 0:1.0.1-0.fdr.1 |
---|
| 137 | - fixed release to match Fedora guidelines. |
---|
| 138 | - ./configure to %%configure and bunch of other find-replace operations. |
---|
| 139 | - added missing BuildRequires. |
---|
| 140 | |
---|
| 141 | * Tue Apr 01 2003 Juha Ylitalo <jylitalo@iki.fi> - 0:1.0.1-1.fdr.1 |
---|
| 142 | - upgrade from 0.94 to 1.0.1 |
---|
| 143 | - fedora related changed to Hari Nair <hari@alumni.caltech.edu>'s original spec |
---|
| 144 | - added patch to make my 0xf6 etc. finnish characters to show in markers. |
---|