Zope-FSCounter-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. %define instdir /var/lib/zope/Products
  2. %define product FSCounter
  3. Name: Zope-FSCounter
  4. Version: 1.4.0
  5. Release: 1%{?_dist_release}
  6. License: Zope Public License (ZPL) Version 2.0
  7. URL: http://www.zope.org/Members/SmileyChris/FScounter
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. BuildArch: noarch
  10. Prereq: Zope-zserver
  11. Requires: Zope-zserver >= 2.7.0
  12. Group: Development/Web Applications
  13. Source: FScounter.%{version}.tar.gz
  14. Patch0: FScounter-1.4.0-init.patch
  15. Patch1: FScounter-1.4.0-lastday.patch
  16. Vendor: Projpct Vine
  17. Distribution: Vine Linux
  18. Packager: Shu KONNO (owa@bg.wakwak.com)
  19. Summary: A web page hit counter product.
  20. Summary(ja): Webページのヒットカウンタプロダクト.
  21. %description
  22. FSCounter is an improvement over ZCounter, by creating a web page hit counter
  23. that uses the File System to store the value, stopping the ZODB from being
  24. filled with multiple copies of the same object.
  25. %description -l ja
  26. FSCounter は ZCounter の改良版. ZODB が沢山の同じようなオブジェクトのコピーで
  27. 埋まるのを止めるため, カウンタ値をファイルシステム上に保存するように作った.
  28. %prep
  29. %setup -q -c -n %{name}
  30. %patch0 -p0 -b .init
  31. %patch1 -p0 -b .lastday
  32. %build
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. mkdir -p $RPM_BUILD_ROOT%{instdir}
  36. cp -Rdp %{product} $RPM_BUILD_ROOT%{instdir}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-, zope, zope)
  41. %{instdir}/%{product}
  42. %changelog
  43. * Mon Jun 09 2008 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-1vl5
  44. - applied new versioning policy and spec in utf-8
  45. * Fri Oct 06 2006 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-0vl6
  46. - added FScounter-1.4.0-init.patch
  47. * Thu Jun 08 2006 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-0vl5
  48. - added getTodaysCount() method to FScounter-1.4.0-lastday.patch
  49. * Fri Mar 04 2005 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-0vl4
  50. - updated FScounter.1.4.0.lastday.patch
  51. * Tue Nov 09 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-0vl3
  52. - updated FScounter.1.4.0.lastday.patch
  53. * Mon Nov 01 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-0vl2
  54. - droped FScounter.1.4.0.flock.patch
  55. - added FScounter.1.4.0.lastday.patch
  56. * Sat Oct 30 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.4.0-0vl1
  57. - updated FScounter to 1.4.0
  58. - droped fscounter134.except.patch
  59. - added FScounter.1.4.0.flock.patch
  60. * Tue Jun 22 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.4-0vl6
  61. - updated fscounter134.except.patch
  62. * Sun Jun 20 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.4-0vl5
  63. - droped fscounter.locked.patch
  64. - added fscounter134.except.patch
  65. * Sat Jun 19 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.4-0vl4
  66. - added fscounter.locked.patch
  67. * Sat Apr 24 2004 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.4-0vl3
  68. - rebuild with python-2.3.3-0vl1
  69. * Fri Sep 26 2003 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.4-0vl2
  70. - added 'BuildArch: noarch'
  71. * Sun Jul 13 2003 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.4-0vl1
  72. - updated FSCounter to 1.3.4
  73. * Sun Apr 13 2003 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.2-0vl1
  74. - updated FSCounter to 1.3.4
  75. - changed name
  76. * Tue Feb 11 2003 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.3.2-0vp1
  77. - upgraded license to ZPL 2.0
  78. * Tue Jul 23 2002 Shu KONNO <owa@bg.wakwak.com> Zope-FSCounter-1.31-0vp1
  79. - packaged new