123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- Name: diffuse
- Version: 0.4.7
- 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
- Requires(post): rarian-compat
- Requires(postun): rarian-compat
- 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,-)
- %dir %{_datadir}/gnome/help/*
- #%dir %{_datadir}/gnome/help/%{name}/ru/*
- #%dir %{_datadir}/gnome/help/%{name}/it/*
- %dir %{_datadir}/omf/%{name}
- %{_bindir}/%{name}
- %{_datadir}/%{name}/
- %{_datadir}/applications/%{name}.desktop
- %{_datadir}/gnome/help/%{name}/*
- %{_datadir}/omf/%{name}/%{name}*.omf
- %{_datadir}/pixmaps/%{name}.png
- %config(noreplace) %{_sysconfdir}/diffuserc
- %{_mandir}/*
- %doc AUTHORS ChangeLog COPYING README
- %changelog
- * Thu May 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.7-1
- - new upstream release
- - changed Requires(post,postun): rarian-compat instead of scrollkeeper
- - disabled modifing .desktop
- * Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.6-2
- - rebuilt with python-2.7
- - fixed %%files
- * Sun Nov 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.6-1
- - new upstream release
- * Thu Jul 14 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.5-1
- - new upstream release
- * Fri Oct 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.4-1
- - new upstream release
- - changed desktop file install action
- * Tue Aug 10 2010 Jon Levell <fedora@coralbark.net> - 0.4.3-1
- - Update to 0.4.3 upstream release
- * Thu Sep 17 2009 Jon Levell <fedora@coralbark.net> - 0.4.0-1
- - Update to new upstream release
- * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Sat Jul 4 2009 Jon Levell <fedora@coralbark.net> - 0.3.4-1
- - Update to new upstream release (patch no longer needed)
- * Tue Jun 30 2009 Jon Levell <fedora@coralbark.net> - 0.3.3-1
- - Update to latest upstream release
- - Add patch provided by upstream
- * Tue Mar 10 2009 Jon Levell <fedora@coralbark.net> - 0.3.1-1
- - Update to latest upstream release
- * Wed Feb 11 2009 Jon Levell <fedora@coralbark.net> - 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 <fedora@coralbark.net> - 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 <fedora@coralbark.net> - 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 <fedora@coralbark.net> - 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 <derrick_moser@yahoo.com>
- - created initial diffuse package
|