57 lines
1.7 KiB
RPMSpec
57 lines
1.7 KiB
RPMSpec
Name: diffuse
|
|
Version: 0.4.8
|
|
Release: 1mamba
|
|
Summary: Graphical tool for merging and comparing text files
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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)
|
|
%config(noreplace) %{_sysconfdir}/diffuserc
|
|
%{_bindir}/diffuse
|
|
%{_datadir}/diffuse
|
|
%{_datadir}/applications/diffuse.desktop
|
|
%{_datadir}/gnome/help/diffuse/*/diffuse.xml
|
|
%{_datadir}/omf/diffuse/diffuse-*.omf
|
|
%{_datadir}/icons/hicolor/*/apps/diffuse.png
|
|
%{_mandir}/man?/*
|
|
%{_mandir}/*/man?/*
|
|
%doc AUTHORS COPYING
|
|
#ChangeLog README
|
|
|
|
%changelog
|
|
* Mon Jul 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.8-1mamba
|
|
- update to 0.4.8
|
|
|
|
* Thu Sep 26 2013 openmamba WebBuild System <webbuild@openmamba.org> 0.4.7-1mamba
|
|
- package created by stefano using the webbuild interface |