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