- new auto/th/librist-0.2.0-0.RC6.1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 28 Apr 2021 19:58:34 +0000 (21:58 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 28 Apr 2021 19:58:34 +0000 (21:58 +0200)
librist.spec [new file with mode: 0644]

diff --git a/librist.spec b/librist.spec
new file mode 100644 (file)
index 0000000..ad05bd9
--- /dev/null
@@ -0,0 +1,95 @@
+Summary:       Reliable Internet Stream Transport (RIST)
+Summary(pl.UTF-8):     Reliable Internet Stream Transport (RIST) - niezawodny internetowy protokół strumieniowy
+Name:          librist
+Version:       0.2.0
+%define        subver  RC6
+%define        rel     1
+Release:       0.%{subver}.%{rel}
+License:       BSD
+Group:         Libraries
+#Source0Download: https://code.videolan.org/rist/librist/-/tags
+Source0:       https://code.videolan.org/rist/librist/-/archive/v%{version}-%{subver}/librist-v%{version}-%{subver}.tar.bz2
+# Source0-md5: 87a7b2b7c6ed885b7b1ff71e940b2df6
+URL:           https://code.videolan.org/rist/librist
+BuildRequires: cjson-devel
+BuildRequires: meson >= 0.51.0
+BuildRequires: ninja >= 1.5
+BuildRequires: lz4-devel
+BuildRequires: mbedtls-devel
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A library that can be used to easily add the RIST protocol to your
+application.
+
+%description -l pl.UTF-8
+Biblioteka, za pomocą której można łatwo dodać do swojej aplikacji
+obsługę protokołu RIST.
+
+%package devel
+Summary:       Header files for RIST library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki RIST
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+Requires:      cjson-devel
+Requires:      lz4-devel
+Requires:      mbedtls-devel
+
+%description devel
+Header files for RIST library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki RIST.
+
+%package static
+Summary:       Static RIST library
+Summary(pl.UTF-8):     Statyczna biblioteka RIST
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static RIST library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka RIST.
+
+%prep
+%setup -q -n librist-v%{version}-%{subver}
+
+%build
+%meson build \
+       -Dfallback_builtin=false
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING NEWS README.md THANKS.md
+%attr(755,root,root) %{_bindir}/rist2rist
+%attr(755,root,root) %{_bindir}/ristreceiver
+%attr(755,root,root) %{_bindir}/ristsender
+%attr(755,root,root) %{_bindir}/ristsrppasswd
+%attr(755,root,root) %{_libdir}/librist.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/librist.so.4
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/librist.so
+%{_includedir}/librist
+%{_pkgconfigdir}/librist.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/librist.a
This page took 0.071284 seconds and 4 git commands to generate.