%global rctag rc4 Name: guitone Version: 1.0 Release: 0.1%{?rctag:.%rctag}%{?dist} Summary: A frontend for Monotone Group: Development/Tools License: GPLv3+ URL: http://guitone.thomaskeller.biz/ Source: %{url}releases/%{version}%{?rctag:%rctag}/%{name}-%{version}%{?rctag:%rctag}.tgz # License is GPLv3+. This forces us to build against qt >= 4.3.4. BuildRequires: qt4-devel >= 4.3.4 BuildRequires: desktop-file-utils Requires: monotone BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Guitone is a Qt-based, cross-platform graphical user interface for the distributed version control system monotone. It aims towards a full implementation of the monotone automation interface and is especially targeted at beginners. Functionality provided by guitone: * Browse a loaded workspace, filter by file states * Display attributes of selected files * Open files in the system's default viewer on double-click * Show file differences for single and multiple files * List keys from the loaded database and generate new keys * Checkout, export and commit revisions * Query recent revisions from a loaded database and much more. %prep %setup -q -n %{name}-%{version}%{?rctag:%rctag} cat >%{name}.desktop <<EOF [Desktop Entry] Encoding=UTF-8 Name=Guitone Comment=Frontend for Monotone Exec=guitone Icon=guitone Terminal=false Type=Application Categories=Application;Development; EOF %build qmake-qt4 LRELEASE=lrelease-qt4 -config release make %{?_smp_mflags} %install rm -rf %{buildroot} install -m 755 -D -p bin/guitone %{buildroot}%{_bindir}/guitone install -m 644 -D -p res/icons/guitone.png %{buildroot}%{_datadir}/pixmaps/guitone.png desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ --vendor="" \ %{name}.desktop # the tests subdir currently contains only a stub of a testsuite, and # upstream told us not to use it yet, so no 'check' section. %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING NEWS README README.driver %{_bindir}/guitone %{_datadir}/pixmaps/guitone.png %{_datadir}/applications/guitone.desktop %changelog * Sun May 30 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0-0.1.rc4 - Update to 1.0rc4. * Sun Apr 25 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0-0.1.rc3 - Update to 1.0rc3. - lrelease is called by qmake now. * Wed Apr 7 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0-0.1.rc2 - Update to 1.0rc2. * Mon Feb 15 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0-0.1.rc1 - Update to 1.0rc1. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9_1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9_1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Oct 7 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.9_1-1 - Upstream updated the tarfile. - Added README.driver to %%doc. * Sat Oct 4 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.9-1 - Update to version 0.9. * Wed May 28 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.8-2 - Fix order of commands in the build section. * Mon May 26 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.8-1 - Update to upstream version 0.8. - Add a zero-day patch from upstream. - License is GPLv3+ now. * Sun Apr 6 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.7.1-1 - Update to upstream version 0.7.1. * Fri Feb 22 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.7-4 - Add patch to fix GCC 4.3 build. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7-3 - Autorebuild for GCC 4.3 * Tue Jan 22 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.7-2 - Small patch: Add Qt SVG module. - Add note about the testsuite. * Wed Jan 16 2008 Thomas Moschny <thomas.moschny@gmx.de> - 0.7-1 - Initial version.