2
0

libks.spec 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Name: libks
  2. Version: %{version}
  3. Release: 1
  4. Summary: SignalWire's libks
  5. License: MIT
  6. Group: Development/Libraries/C and C++
  7. Url: https://signalwire.com/
  8. Source: libks-%{version}.tar.gz
  9. BuildRequires: git
  10. BuildRequires: gcc-c++
  11. BuildRequires: cmake3
  12. BuildRequires: libuuid-devel
  13. BuildRequires: pkgconfig
  14. BuildRequires: libatomic
  15. BuildRequires: openssl-devel
  16. %if 0%{?is_opensuse}
  17. BuildRequires: libopenssl-devel
  18. %endif
  19. %if 0%{?fedora}
  20. BuildRequires: libatomic
  21. BuildRequires: openssl-devel
  22. %endif
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-build
  24. %description
  25. SignalWire's LibKitchenSink
  26. %package devel
  27. Summary: SignalWire's libks
  28. Group: Development/Libraries/C and C++
  29. Requires: %{name} = %{version}
  30. %description devel
  31. SignalWire's LibKitchenSink. Development files
  32. %prep
  33. %setup -n libks-1.6.0
  34. %build
  35. cmake3 . -DCMAKE_BUILD_TYPE=Release
  36. make %{?_smp_mflags}
  37. %install
  38. %make_install
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root)
  43. /usr/lib/libks.so*
  44. /usr/share/doc/libks
  45. %files devel
  46. %defattr(-,root,root)
  47. %{_includedir}/libks/
  48. /usr/lib/pkgconfig/libks.pc
  49. %changelog
  50. * Tue Jan 29 2019 - alex@freeswitch.com
  51. - Initial build