[hokuyoaist] Initial import
rmattes
rmattes at fedoraproject.org
Tue Jul 31 03:42:57 UTC 2012
commit 5b0bfb88b0af2c05f8232c473f6d023949ebeb94
Author: Rich Mattes <richmattes at gmail.com>
Date: Mon Jul 30 23:42:46 2012 -0400
Initial import
.gitignore | 1 +
hokuyoaist.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c8fe9eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gbiggs-hokuyoaist-3.0.1-0-g69df78b.tar.gz
diff --git a/hokuyoaist.spec b/hokuyoaist.spec
new file mode 100644
index 0000000..cc0bf2c
--- /dev/null
+++ b/hokuyoaist.spec
@@ -0,0 +1,83 @@
+%global gitrev 69df78b
+
+Name: hokuyoaist
+Version: 3.0.1
+Release: 1.20120729git%{gitrev}%{?dist}
+Summary: Hokuyo Laser SCIP driver
+
+License: LGPLv3
+URL: https://github.com/gbiggs/hokuyoaist
+# wget --content-disposition https://github.com/gbiggs/hokuyoaist/tarball/tags/3.0.1
+Source0: https://github.com/gbiggs/hokuyoaist/tarball/tags/%{version}/gbiggs-hokuyoaist-%{version}-0-g%{gitrev}.tar.gz
+BuildRequires: cmake
+BuildRequires: doxygen
+BuildRequires: flexiport-devel
+BuildRequires: python-sphinx
+
+# Older gearbox versions include the hokuyo_aist library, but the hokuyo
+# library in gearbox 10.11 was relicensed to EPL. This package conflcts
+# with gearbox versions that included the hokuyo_aist support (9.11),
+# but can be installed in parallel with gearbox version 10.11 (which
+# is built without hokuyo_aist support)
+Conflicts: gearbox < 10.11
+
+%description
+This library provides a driver for Hokuyo laser scanner devices using the
+SCIP protocol version 1 or 2. It has been tested with the Hokuyo URG-04LX,
+UBG-04LX, UHG-08LX, UTM-30LX and UXM-30LX-E but it should work with any
+scanner that conforms to these protocol versions, including the URG-04LX-F01
+and the URG-04LX-UG01 (Simple-URG).
+
+%package devel
+Summary: Header files and libraries for %{name}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development libraries and header files for %{name}
+
+%prep
+%setup -q -n gbiggs-%{name}-32e8771
+# Fix the library and pkgconfig install paths.
+sed -i 's/\"lib\"/\"%{_lib}\"/' CMakeLists.txt
+# The "breathe" module is not available, so don't use it
+sed -i 's/extensions/#extensions/' doc/conf.py.in
+
+
+
+%build
+mkdir build
+pushd build
+%cmake -DBUILD_EXAMPLES=OFF ..
+popd
+make -C build %{?_smp_mflags}
+
+
+%install
+make -C build install DESTDIR=$RPM_BUILD_ROOT
+
+# Get rid of hidden junk doxygen generates, and remove the installed
+# documentation so we can install it with the doc macro
+rm -rf build/doc/html/.buildinfo
+rm -rf build/doc/html/.doctrees
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}-3
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc COPYING COPYING.LESSER
+%{_libdir}/*.so.*
+
+%files devel
+%doc build/doc/html
+%{_datadir}/%{name}-3
+%{_includedir}/%{name}-3
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_libdir}/%{name}
+
+
+%changelog
+* Sun Jul 29 2012 Rich Mattes <richmattes at gmail.com> - 3.0.1-1.20120729git69df78b
+- Fix release numbering
diff --git a/sources b/sources
index e69de29..0d81eba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+79cb989928018744e7520b823b3e6867 gbiggs-hokuyoaist-3.0.1-0-g69df78b.tar.gz
More information about the scm-commits
mailing list