diff --git a/README.md b/README.md index 81d530c..cc7d2df 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # diffuse +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. + diff --git a/diffuse.spec b/diffuse.spec new file mode 100644 index 0000000..a253aa1 --- /dev/null +++ b/diffuse.spec @@ -0,0 +1,53 @@ +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 +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 0.4.7-1mamba +- package created by stefano using the webbuild interface \ No newline at end of file