59 lines
1.6 KiB
RPMSpec
59 lines
1.6 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 0.5.0-1mamba
|
||
|
- package created using the webbuild interface
|