- build with mbedtls2 until bctoolbx is updated to avoid symbol clash, rel 2
[packages/librist.git] / librist.spec
CommitLineData
23bbe2f9
JB
1Summary: Reliable Internet Stream Transport (RIST)
2Summary(pl.UTF-8): Reliable Internet Stream Transport (RIST) - niezawodny internetowy protokół strumieniowy
3Name: librist
ac2d1813 4Version: 0.2.6
1ca2ccec 5Release: 2
23bbe2f9
JB
6License: BSD
7Group: Libraries
8#Source0Download: https://code.videolan.org/rist/librist/-/tags
575e8d3d 9Source0: https://code.videolan.org/rist/librist/-/archive/v%{version}/librist-v%{version}.tar.bz2
ac2d1813 10# Source0-md5: bc566b07a0cd83b44a34d086f68d3f99
23bbe2f9
JB
11URL: https://code.videolan.org/rist/librist
12BuildRequires: cjson-devel
13BuildRequires: meson >= 0.51.0
14BuildRequires: ninja >= 1.5
ac2d1813 15# disabled in sources (as of 0.2.6)
575e8d3d 16#BuildRequires: lz4-devel
1ca2ccec
JR
17# not using mbedtls 3 to avoid symbol clash
18# librist (mbedtls3) -> ffmbeg -> mediastreamer + bctoolbox (mbedtls2)
19BuildRequires: mbedtls2-devel
23bbe2f9
JB
20BuildRequires: rpmbuild(macros) >= 1.736
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24A library that can be used to easily add the RIST protocol to your
25application.
26
27%description -l pl.UTF-8
28Biblioteka, za pomocą której można łatwo dodać do swojej aplikacji
29obsługę protokołu RIST.
30
31%package devel
32Summary: Header files for RIST library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki RIST
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36Requires: cjson-devel
575e8d3d 37#Requires: lz4-devel
1ca2ccec 38Requires: mbedtls2-devel
23bbe2f9
JB
39
40%description devel
41Header files for RIST library.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe biblioteki RIST.
45
46%package static
47Summary: Static RIST library
48Summary(pl.UTF-8): Statyczna biblioteka RIST
49Group: Development/Libraries
50Requires: %{name}-devel = %{version}-%{release}
51
52%description static
53Static RIST library.
54
55%description static -l pl.UTF-8
56Statyczna biblioteka RIST.
57
58%prep
575e8d3d 59%setup -q -n librist-v%{version}
23bbe2f9
JB
60
61%build
62%meson build \
63 -Dfallback_builtin=false
64
65%ninja_build -C build
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%ninja_install -C build
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%post -p /sbin/ldconfig
76%postun -p /sbin/ldconfig
77
78%files
79%defattr(644,root,root,755)
80%doc COPYING NEWS README.md THANKS.md
81%attr(755,root,root) %{_bindir}/rist2rist
82%attr(755,root,root) %{_bindir}/ristreceiver
83%attr(755,root,root) %{_bindir}/ristsender
84%attr(755,root,root) %{_bindir}/ristsrppasswd
85%attr(755,root,root) %{_libdir}/librist.so.*.*.*
86%attr(755,root,root) %ghost %{_libdir}/librist.so.4
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/librist.so
91%{_includedir}/librist
92%{_pkgconfigdir}/librist.pc
93
94%files static
95%defattr(644,root,root,755)
96%{_libdir}/librist.a
This page took 0.099972 seconds and 4 git commands to generate.