ical-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. %define name ical
  2. %define eversion 2.2
  3. %define version %{eversion}_jp
  4. %define release 10
  5. Summary: Calender application made with Tcl/Tk
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source: http://www.research.digial.com/SRC/personal/Sanjay_Ghemawat/ical/icalbins/ical-%{eversion}.tar.gz
  10. Source1: ical.wmconfig
  11. Patch0: ical-2.2-newtcl.patch
  12. Patch1: http://www.asahi-net.or.jp/~km5n-tkhs/ical-2.1j.diff
  13. Patch2: http://www.asahi-net.or.jp/~km5n-tkhs/ical-over.diff
  14. Patch3: ical-2.2-gcc2.95.patch
  15. Patch4: ical-2.2-glibc23.patch
  16. Url: http://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/home.html
  17. Copyright: distributable
  18. Group: Applications/Productivity
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Jun Nishii <jun@vinelinux.org>
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Summary(ja): Tcl/Tk で動く カレンダー アプリケーション
  24. %description
  25. ical is a popular X-based calendar/scheduler application which
  26. can help you keep track of single events and recurring events
  27. (daily, weekly, monthly, or yearly), and sets off alarms to warn
  28. you of appointments.
  29. %description -l ja
  30. ical は Xベースのカレンダー/スケジューラです. 各種イベントの管理を
  31. 行え, また大事な知らせてくれるアラーム機能もついています.
  32. %prep
  33. rm -rf %{buildroot}
  34. %setup -q -n ical-%{eversion}
  35. %patch0 -p1
  36. %patch1 -p1
  37. %patch2 -p1
  38. %patch3 -p0 -b .gcc2.95
  39. %patch4 -p1
  40. %build
  41. autoconf
  42. %configure
  43. make OPTF='-O -DKANJI -DKINPUT2' X_LIBS='-L/usr/X11R6/lib -lX11'
  44. %install
  45. rm -rf %{buildroot}
  46. install -d %{buildroot}/etc/X11/wmconfig
  47. install -d %{buildroot}%{_mandir}
  48. %makeinstall MANDIR=%{buildroot}%{_mandir}
  49. install -m 644 %{_sourcedir}/ical.wmconfig %{buildroot}/etc/X11/wmconfig/ical
  50. %clean
  51. rm -rf %{buildroot}
  52. %files
  53. %defattr(-,root,root)
  54. %doc ANNOUNCE CHANGES* COPYRIGHT* FTPDIR.README README* TODO INSTALL
  55. %doc doc/ical.html doc/ical.doc
  56. %doc doc/interface.html doc/interface.doc
  57. %{_bindir}/ical-%{eversion}
  58. %{_bindir}/ical
  59. %{_mandir}/man1/ical.1*
  60. %{_libdir}/ical
  61. %config /etc/X11/wmconfig/ical
  62. %changelog
  63. * Tue Nov 26 2002 Tomoya TAKA <taka@vinelinux.org> 2.2_jp-10
  64. - update Patch4 (add fix of calender/uid.C)
  65. * Fri Mar 15 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2_jp-9
  66. - rebuilt with new toolchain
  67. - added Patch4
  68. * Fri Mar 15 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.2_jp-8
  69. - rebuilt with glibc > 2.2
  70. * Thu Jan 11 2001 Tomoya TAKA <tomoya@olive.plala.or.jp> 2.2_jp-7
  71. - use %%configure and %%makeinstall
  72. - fix to handle man page correctry with newer %%{_mandir} definition
  73. * Sat Nov 11 2000 MACHINO, Satoshi <machino@vinelinux.org> 2.2_jp-6
  74. - build on gcc-2.95.3
  75. - partially used rpmmacros
  76. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  77. - 2.2_jp-5
  78. - modified %files section to handle compressed man page(s)
  79. * Sat Jan 8 2000 Jun Nishii <jun@vinelinux.org>
  80. - use EUC in spec
  81. * Wed Oct 13 1999 Jun Nishii <jun@flatout.org>
  82. - build for Vine-1.9
  83. * Sun Mar 14 1999 Jun Nishii <jun@flatout.org>
  84. - added ical-2.1j.diff, ical-over.diff
  85. - added Japanese description and summary
  86. * Thu Sep 24 1998 Cristian Gafton <gafton@redhat.com>
  87. - patch to build against the latest tcltk
  88. * Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com>
  89. - build root
  90. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  91. - translations modified for de, fr, tr
  92. * Thu Oct 30 1997 Otto Hammersmith <otto@redhat.com>
  93. - fixed wmconfig entry
  94. * Thu Oct 23 1997 Otto Hammersmith <otto@redhat.com>
  95. - replaced references to the version number with %{PACKAGE_VERSION}
  96. * Wed Oct 22 1997 Otto Hammersmith <otto@redhat.com>
  97. - updated to version 2.2, which is supposed to work with Tcl/Tk 8.0
  98. - added wmconfig entry
  99. * Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
  100. - Update version
  101. * Tue Sep 30 1997 Erik Troan <ewt@redhat.com>
  102. - build against tcl/tk 8.0
  103. * Fri Aug 22 1997 Erik Troan <ewt@redhat.com>
  104. - built against glibc