qbzr-vl.spec 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. %define ver 0.20.0
  2. %define rel 1
  3. Summary: a cross-platform GUI front end for Bazaar, based on Qt toolkit
  4. Name: qbzr
  5. Version: %{ver}
  6. Release: %{rel}%{?_dist_release}
  7. License: GPLv2
  8. Group: Development/Languages
  9. URL: http://wiki.bazaar.canonical.com/QBzr
  10. Source0: %{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  12. BuildArch: noarch
  13. Requires: python >= 2.4
  14. Requires: bzr >= 2.2
  15. Requires: PyQt4 >= 4.4
  16. Requires: python-pygments >= 1.0
  17. BuildRequires: python-devel >= 2.4
  18. %description
  19. QBzr is a cross platform, Qt-based front-end for Bazaar, providing GUI
  20. applications for many core bzr commands. In addition, it provides several
  21. special dialogs and helper commands. Equivalents for core bzr commands have
  22. the same names as CLI commands but with a prefix of "q".
  23. %prep
  24. %setup -q -n %{name}
  25. %build
  26. %__python setup.py build
  27. %install
  28. rm -rf %{buildroot}
  29. %__python setup.py install --root %{buildroot}
  30. %clean
  31. rm -rf %{buildroot}
  32. %files
  33. %defattr(-,root,root,-)
  34. %doc *.txt
  35. %{python_sitearch}/bzrlib/plugins/qbzr
  36. %{python_sitearch}/qbzr-%{version}*.egg-info
  37. %changelog
  38. * Mon Apr 4 2011 IWAI, Masaharu <iwai@alib.jp> 0.20.0-1
  39. - new upstream release
  40. * Fri Jan 7 2011 IWAI, Masaharu <iwai@alib.jp> 0.19.3-1
  41. - Initial build.