xbill-vl.spec 3.1 KB

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