libsrtp-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %global shortname srtp
  2. Summary: Secure RTP (SRTP) and UST Reference Implementations
  3. Name: libsrtp
  4. Version: 2.3.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: BSD
  10. URL: https://github.com/cisco/libsrtp
  11. Source0: https://github.com/cisco/libsrtp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
  12. # Fix shared lib so ldconfig doesn't complain
  13. Patch0: libsrtp-2.3.0-shared-fix.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %description
  16. The libSRTP library is an open-source implementation of the Secure Real-time
  17. Transport Protocol (SRTP) originally authored by Cisco Systems, Inc.
  18. %package devel
  19. Summary: Development environment for libsrtp
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. Header files and libraries for building a extension library for the
  24. libsrtp
  25. %prep
  26. %setup -q
  27. %patch0 -p1 -b .sharedfix
  28. %build
  29. export CFLAGS="%{optflags} -fPIC"
  30. %configure --disable-static
  31. %{__make} %{?_smp_mflags} shared_library
  32. %install
  33. %{__rm} -rf %{buildroot}
  34. %{__make} install DESTDIR=%{buildroot}
  35. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  36. %clean
  37. %{__rm} -rf %{buildroot}
  38. %post
  39. /sbin/ldconfig
  40. %postun
  41. /sbin/ldconfig
  42. %files
  43. %license LICENSE
  44. %doc CHANGES README TODO VERSION doc/*.txt doc/*.pdf
  45. %{_libdir}/*.so.*
  46. %files devel
  47. %{_includedir}/*
  48. %{_libdir}/pkgconfig/libsrtp2.pc
  49. %{_libdir}/*.so
  50. %changelog
  51. * Fri Apr 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
  52. - new upstream release.
  53. - updated Patch0.
  54. - dropped Patch1-3.
  55. * Mon Jul 11 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.4-1
  56. - new upstream release.
  57. * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.4-1
  58. - initial build for Vine Linux based on fedora development