Name: diffuse Version: 0.4.6 Release: 1%{?_dist_release} Summary: Graphical tool for comparing and merging text files Summary(ja): テキストファイルをマージして比較するためのグラフィックツール Group: Development/Tools License: GPLv2+ URL: http://%{name}.sourceforge.net/ Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: desktop-file-utils gettext scrollkeeper Requires: python >= 2.4 pygtk2 >= 2.10 Requires(post): scrollkeeper Requires(postun): scrollkeeper BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Diffuse is a graphical tool for merging and comparing text files. Diffuse is able to compare an arbitrary number of files side-by-side and gives users the ability to manually adjust line matching and directly edit files. Diffuse can also retrieve revisions of files from Bazaar, CVS, Darcs, Git, Mercurial, Monotone, Subversion, and SVK repositories for comparison and merging. %prep %setup -q sed -i 's|Categories=Development;GTK;TextEditor;TextTools;|Categories=Development;GTK;Utility;|g' \ src/usr/share/applications/%{name}.desktop %build %install rm -rf %{buildroot} python install.py --destdir=%{buildroot} --prefix=/usr desktop-file-install --vendor="" \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ --delete-original \ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop #desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean rm -rf %{buildroot} %post scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : update-desktop-database &> /dev/null || : %postun scrollkeeper-update -q || : update-desktop-database &> /dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/%{name}.desktop %{_datadir}/gnome/help/%{name}/C/diffuse.xml %{_datadir}/omf/%{name}/%{name}*.omf %{_datadir}/pixmaps/%{name}.png %config(noreplace) %{_sysconfdir}/diffuserc %{_mandir}/* %dir %{_datadir}/gnome/help/* %dir %{_datadir}/gnome/help/%{name}/ru/* %dir %{_datadir}/gnome/help/%{name}/it/* %dir %{_datadir}/omf/%{name} %doc AUTHORS ChangeLog COPYING README %changelog * Sun Nov 06 2011 Toshiharu Kudoh - 0.4.6-1 - new upstream release * Thu Jul 14 2011 Toshiharu Kudoh - 0.4.5-1 - new upstream release * Fri Oct 22 2010 Toshiharu Kudoh - 0.4.4-1 - new upstream release - changed desktop file install action * Tue Aug 10 2010 Jon Levell - 0.4.3-1 - Update to 0.4.3 upstream release * Thu Sep 17 2009 Jon Levell - 0.4.0-1 - Update to new upstream release * Fri Jul 24 2009 Fedora Release Engineering - 0.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 4 2009 Jon Levell - 0.3.4-1 - Update to new upstream release (patch no longer needed) * Tue Jun 30 2009 Jon Levell - 0.3.3-1 - Update to latest upstream release - Add patch provided by upstream * Tue Mar 10 2009 Jon Levell - 0.3.1-1 - Update to latest upstream release * Wed Feb 11 2009 Jon Levell - 0.2.15-4 - Validate the .desktop file - Use the prescribed forms for scrollkeeper/update-desktop-database - Clean up the unowned directories * Sat Jan 24 2009 Jon Levell - 0.2.15-3 - Fix typos in formatting of changelog - Fix buildroot in line with packaging guidelines - Updated defattr with default directory permissions * Wed Jan 21 2009 Jon Levell - 0.2.15-2 - Use macros in file paths - patch .desktop file to add trailing semi-colons - updated URL/source/group * Tue Jan 20 2009 Jon Levell - 0.2.15-1 - clean buildroot on install - conditional use scrollkeeper/update-desktop-database - updated release/license as per Fedora guidelines - first version submitted to Fedora * Sun Apr 27 2008 Derrick Moser - created initial diffuse package