51 lines
1.3 KiB
RPMSpec
51 lines
1.3 KiB
RPMSpec
|
Name: pytomtom
|
||
|
Version: 0.5
|
||
|
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: https://launchpad.net/pytomtom
|
||
|
Source: https://launchpad.net/pytomtom/trunk/%{version}/+download/pytomtom-%{version}.tar.gz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: python >= %python_version
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
%{summary}.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}
|
||
|
|
||
|
%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
|
||
|
* Sun Aug 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
|
||
|
- package created using the webbuild interface
|