76 lines
1.9 KiB
RPMSpec
76 lines
1.9 KiB
RPMSpec
|
Name: tg_owt
|
||
|
Version: 0.0.20201223git
|
||
|
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.git
|
||
|
Source: https://github.com/desktop-app/tg_owt.git/master/tg_owt-%{version}.tar.bz2
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires(post): %{__install_info}
|
||
|
Requires(preun): %{__install_info}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
WebRTC library static linked for Telegram.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Shared libraries for %{name}
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%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}"
|
||
|
|
||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||
|
|
||
|
#%files
|
||
|
#%defattr(-,root,root)
|
||
|
|
||
|
#%files -n lib%{name}
|
||
|
#%defattr(-,root,root)
|
||
|
|
||
|
%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
|
||
|
* Wed Dec 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.20201223git-1mamba
|
||
|
- package created using the webbuild interface
|