Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
9fb30dec
Commit
9fb30dec
authored
May 04, 2017
by
Ian Craggs
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/orpiske/paho.mqtt.c
into develop
parents
862b1d3b
6798c330
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
0 deletions
+73
-0
Makefile
dist/Makefile
+8
-0
paho-c.spec
dist/paho-c.spec
+65
-0
No files found.
dist/Makefile
0 → 100644
View file @
9fb30dec
VERSION
=
1.1.0
rpm-prep
:
mkdir
-p
${
HOME
}
/rpmbuild/SOURCES/
tar
--transform
=
"s/
\.
/paho-c-
${
VERSION
}
/"
-cf
${
HOME
}
/rpmbuild/SOURCES/paho-c-
${
VERSION
}
.tar.gz
--exclude
=
./build
--exclude
=
.git
--exclude
=
*
.bz ./
--gzip
rpm
:
rpm-prep
rpmbuild
-ba
dist/paho-c.spec
dist/paho-c.spec
0 → 100644
View file @
9fb30dec
%global _enable_debug_package 0
%global debug_package %{nil}
Summary: MQTT C Client
Name: paho-c
Version: 1.1.0
Release: 1%{?dist}
License: Eclipse Distribution License 1.0 and Eclipse Public License 1.0
Group: Development/Tools
Source: paho-c-%{version}.tar.gz
URL: https://eclipse.org/paho/clients/c/
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: graphviz
BuildRequires: doxygen
BuildRequires: openssl-devel
Requires: openssl
%description
The Paho MQTT C Client is a fully fledged MQTT client written in ANSI standard C.
%package devel
Summary: MQTT C Client development kit
Group: Development/Libraries
Requires: paho-c
%description devel
Development files and samples for the the Paho MQTT C Client.
%package devel-docs
Summary: MQTT C Client development kit documentation
Group: Development/Libraries
%description devel-docs
Development documentation files for the the Paho MQTT C Client.
%prep
%autosetup -n paho-c-%{version}
%build
mkdir build.paho && cd build.paho
cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr ..
make
%install
cd build.paho
make install
%files
%doc edl-v10 epl-v10
%{_libdir}/*
%files devel
%{_bindir}/*
%{_includedir}/*
%files devel-docs
%{_datadir}/*
%changelog
* Sat Dec 31 2016 Otavio R. Piske <opiske@redhat.com> - 20161231
- Initial packaging
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment