diffuse/diffuse.spec

60 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: diffuse
Version: 0.5.0
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: https://github.com/MightyCreak/diffuse.git/v%{version}/diffuse-%{version}.tar.bz2
#Source: http://downloads.sourceforge.net/project/diffuse/diffuse/%{version}/diffuse-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## 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}"
%{__python3} 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
* Sun Sep 06 2020 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
- automatic version update by autodist
* 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