From 6d4f4d799e2eff67a1387c7c431545825049f2d4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:15:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.5.0-1mamba;Fri Jan 17 2014] --- README.md | 2 ++ openobd.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 openobd.spec diff --git a/README.md b/README.md index 70ccec6..2951260 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # openobd +A cross platform GUI for OBD-II interface device control. Currently supporting ELM327 devices, the app allows you to view and clear error codes, and view live data from the ECU. + diff --git a/openobd.spec b/openobd.spec new file mode 100644 index 0000000..cfac0ca --- /dev/null +++ b/openobd.spec @@ -0,0 +1,58 @@ +Name: openobd +Version: 0.5.0 +Release: 1mamba +Summary: A cross platform GUI for OBD-II interface device control +Group: Graphical Desktop/Applications/Other +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/openobd/ +Source: http://downloads.sourceforge.net/project/openobd/Sources/%{version}/openobd-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libsqlite-devel +BuildRequires: libstdc++6-devel +BuildRequires: libwxBase-unicode-devel +BuildRequires: libwxGTK-unicode-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A cross platform GUI for OBD-II interface device control. Currently supporting ELM327 devices, the app allows you to view and clear error codes, and view live data from the ECU. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +install -D -m0755 build/libCTB.so %{buildroot}%{_libdir}/libCTB.so + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/openobd +%{_libdir}/libCTB.so +%dir %{_datadir}/openobd +%{_datadir}/openobd/openobd.db +%dir %{_docdir}/openobd +%{_docdir}/openobd/README +%{_docdir}/openobd/license.txt + +%changelog +* Fri Jan 17 2014 Silvan Calarco 0.5.0-1mamba +- package created using the webbuild interface