xplanet-vl.spec 4.6 KB

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