1 Star 0 Fork 4

mengfei/fcgi

forked from src-openEuler/fcgi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fcgi.spec 1.68 KB
一键复制 编辑 原始数据 按行查看 历史
成子晗 提交于 4年前 . package init
Name: fcgi
Version: 2.4.2
Release: 1
Summary: FastCGI development kit
License: OML
URL: https://github.com/FastCGI-Archives/fcgi2
Source0: https://github.com/FastCGI-Archives/fcgi2/archive/%{version}.tar.gz
BuildRequires: gcc gcc-c++ sed coreutils libtool
%description
FastCGI is a language independent, scalable, open extension to CGI that
provides high performance without the limitations of server specific APIs.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -n fcgi2-%{version}
sed -i 's/\r//' doc/fastcgi-prog-guide/ch2c.htm
chmod a-x include/fcgios.h libfcgi/os_unix.c LICENSE.TERMS doc/fastcgi-prog-guide/*
%build
./autogen.sh
%configure
%make_build -j1
%install
%make_install
rm %{buildroot}%{_libdir}/libfcgi{++,}.{l,}a
install -p -m 0644 -D doc/cgi-fcgi.1 %{buildroot}%{_mandir}/man1/cgi-fcgi.1
for manpage in doc/*.3
do
install -p -m 0644 -D $manpage %{buildroot}%{_mandir}/man3/$(basename $manpage)
done
rm -f -- doc/*.1
rm -f -- doc/*.3
rm -rf %{buildroot}%{_libdir}/pkgconfig/fcgi++.pc
rm -rf %{buildroot}%{_libdir}/pkgconfig/fcgi.pc
%files
%{_bindir}/cgi-fcgi
%{_libdir}/libfcgi.so.*
%{_libdir}/libfcgi++.so.*
%{_mandir}/man1/*
%license LICENSE.TERMS
%doc LICENSE.TERMS
%files devel
%{_includedir}/*
%{_libdir}/libfcgi.so
%{_libdir}/libfcgi++.so
%{_mandir}/man3/*
%doc doc/
%changelog
* Sat Jan 9 2021 chengzihan <chengzihan2@huawei.com> - 2.4.0-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yemengfei1/fcgi.git
git@gitee.com:yemengfei1/fcgi.git
yemengfei1
fcgi
fcgi
master

搜索帮助