pytomtom/pytomtom.spec

54 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: pytomtom
Version: 0.5.1
Release: 1mamba
Summary: GPSQuickfix, backup, restore and more for TomTom devices
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pytomtom.tuxfamily.org/forum/
Source: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pytomtom/pytomtom-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: python27
%description
%{summary}.
%prep
%setup -q -n %{name}
sed -i -e 's/python/python2/' bin/pytomtom
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}
cp -a share/* %{buildroot}%{_datadir}
install -D -m0755 bin/%{name} %{buildroot}%{_bindir}/%{name}
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
%{_datadir}/applications/pytomtom.desktop
%{_datadir}/pixmaps/pytomtom.png
%dir %{_datadir}/pytomtom
%dir %{_datadir}/pytomtom/pix
%{_datadir}/pytomtom/pix/*
%dir %{_datadir}/pytomtom/src
%{_datadir}/pytomtom/src/pytomtom.py
%doc COPYING
%changelog
* Fri Dec 01 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- update to 0.5.1
* Sun Aug 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
- package created using the webbuild interface