cvs2svn-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. ## %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: cvs2svn
  3. Version: 1.5.1
  4. Release: 3%{?_dist_release}
  5. Summary: CVS to Subversion Repository Converter
  6. Summary(ja): CVS から Subversion へのリポジトリコンバータ
  7. Group: Development/Tools
  8. License: BSD
  9. URL: http://cvs2svn.tigris.org/
  10. Source0: http://cvs2svn.tigris.org/files/documents/1462/34574/cvs2svn-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildArch: noarch
  13. BuildRequires: python-devel
  14. Requires: cvs, rcs, subversion
  15. %description
  16. cvs2svn is a Python script that converts a CVS repository to a
  17. Subversion repository. It is designed for one-time conversions, not for
  18. repeated synchronizations between CVS and Subversion.
  19. %description -l ja
  20. cvs2svn は Python で書かれたスクリプトで、CVS リポジトリを
  21. Subversion (SVN) リポジトリに変換します。
  22. このスクリプトは一度変換することだけを目的としており、
  23. CVS と SVN のリポジトリの同期をとるためのものではありません。
  24. %prep
  25. %setup -q
  26. %build
  27. %{__python} setup.py build
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
  31. mkdir -p -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1
  32. install -p -m 0644 *.1 $RPM_BUILD_ROOT%{_mandir}/man1/
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc BUGS CHANGES COMMITTERS COPYING HACKING README design-notes.txt www/*.html
  38. %{_bindir}/*
  39. %{_mandir}/man?/*
  40. %{python_sitelib}/*
  41. %changelog
  42. * Sat Mar 20 2010 Shu KONNO <owa@bg.wakwak.com> 1.5.1-3
  43. - rebuilt with python-2.6
  44. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.5.1-2vl5
  45. - applied new versioning policy, spec in utf-8
  46. - rebuilt with python-2.5.2
  47. * Wed May 30 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.5.1-1vl1
  48. - updated to 1.5.1 release based on FC 1.5.1-1
  49. - Sat Jan 22 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.2.0-0vl1
  50. - initial build
  51. * Sun Mar 11 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.5.1-1
  52. - Upstream 1.5.1
  53. * Sat Oct 28 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.5.0-1
  54. - Upstream 1.5.0
  55. * Wed Sep 06 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.4.0-2
  56. - Ghostbusting
  57. * Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.4.0-1
  58. - 1.4.0 final release
  59. * Wed Jul 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.4.0-0.4.rc1
  60. - Require cvs and subversion
  61. - Add python-abi for easy builds on systems <FC4
  62. * Wed Jul 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.4.0-0.3.rc1
  63. - Requires rcs.
  64. * Wed Jul 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.4.0-0.2.rc1
  65. - Group is Development/Tools
  66. * Wed Jul 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.4.0-0.1.rc1
  67. - Initial packaging.