xbill-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Summary: Get rid of those Wingdows Viruses!
  2. Summary(ja): Wingdows ウィルスを撲滅しよう!
  3. Name: xbill
  4. Version: 2.1
  5. Release: 6%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: http://www.xbill.org/
  9. Source: ftp://ftp.xbill.org/pub/xbill/%{name}-%{version}.tar.gz
  10. Source1: %{name}.desktop
  11. Source2: %{name}.png
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libXaw3dXft-devel
  14. BuildRequires: libXpm-devel
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Ever get the feeling that nothing is going right? You're a sysadmin,
  19. and someone's trying to destroy your computers. The little people
  20. running around the screen are trying to infect your computers with
  21. Wingdows [TM], a virus cleverly designed to resemble a popular
  22. operating system. Your objective is to click the mouse on them, ending
  23. their potential threat. If one of the people reaches a computer, it
  24. will attempt to replace your operating system with the virus it
  25. carries. It will then attempt to run off the screen with your vital
  26. software.
  27. %description -l ja
  28. くそ!何もかもうまくいかない。誰かがシステム管理者の俺の目を盗んでコン
  29. ピュータをめちゃめちゃにしやがる。小人さんが画面を駆け回ってありふれた
  30. OS そっくりににせた Wingdows (TM) ウィルスに感染させようとしているに違
  31. いない。かくなるうえはマウスを使ってこいつらをとっつかまえて絞り上げて
  32. やる。なんせやつらはコンピュータに付くやいなや OS をウィルスに取り替え
  33. て、大事なソフトウェアをかっさらって逃げるからな。
  34. %prep
  35. %setup -q
  36. %build
  37. # fixed for building with libXaw3dxft
  38. sed -i -e 's|Xaw3d|Xaw3dxft|g' configure
  39. sed -i -e 's|X11/Xaw/|X11/Xaw3dxft/|g' x11-athena.c
  40. LIBS="-lXpm" ./configure \
  41. --prefix=%{_prefix} \
  42. --localstatedir=/var/lib/games \
  43. --disable-motif \
  44. --enable-athena \
  45. --disable-gtk
  46. make
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. # install desktop
  50. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  51. install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  52. # install icon
  53. mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  54. install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/%{name}.png
  55. #install man6
  56. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6/
  57. install -p -m0644 %{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6/%{name}.6
  58. make DESTDIR=$RPM_BUILD_ROOT install
  59. # remove unpackaged files
  60. rm -rf $RPM_BUILD_ROOT/usr/man/man6
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %files
  64. %defattr(-,root,root)
  65. %config(noreplace) /var/lib/games/xbill/scores
  66. %doc README
  67. %{_bindir}/xbill
  68. %{_mandir}/man6/*
  69. %{_datadir}/xbill
  70. %{_datadir}/pixmaps/*
  71. %{_datadir}/applications/*
  72. %changelog
  73. * Wed Jan 7 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1-6
  74. - linked to libXaw3dxft
  75. - rebuilt with current VineSeed
  76. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-5
  77. - rebuilt with current VineSeed
  78. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-4
  79. - spec in utf-8
  80. * Sat Jun 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
  81. - applied new versioning policy
  82. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1vl3
  83. - rebuilt with Xaw3d-1.5E
  84. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1vl2
  85. - changed Group to Applications/Games
  86. * Wed Feb 8 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 2.1-1vl1
  87. - initial build
  88. - summary and description from deb
  89. - setup desktop icon