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