|
@@ -0,0 +1,49 @@
|
|
|
+%define ver 0.19.3
|
|
|
+%define rel 1
|
|
|
+
|
|
|
+Summary: a cross-platform GUI front end for Bazaar, based on Qt toolkit
|
|
|
+Name: qbzr
|
|
|
+Version: %{ver}
|
|
|
+Release: %{rel}%{?_dist_release}
|
|
|
+License: GPLv2
|
|
|
+Group: Development/Languages
|
|
|
+URL: http://wiki.bazaar.canonical.com/QBzr
|
|
|
+Source0: %{name}-%{version}.tar.gz
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
+BuildArch: noarch
|
|
|
+Requires: python >= 2.4
|
|
|
+Requires: bzr >= 2.2
|
|
|
+Requires: PyQt4 >= 4.4
|
|
|
+Requires: python-pygments >= 1.0
|
|
|
+BuildRequires: python-devel >= 2.4
|
|
|
+
|
|
|
+%description
|
|
|
+QBzr is a cross platform, Qt-based front-end for Bazaar, providing GUI
|
|
|
+applications for many core bzr commands. In addition, it provides several
|
|
|
+special dialogs and helper commands. Equivalents for core bzr commands have
|
|
|
+the same names as CLI commands but with a prefix of "q".
|
|
|
+
|
|
|
+%prep
|
|
|
+%setup -q -n %{name}
|
|
|
+
|
|
|
+%build
|
|
|
+%__python setup.py build
|
|
|
+
|
|
|
+%install
|
|
|
+rm -rf %{buildroot}
|
|
|
+%__python setup.py install --root %{buildroot}
|
|
|
+
|
|
|
+%clean
|
|
|
+rm -rf %{buildroot}
|
|
|
+
|
|
|
+%files
|
|
|
+%defattr(-,root,root,-)
|
|
|
+%doc *.txt
|
|
|
+%{python_sitearch}/bzrlib/plugins/qbzr
|
|
|
+%{python_sitearch}/qbzr-%{version}*.egg-info
|
|
|
+
|
|
|
+%changelog
|
|
|
+* Fri Jan 7 2011 IWAI, Masaharu <iwai@alib.jp> 0.19.3-1
|
|
|
+- Initial build.
|
|
|
+
|
|
|
+
|