- updated to 0.2.1 release
[packages/librist.git] / librist.spec
1 Summary:        Reliable Internet Stream Transport (RIST)
2 Summary(pl.UTF-8):      Reliable Internet Stream Transport (RIST) - niezawodny internetowy protokół strumieniowy
3 Name:           librist
4 Version:        0.2.1
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 #Source0Download: https://code.videolan.org/rist/librist/-/tags
9 Source0:        https://code.videolan.org/rist/librist/-/archive/v%{version}/librist-v%{version}.tar.bz2
10 # Source0-md5:  03b79beae3603bc050f5ea35ac676962
11 URL:            https://code.videolan.org/rist/librist
12 BuildRequires:  cjson-devel
13 BuildRequires:  meson >= 0.51.0
14 BuildRequires:  ninja >= 1.5
15 # disabled in sources (as of 0.2.1)
16 #BuildRequires: lz4-devel
17 BuildRequires:  mbedtls-devel
18 BuildRequires:  rpmbuild(macros) >= 1.736
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 A library that can be used to easily add the RIST protocol to your
23 application.
24
25 %description -l pl.UTF-8
26 Biblioteka, za pomocą której można łatwo dodać do swojej aplikacji
27 obsługę protokołu RIST.
28
29 %package devel
30 Summary:        Header files for RIST library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki RIST
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       cjson-devel
35 #Requires:      lz4-devel
36 Requires:       mbedtls-devel
37
38 %description devel
39 Header files for RIST library.
40
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki RIST.
43
44 %package static
45 Summary:        Static RIST library
46 Summary(pl.UTF-8):      Statyczna biblioteka RIST
47 Group:          Development/Libraries
48 Requires:       %{name}-devel = %{version}-%{release}
49
50 %description static
51 Static RIST library.
52
53 %description static -l pl.UTF-8
54 Statyczna biblioteka RIST.
55
56 %prep
57 %setup -q -n librist-v%{version}
58
59 %build
60 %meson build \
61         -Dfallback_builtin=false
62
63 %ninja_build -C build
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %ninja_install -C build
69
70 %clean
71 rm -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.08759 seconds and 3 git commands to generate.