cvsweb-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 2%{?_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. * Mon Jun 22 2009 Shu KONNO <owa@bg.wakwak.com> 1.112-2
  58. - spec in utf-8
  59. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.112-1vl5
  60. - applied new versioning policy, spec in utf-8
  61. - dropt serial
  62. * Fri Feb 15 2002 Yoshihiro Ota <ota@j.email.ne.jp> 1.112-0vl2
  63. - added Requires and corrected some bugs in cvsweb.conf.
  64. * Thu Aug 30 2001 Jiro Yamada <jiro@fd.catv.ne.jp>
  65. - updated to 1.112
  66. * Tue Oct 12 1999 Peter Hanecak <hanecak@megaloman.sk>
  67. - initial spec (based on Ryan Weaver's <ryanw@infohwy.com> gtksee spec
  68. because i like the style of it)