diffuse/diffuse.spec

53 lines
1.5 KiB
RPMSpec

Name: diffuse
Version: 0.4.7
Release: 1mamba
Summary: Graphical tool for merging and comparing text files
Group: Graphical Desktop/Application
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
URL: http://diffuse.sourceforge.net
Source: http://downloads.sourceforge.net/project/diffuse/diffuse/%{version}/diffuse-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 diffuse' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Diffuse is a small and simple text merge tool written in Python.
With Diffuse, you can easily merge, edit, and review changes to your code.
%prep
%setup -q
sed -i 's,/usr/local/,%{_prefix},g' install.py
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} install.py \
--destdir="%{buildroot}"
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/diffuse
%config(noreplace) %{_sysconfdir}/diffuserc
%{_datadir}/diffuse
%{_datadir}/applications/diffuse.desktop
%{_datadir}/gnome/help/diffuse/*/diffuse.xml
%{_datadir}/omf/diffuse/diffuse-*.omf
%{_datadir}/pixmaps/*
%{_mandir}/man?/*
%{_mandir}/*/man?/*
%doc AUTHORS COPYING ChangeLog README
%changelog
* Thu Sep 26 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.4.7-1mamba
- package created by stefano using the webbuild interface