tg_owt/tg_owt.spec

92 lines
2.9 KiB
RPMSpec

%define commit %(echo %version | cut -d+ -f2 | cut -d. -f2)
Name: tg_owt
Version: 0.1+20241028git.8198c4d
Release: 1mamba
Summary: WebRTC library static linked for Telegram
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/desktop-app/tg_owt
Source: https://github.com/desktop-app/tg_owt.git/master@%{commit}/tg_owt-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libabseil-cpp-devel >= 20240116.0
BuildRequires: libtg_owt-devel >= 0.1.20230105git
BuildRequires: libopenh264-devel
%description
WebRTC library static linked for Telegram.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
%build
%cmake -d build \
-DBUILD_SHARED_LIBS=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/tg_owt
%{_includedir}/tg_owt/*
%dir %{_libdir}/cmake/tg_owt
%{_libdir}/cmake/tg_owt/tg_owt*.cmake
%{_libdir}/libtg_owt.a
%changelog
* Sun Nov 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1+20241028git.8198c4d-1mamba
- update to 0.1+20241028git.8198c4d
* Wed Oct 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1+20240804git.dc17143-1mamba
- update to 0.1+20240804git.dc17143
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20231221git.afd9d5d-1mamba
- update to 0.1.20231221git.afd9d5d
* Sat Sep 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20230815git.0532942-1mamba
- update to 0.1.20230815git.0532942
* Thu Feb 02 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20230105git.5098730-2mamba
- rebuilt with libtg_owt-devel 0.1.20230105git
* Thu Jan 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20230105git.5098730-1mamba
- update to 0.1.20230105git.5098730
* Sat Jul 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.20220508git.10d5f4b-1mamba
- update to 0.1.20220508git.10d5f4b
* Thu Jun 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20220602git.63a934d-1mamba
- update to 0.0.20220602git.63a934d
* Sat Jan 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20220101git.6708e0d-1mamba
- update to 0.0.20220101git.6708e0d
* Mon Mar 22 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20210322git-1mamba
- update to 0.0.20210322git
* Thu Jan 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20210128git-1mamba
- update to 0.0.20210128git
* Wed Dec 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20201223git-1mamba
- package created using the webbuild interface