Skip to content

Commit

Permalink
Generated RPM files for 32
Browse files Browse the repository at this point in the history
  • Loading branch information
stonier committed Sep 16, 2020
1 parent 146cce6 commit d62b8f4
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 67 deletions.
Empty file added .write_tar
Empty file.
76 changes: 76 additions & 0 deletions rpm/template.spec
@@ -0,0 +1,76 @@
%bcond_without weak_deps

%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
%global __provides_exclude_from ^/opt/ros/noetic/.*$
%global __requires_exclude_from ^/opt/ros/noetic/.*$

Name: ros-noetic-kobuki-ftdi
Version: 0.7.12
Release: 1%{?dist}%{?release_suffix}
Summary: ROS kobuki_ftdi package

License: BSD
URL: http://ros.org/wiki/kobuki_ftdi
Source0: %{name}-%{version}.tar.gz

Requires: libftdi-c++-devel
Requires: libftdi-devel
Requires: libusb-devel
Requires: ros-noetic-ecl-command-line
BuildRequires: libftdi-c++-devel
BuildRequires: libftdi-devel
BuildRequires: libusb-devel
BuildRequires: pkgconfig
BuildRequires: ros-noetic-catkin
BuildRequires: ros-noetic-ecl-command-line
Provides: %{name}-devel = %{version}-%{release}
Provides: %{name}-doc = %{version}-%{release}
Provides: %{name}-runtime = %{version}-%{release}

%description
Utilities for flashing and enabling Kobuki's USB connection. This package
contains tools for flashing the Kobuki's FTDI chip (usually done at the
factory). The special firmware for the FTDI chip (USB to serial converter)
enables it to appear as /dev/kobuki on the user's PC.

%prep
%autosetup

%build
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/noetic/setup.sh" ]; then . "/opt/ros/noetic/setup.sh"; fi
mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
%cmake3 \
-UINCLUDE_INSTALL_DIR \
-ULIB_INSTALL_DIR \
-USYSCONF_INSTALL_DIR \
-USHARE_INSTALL_PREFIX \
-ULIB_SUFFIX \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DCMAKE_INSTALL_PREFIX="/opt/ros/noetic" \
-DCMAKE_PREFIX_PATH="/opt/ros/noetic" \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
-DCATKIN_BUILD_BINARY_PACKAGE="1" \
..

%make_build

%install
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/noetic/setup.sh" ]; then . "/opt/ros/noetic/setup.sh"; fi
%make_install -C obj-%{_target_platform}

%files
/opt/ros/noetic

%changelog
* Tue Sep 15 2020 Younghun Ju <yhju@yujinrobot.com> - 0.7.12-1
- Autogenerated by Bloom

* Sun Sep 13 2020 Younghun Ju <yhju@yujinrobot.com> - 0.7.10-1
- Autogenerated by Bloom

67 changes: 0 additions & 67 deletions rpm/template.spec.em

This file was deleted.

0 comments on commit d62b8f4

Please sign in to comment.