xbill-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: Get rid of those Wingdows Viruses!
  2. Summary(ja): Wingdows ウィルスを撲滅しよう!
  3. Name: xbill
  4. Version: 2.1
  5. Release: 4%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Games
  8. Source: ftp://ftp.xbill.org/pub/xbill/%{name}-%{version}.tar.gz
  9. Source1: %{name}.desktop
  10. Source2: %{name}.png
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Requires: gtk+
  15. BuildRequires: gtk+-devel
  16. BuildRequires: Xaw3d-devel
  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. ./configure --prefix=%{_prefix} --localstatedir=/var/lib/games --disable-motif
  38. make
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. # install desktop
  42. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  43. install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
  44. # install icon
  45. mkdir -p ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  46. install -p -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/%{name}.png
  47. #install man6
  48. mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man6/
  49. install -p -m0644 %{name}.6 $RPM_BUILD_ROOT/%{_mandir}/man6/%{name}.6
  50. make DESTDIR=$RPM_BUILD_ROOT install
  51. # remove unpackaged files
  52. rm -rf $RPM_BUILD_ROOT/usr/man/man6
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %files
  56. %defattr(-,root,root)
  57. %config(noreplace) /var/lib/games/xbill/scores
  58. %doc README
  59. %{_bindir}/xbill
  60. %{_mandir}/man6/*
  61. %{_datadir}/xbill
  62. %{_datadir}/pixmaps/*
  63. %{_datadir}/applications/*
  64. %changelog
  65. * Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 2.1-4
  66. - spec in utf-8
  67. * Sat Jun 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-2
  68. - applied new versioning policy
  69. * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1vl3
  70. - rebuilt with Xaw3d-1.5E
  71. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.1-1vl2
  72. - changed Group to Applications/Games
  73. * Wed Feb 8 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 2.1-1vl1
  74. - initial build
  75. - summary and description from deb
  76. - setup desktop icon