Created
May 16, 2014 18:52
-
-
Save adamrights/71cf13411d4b2d710cda to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#source: http://blog.leog.in/index.php/build-rpm-without-breaking-head/ | |
Name: Tengine | |
Version: 1.5.1 | |
Release: 1%{?dist} | |
Summary: Tengine web server forked out of Nginx | |
Group: Applications/Internet | |
License: open BSD license | |
URL: http://tengine.taobao.org/download.html | |
Source0: tengine-1.5.1.tar.gz | |
#BuildRequires: | |
#Requires: | |
%description | |
Tengine by taboa which enables dso support for nginx | |
%prep | |
%setup -n tengine-1.5.1 | |
%build | |
%_configure | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make install DESTDIR=$RPM_BUILD_ROOT | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root,-) | |
%doc LICENSE | |
%doc README | |
%config(noreplace) /usr/local/nginx/conf/* | |
/usr/local/nginx/html/ | |
/usr/local/nginx/sbin/nginx | |
/usr/local/nginx/sbin/dso_tool | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment