oneko-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Summary: oneko - Neko runs over the windows with biff function
  2. Summary(ja): oneko - 画面の上を縦横無尽に走り回る pop な「Xウィンドウ版 猫」
  3. Name: oneko
  4. Group: User Interface/Desktops
  5. Version: 2.0b
  6. Release: 1%{?_dist_release}
  7. Source: http://www02.so-net.ne.jp/~nsasaki/oneko/%{name}-%{version}.tar.gz
  8. Source1: http://www02.so-net.ne.jp/~nsasaki/oneko/%{name}-%{version}-pop1.1-patch.tar.gz
  9. Source2: Oneko.ad.vine
  10. Source3: oneko.netrc
  11. Patch: oneko-mail.c.patch
  12. Patch1: oneko-Imakefile.patch
  13. Url: http://www02.so-net.ne.jp/~nsasaki/oneko/
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: YOSHIDA Erio <Erio@YOSHIDA.no-sa.to>
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. License: distributable
  19. BuildPreReq: nkf
  20. %description
  21. oneko - Neko runs over the windows with biff function
  22. %description -l ja
  23. oneko は画面の上を縦横無尽に走り回る「Xウィンドウ版 猫」です。これは
  24. Masayuki Koba さんの作成した xneko を元にいくつかの機能アップを計った
  25. ものです。メールが到着すると鳴いて知らせます。
  26. %prep
  27. %setup -n oneko
  28. %setup -D -a 1 -T -n oneko
  29. rm README.pop
  30. patch < oneko-2.0b-pop1.1.patch
  31. %patch -p 1
  32. %patch1 -p 1
  33. cp %{SOURCE2} %{SOURCE3} ./
  34. %build
  35. xmkmf
  36. make depend
  37. make oneko all Oneko.ad MANPATH=%{_mandir} LIBDIR=%{_libdir}
  38. %install
  39. if [ "${RPM_BUILD_ROOT}" != '/' ] ; then rm -rf ${RPM_BUILD_ROOT} ; fi
  40. ##mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin
  41. ##mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/oneko/oneko
  42. ##mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/oneko/tora
  43. ##mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1/
  44. ##mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/ja/man1/
  45. ##mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/app-defaults/
  46. ##make DESTDIR=%{buildroot} MANPATH=%{_mandir} install.man
  47. ##nkf -e oneko.man.jp > oneko.man
  48. ##make DESTDIR=%{buildroot} MANPATH=%{_mandir}/ja install.man
  49. ##install -m 755 oneko ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin
  50. ##install -m 644 *.xbm oneko2.au help ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/oneko
  51. ##install -m 644 bitmaps/* oneko2.au ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/oneko/oneko
  52. ##install -m 644 bitmaps.tora/* oneko2.au ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/oneko/tora
  53. ##install -m 644 Oneko.ad.vine ${RPM_BUILD_ROOT}%{_prefix}/X11R6/lib/X11/app-defaults/Oneko.ad
  54. ##cd ${RPM_BUILD_ROOT}%{_prefix}/X11R6/bin
  55. ##ln oneko tora
  56. mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
  57. mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/oneko/oneko
  58. mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/oneko/tora
  59. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1/
  60. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/ja/man1/
  61. mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults/
  62. make DESTDIR=%{buildroot} MANPATH=%{_mandir} install.man
  63. nkf -e oneko.man.jp > oneko.man
  64. make DESTDIR=%{buildroot} MANPATH=%{_mandir}/ja install.man
  65. install -m 755 oneko ${RPM_BUILD_ROOT}%{_bindir}
  66. install -m 644 *.xbm oneko2.au help ${RPM_BUILD_ROOT}%{_libdir}/oneko
  67. install -m 644 bitmaps/* oneko2.au ${RPM_BUILD_ROOT}%{_libdir}/oneko/oneko
  68. install -m 644 bitmaps.tora/* oneko2.au ${RPM_BUILD_ROOT}%{_libdir}/oneko/tora
  69. install -m 644 Oneko.ad.vine ${RPM_BUILD_ROOT}%{_datadir}/X11/app-defaults/Oneko.ad
  70. cd ${RPM_BUILD_ROOT}%{_bindir}
  71. ln oneko tora
  72. %clean
  73. if [ "${RPM_BUILD_ROOT}" != '/' ] ; then rm -rf ${RPM_BUILD_ROOT} ; fi
  74. %files
  75. %attr(- root root)
  76. %doc README* CHANGES* COPYRIGHTS* Oneko.ad oneko.netrc patchlevel.h
  77. %{_bindir}/oneko
  78. %{_bindir}/tora
  79. %{_libdir}/oneko/*
  80. %{_mandir}/man1/oneko.1*
  81. %{_mandir}/ja/man1/oneko.1*
  82. %{_datadir}/X11/app-defaults/Oneko.ad
  83. %changelog
  84. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 2.0b-1vl5
  85. - applied new versioning policy, spec in utf-8
  86. - modified X11 paths
  87. * Sat Dec 29 2007 Shu KONNO <owa@bg.wakwak.com> 2.0b-0vl3
  88. - s/Copyright/License/
  89. * Thu Jul 17 2003 IWAI Masaharu <iwai@alib.jp> 2.0b-0vl2
  90. - rebuild on VineSeed
  91. - using rpmmacros
  92. * Mon Jul 22 2002 YOSHIDA Erio <Erio@YOSHIDA.no-sa.to> 2.0b-0vl1
  93. - 2.0b-0vl1
  94. - VinePlus first release
  95. - oneko-mail.c.patch by YOSHIDA Erio
  96. - oneko-Imakefile.patch by YOSHIDA Erio
  97. - oneko.netrc by YOSHIDA Erio
  98. - Oneko.ad.vine by YOSHIDA Erio