mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ST: Simplify it, only Linux/Darwin, epoll/kqueue, single process. 5.0.2
commit f4872e528cad07f8ea683cc8cb26e34111bad1b5 Author: winlin <winlin@vip.126.com> Date: Fri Feb 26 09:13:21 2021 +0800 ST: For #2188: Remove sendmmsg from ST. commit aaeb8919bd4a026268e0600398cb1e9ad477663f Author: winlin <winlin@vip.126.com> Date: Thu Mar 11 08:09:54 2021 +0800 ST: Refine utest script. commit d1ac9da53060b6bfa82b5d041da4c2ad9bd6b90a Author: winlin <winlin@vip.126.com> Date: Wed Mar 3 11:02:25 2021 +0800 ST: Support fast utest and coverage commit 8400115b83c022e33f59422dbf6d85ee46fb9edb Author: winlin <winlin@vip.126.com> Date: Fri Feb 26 07:02:19 2021 +0800 ST: Always use unserialized accept for linux or darwin commit c3686f2bca80d2c139239b08975575b1bb981ffa Author: winlin <winlin@vip.126.com> Date: Fri Feb 26 06:54:05 2021 +0800 ST: Refine ARFLAGS by disable the verbose log commit aaa5c4f863eba278c4ed2b29a46297fb01a4ed63 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 08:58:46 2021 +0800 ST: Stack always grows from top to down. commit dddd466e5c2e418c6f4896cd8bf701130052b3d9 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 08:51:31 2021 +0800 ST: Ignore process fork, for single process only commit 7906cb5f6e78c916cb8b8d9522275bfc086bb6a3 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 08:50:59 2021 +0800 ST: Fix build warnings commit d94921b84a3b6cf88ace2c766cc2bfedb9c0602e Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 07:27:45 2021 +0800 ST: Remove select and poll support, only epoll and kqueue commit 76d202514615f78d1a8f2b15778f3dac5abf4abb Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 07:10:47 2021 +0800 ST: Remove multiple OS support, except Linux and Darwin. commit 13c4ba345c61170e86dde486a174378ca235f442 Author: winlin <winlin@vip.126.com> Date: Thu Feb 25 06:59:35 2021 +0800 ST: Remove __ia64__ CPU support commit 46c06e4a11879cfeb828382e44f11287782ce4b5 Author: winlin <winlin@vip.126.com> Date: Wed Feb 24 11:37:27 2021 +0800 ST: Remove unused files for ST
This commit is contained in:
parent
9709ca3b7e
commit
442cf615c0
37 changed files with 116 additions and 6176 deletions
79
trunk/3rdparty/st-srs/st.spec
vendored
79
trunk/3rdparty/st-srs/st.spec
vendored
|
@ -1,79 +0,0 @@
|
|||
Summary: State Threads Library
|
||||
Name: st
|
||||
Version: 1.9
|
||||
Release: 1
|
||||
Copyright: MPL 1.2 or GPL 2+
|
||||
Packager: Wesley W. Terpstra <wesley@terpstra.ca>
|
||||
Source: http://prdownloads.sourceforge.net/state-threads/st-%{version}.tar.gz
|
||||
Prefix: /usr
|
||||
BuildRoot: /tmp/%{name}-%{version}-build
|
||||
Group: Development/Libraries
|
||||
|
||||
%description
|
||||
The State Threads library has an interface similar to POSIX threads.
|
||||
|
||||
However, the threads are actually all run in-process. This type of
|
||||
threading allows for controlled schedualing points. It is highly useful
|
||||
for designing robust and extremely scalable internet applications since
|
||||
there is no resource contention and locking is generally unnecessary.
|
||||
|
||||
It can be combined with traditional threading or multiple process
|
||||
parallelism to take advantage of multiple processors.
|
||||
|
||||
See: <http://state-threads.sourceforge.net/docs/st.html> for further
|
||||
information about how state threads improve performance.
|
||||
|
||||
%package -n libst-devel
|
||||
Summary: State Threads Library - Development Files
|
||||
Group: Development/Libraries
|
||||
Requires: libst1
|
||||
|
||||
%description -n libst-devel
|
||||
Development headers and documentation for libst
|
||||
|
||||
%package -n libst1
|
||||
Summary: State Threads Library - Shared Libs Major 1
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libst1
|
||||
Shared libraries for running applications linked against api version 1.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make CONFIG_GUESS_PATH=/usr/share/automake default-optimized
|
||||
|
||||
%install
|
||||
if [ -d ${RPM_BUILD_ROOT} ]; then rm -rf ${RPM_BUILD_ROOT}; fi
|
||||
|
||||
mkdir -m 0755 -p ${RPM_BUILD_ROOT}/%{prefix}/lib/pkgconfig
|
||||
mkdir -m 0755 -p ${RPM_BUILD_ROOT}/%{prefix}/include
|
||||
mkdir -m 0755 -p ${RPM_BUILD_ROOT}/%{prefix}/share/doc/libst-devel
|
||||
cp -a obj/libst.* ${RPM_BUILD_ROOT}/%{prefix}/lib
|
||||
cp -a obj/st.h ${RPM_BUILD_ROOT}/%{prefix}/include
|
||||
sed "s*@prefix@*%{prefix}*g" <st.pc >${RPM_BUILD_ROOT}/%{prefix}/lib/pkgconfig/st.pc
|
||||
cp -a docs/* ${RPM_BUILD_ROOT}/%{prefix}/share/doc/libst-devel/
|
||||
cp -a examples ${RPM_BUILD_ROOT}/%{prefix}/share/doc/libst-devel/
|
||||
|
||||
%post -n libst1
|
||||
/sbin/ldconfig %{prefix}/lib
|
||||
|
||||
%files -n libst1
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/lib/lib*.so.*
|
||||
|
||||
%files -n libst-devel
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/include/*
|
||||
%{prefix}/lib/lib*.a
|
||||
%{prefix}/lib/lib*.so
|
||||
%{prefix}/lib/pkgconfig/st.pc
|
||||
%{prefix}/share/doc/libst-devel/*
|
||||
|
||||
%clean
|
||||
if [ -d ${RPM_BUILD_ROOT} ]; then rm -rf ${RPM_BUILD_ROOT}; fi
|
||||
|
||||
%changelog
|
||||
* Wed Dec 26 2001 Wesley W. Terpstra <wesley@terpstra.ca>
|
||||
- first rpms for libst-1.3.tar.gz
|
Loading…
Add table
Add a link
Reference in a new issue