cvsweb-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Summary: visual (www) interface to explore a cvs repository
  2. Summary(ja): WebインタフェースのCVSリポジトリエクスプローラ
  3. %define name cvsweb
  4. %define version 1.112
  5. %define release 3%{?_dist_release}
  6. #%define serial 1
  7. %define contentdir /home/httpd
  8. Name: %{name}
  9. Version: %{version}
  10. Release: %{release}
  11. #Serial: %{serial}
  12. License: BSD type
  13. Group: Development/Tools
  14. URL: http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/
  15. Source: %{name}-%{version}.tar.gz
  16. Patch: %{name}-config.patch
  17. Patch1: %{name}-config2.patch
  18. BuildRoot: %{_tmppath}/%{name}-root
  19. BuildArchitectures: noarch
  20. Requires: mailcap, cvs
  21. %description
  22. cvsweb is a visual (www) interface to explore a cvs repository. This is an
  23. enhanced cvsweb developed by Henner Zeller. Enhancements include recognition
  24. and display of popular mime-types, visual, color-coded, side by side diffs
  25. of changes and the ability sort the file display and to hide old files
  26. from view. One living example of the enhanced cvsweb is the KDE cvsweb
  27. cvsweb requires the server to have cvs and a cvs repository worth exploring.
  28. %description -l ja
  29. cvswebは, WebインタフェースによるCVSリポジトリエクスプローラです.
  30. これは, Henner Zeller氏によって開発されたものを拡張したものです.
  31. 拡張は, 一般的なMIMEタイプの認識と表示を含んでいます.
  32. 古いファイルを見えなくしたり, 視覚的に色分しながらファイルを並べ,
  33. 変更履歴をソートして表示します.
  34. 拡張されたcvswebの一つの例は, KDEのcvswebです.
  35. cvsweb を動作させるには, cvsとCVSリポジトリ, Webサーバが必要です.
  36. %prep
  37. %setup -q -n cvsweb
  38. %patch -p1
  39. %patch1 -p1
  40. %build
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. mkdir -p $RPM_BUILD_ROOT{%{contentdir}/cgi-bin,%{_sysconfdir}/httpd}
  44. install -d $RPM_BUILD_ROOT{%{contentdir}/cgi-bin,%{_sysconfdir}/httpd}
  45. install cvsweb.cgi $RPM_BUILD_ROOT%{contentdir}/cgi-bin
  46. install cvsweb.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd
  47. gzip -9nf INSTALL README TODO
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files
  51. %defattr(644,root,root,755)
  52. %doc *.gz
  53. %doc icons
  54. %attr(755,root,root) /%{contentdir}/cgi-bin/cvsweb.cgi
  55. %config(noreplace) %{_sysconfdir}/httpd/cvsweb.conf
  56. %changelog
  57. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.112-3
  58. - rebuild with rpm-4.8.1
  59. * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 1.112-2
  60. - spec in utf-8
  61. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.112-1vl5
  62. - applied new versioning policy, spec in utf-8
  63. - dropt serial
  64. * Fri Feb 15 2002 Yoshihiro Ota <ota@j.email.ne.jp> 1.112-0vl2
  65. - added Requires and corrected some bugs in cvsweb.conf.
  66. * Thu Aug 30 2001 Jiro Yamada <jiro@fd.catv.ne.jp>
  67. - updated to 1.112
  68. * Tue Oct 12 1999 Peter Hanecak <hanecak@megaloman.sk>
  69. - initial spec (based on Ryan Weaver's <ryanw@infohwy.com> gtksee spec
  70. because i like the style of it)