xplanet-vl.spec 4.3 KB

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