diff --git a/README.md b/README.md index 4e17c3e..a42adf4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pytomtom +GPSQuickfix, backup, restore and more for TomTom devices. + diff --git a/pytomtom.spec b/pytomtom.spec new file mode 100644 index 0000000..50fb521 --- /dev/null +++ b/pytomtom.spec @@ -0,0 +1,50 @@ +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 +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 0.5-1mamba +- package created using the webbuild interface