paho-c.spec 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Summary: MQTT C Client
  2. Name: paho-c
  3. Version: 1.3.2
  4. Release: 3%{?dist}
  5. License: Eclipse Distribution License 1.0 and Eclipse Public License 2.0
  6. Group: Development/Tools
  7. Source: https://github.com/eclipse/paho.mqtt.c/archive/v%{version}.tar.gz
  8. URL: https://eclipse.org/paho/clients/c/
  9. BuildRequires: cmake
  10. BuildRequires: gcc
  11. BuildRequires: graphviz
  12. BuildRequires: doxygen
  13. BuildRequires: openssl-devel
  14. Requires: openssl
  15. %description
  16. The Paho MQTT C Client is a fully fledged MQTT client written in ANSI standard C.
  17. %package devel
  18. Summary: MQTT C Client development kit
  19. Group: Development/Libraries
  20. Requires: paho-c
  21. %description devel
  22. Development files and samples for the the Paho MQTT C Client.
  23. %package devel-docs
  24. Summary: MQTT C Client development kit documentation
  25. Group: Development/Libraries
  26. %description devel-docs
  27. Development documentation files for the the Paho MQTT C Client.
  28. %prep
  29. %autosetup -n paho-c-%{version}
  30. %build
  31. mkdir build.paho && cd build.paho
  32. %cmake -DPAHO_WITH_SSL=TRUE -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE ..
  33. make %{?_smp_mflags}
  34. %install
  35. cd build.paho
  36. make install DESTDIR=%{buildroot}
  37. %files
  38. %doc edl-v10 epl-v20
  39. %{_libdir}/*
  40. %files devel
  41. %{_bindir}/*
  42. %{_includedir}/*
  43. %files devel-docs
  44. %{_datadir}/*
  45. %changelog
  46. * Thu Jul 27 2017 Otavio R. Piske <opiske@redhat.com> - 1.2.0-4
  47. - Enabled generation of debuginfo package
  48. * Thu Jul 27 2017 Otavio R. Piske <opiske@redhat.com> - 1.2.0-3
  49. - Fixed changelog issues pointed by rpmlint
  50. * Thu Jul 27 2017 Otavio R. Piske <opiske@redhat.com> - 1.2.0-2
  51. - Updated changelog to comply with Fedora packaging guidelines
  52. * Wed Jul 26 2017 Otavio R. Piske <opiske@redhat.com> - 1.2.0-1
  53. - Fixed rpmlint warnings: replaced cmake call with builtin macro
  54. - Fixed rpmlint warnings: removed buildroot reference from build section
  55. * Fri Jun 30 2017 Otavio R. Piske <opiske@redhat.com> - 1.2.0
  56. - Updated package to version 1.2.0
  57. * Sat Dec 31 2016 Otavio R. Piske <opiske@redhat.com> - 1.1.0
  58. - Initial packaging