Skip to content

Commit e83035a

Browse files
author
LeoG
committed
spec
1 parent e4f5976 commit e83035a

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

tengine.spec

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Name: Tengine
2+
Version: 1.5.1
3+
Release: 1%{?dist}
4+
Summary: Tengine web server forked out of Nginx
5+
6+
Group: Applications/Internet
7+
License: open BSD license
8+
URL: http://tengine.taobao.org/download.html
9+
Source0: tengine-1.5.1.tar.gz
10+
11+
#BuildRequires:
12+
#Requires:
13+
14+
%description
15+
Tengine by taboa which enables dso support for nginx
16+
17+
18+
%prep
19+
%setup -n tengine-1.5.1
20+
21+
22+
%build
23+
%_configure
24+
make %{?_smp_mflags}
25+
26+
27+
%install
28+
rm -rf $RPM_BUILD_ROOT
29+
make install DESTDIR=$RPM_BUILD_ROOT
30+
31+
32+
%clean
33+
rm -rf $RPM_BUILD_ROOT
34+
35+
36+
%files
37+
%defattr(-,root,root,-)
38+
%doc LICENSE
39+
%doc README
40+
41+
%config(noreplace) /usr/local/nginx/conf/*
42+
/usr/local/nginx/html/
43+
/usr/local/nginx/sbin/nginx
44+
/usr/local/nginx/sbin/dso_tool
45+
46+
%changelog

0 commit comments

Comments
 (0)