Zope2-FSCounter-vl.spec 3.4 KB

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