Compare commits
20 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb6073f9b7 | ||
|
|
b596abf1bf | ||
|
|
594e5ea2ed | ||
|
|
24ad3be29e | ||
|
|
a15394cce4 | ||
|
|
71e7c791d0 | ||
|
|
55df4d32da | ||
|
|
6b0bee2c1d | ||
|
|
840b3abb45 | ||
|
|
69e9686c8e | ||
|
|
ab71ad6427 | ||
|
6a2941dac9 |
|||
|
|
4ee034482c | ||
|
|
5e6e91b01d | ||
|
|
bcbe6bf0f4 | ||
|
|
5085748ac6 | ||
|
|
58340f4e2b | ||
|
|
a2ba9a903c | ||
|
|
d24b982b83 | ||
|
|
8f7f935dc2 |
5 changed files with 1 additions and 116 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/v*.tar.gz
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# upm
|
||||
|
||||
The upm package
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Mostly dead upstream and should be replaced with libgpiod and friends
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (v1.7.1.tar.gz) = 39192d455bbfca49c0d0fa80c9f9f800e9708520080bd026bf12cfc7088a5cdaf734de055d547bb58efebbc7cbe001e938384192c433406661396d8b9989092d
|
||||
111
upm.spec
111
upm.spec
|
|
@ -1,111 +0,0 @@
|
|||
Name: upm
|
||||
Version: 1.7.1
|
||||
Release: 1%{?dist}
|
||||
Summary: A high level library for sensors and actuators
|
||||
License: MIT
|
||||
URL: http://iotdk.intel.com/docs/master/upm/index.html
|
||||
|
||||
Source0: https://github.com/intel-iot-devkit/upm/archive/v%{version}.tar.gz
|
||||
|
||||
# To quote "Only x86, arm and mock platforms currently supported"
|
||||
ExcludeArch: %{power64} s390x
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc gcc-c++
|
||||
BuildRequires: libjpeg-turbo-devel
|
||||
BuildRequires: mraa-devel
|
||||
BuildRequires: nodejs-devel nodejs-packaging nodejs-mraa
|
||||
BuildRequires: python3-devel python3-setuptools python3-mraa
|
||||
BuildRequires: swig
|
||||
BuildRequires: doxygen graphviz sphinx
|
||||
|
||||
%description
|
||||
UPM is a high level repository that provides software drivers for a wide variety
|
||||
of commonly used sensors and actuators. These software drivers interact with the
|
||||
underlying hardware platform through calls to MRAA APIs.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: libjpeg-turbo-devel
|
||||
Requires: mraa-devel
|
||||
|
||||
%description devel
|
||||
Files for development with %{name}.
|
||||
|
||||
%package -n python3-upm
|
||||
Summary: Python3 bindings for sensors and actuators
|
||||
License: GPLv2+
|
||||
%{?python_provide:%python_provide python3-upm}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: python3-mraa
|
||||
|
||||
%description -n python3-upm
|
||||
Python3 bindings for sensors and actuators
|
||||
|
||||
%package -n nodejs-upm
|
||||
Summary: NodeJS package for sensors and actuators
|
||||
License: GPLv2+
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: nodejs-mraa
|
||||
|
||||
%description -n nodejs-upm
|
||||
NodeJS bindings for sensors and actuators
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
find . -name \*.cxx -exec chmod -x {} \;
|
||||
|
||||
%build
|
||||
if [ "%{_libdir}" = "%{_prefix}/lib64" ]; then
|
||||
%cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_SKIP_RPATH=ON -DUSE_LIB64:BOOL=ON -DVERSION:STRING=%{version} .
|
||||
else
|
||||
%cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_SKIP_RPATH=ON -DUSE_LIB64:BOOL=OFF -DVERSION:STRING=%{version} .
|
||||
fi
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
rm -f %{buildroot}/%{_includedir}/upm/upm_utilities.hpp
|
||||
|
||||
# Symlink nodejs dependencies
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_libdir}/lib%{name}*.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/upm/
|
||||
%{_datadir}/upm/
|
||||
%{_libdir}/pkgconfig/%{name}*.pc
|
||||
%{_libdir}/lib%{name}*.so
|
||||
|
||||
%files -n python3-upm
|
||||
%{python3_sitearch}/upm/
|
||||
|
||||
%files -n nodejs-upm
|
||||
%{nodejs_sitelib}/jsupm_*/
|
||||
|
||||
%changelog
|
||||
* Sun Oct 14 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.7.1-1
|
||||
- New upstream 1.7.1 release
|
||||
- Minor cleanups
|
||||
|
||||
* Mon Sep 10 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.7.0-2
|
||||
- Add nodejs-mraa dep for nodejs-upm sub package
|
||||
|
||||
* Sun Sep 9 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.7.0-1
|
||||
- New upstream 1.7.0 release
|
||||
|
||||
* Thu Oct 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.0-1
|
||||
- New upstream 1.5.0 release
|
||||
|
||||
* Tue May 16 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.0-1
|
||||
- Initial package
|
||||
Loading…
Add table
Add a link
Reference in a new issue