open62541.spec 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. Name: open62541
  2. Version: 0.2
  3. Release: 1%{?dist}
  4. Summary: OPC UA implementation
  5. License: MPLv2.0
  6. URL: http://open62541.org
  7. Source0: https://github.com/open62541/open62541/archive/v%{version}.tar.gz
  8. BuildRequires: cmake, python2
  9. %description
  10. open62541 is a C-based library (linking with C++ projects is possible)
  11. with all necessary tools to implement dedicated OPC UA clients and servers,
  12. or to integrate OPC UA-based communication into existing applications.
  13. %package devel
  14. Summary: Development files for %{name}
  15. Requires: %{name} = %{version}-%{release}
  16. %description devel
  17. The %{name}-devel package contains libraries and header files for
  18. developing applications that use %{name}.
  19. %prep
  20. %setup -q
  21. %build
  22. %cmake .
  23. make %{?_smp_mflags}
  24. %install
  25. %make_install
  26. %post -p /sbin/ldconfig
  27. %postun -p /sbin/ldconfig
  28. %files
  29. %{_libdir}/libopen62541.so
  30. %{_libdir}/libopen62541.so.*
  31. %files devel
  32. %{_includedir}/open62541.h
  33. %changelog
  34. * Thu Aug 31 2017 Jens Reimann <jreimann@redhat.com> - 0.2-1
  35. - Initial version of the package