File openresty.spec of Package openresty

Name:           openresty
Version:        1.21.4.1
Release:        3
Summary:        OpenResty, scalable web platform by extending NGINX with Lua

Group:          System Environment/Daemons

# BSD License (two clause)
# http://www.freebsd.org/copyright/freebsd-license.html
License:        BSD
URL:            https://openresty.org/

Source0:        https://openresty.org/download/openresty-%{version}.tar.gz



BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl-File-Temp
BuildRequires:   gcc, make, perl,pcre-devel,openssl-devel,zlib-devel

%description
openresty

%prep
%setup -q -n "openresty-%{version}"


%build
./configure 


make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install -f 'Makefile-build' DESTDIR=%{buildroot}











%files
%defattr(-,root,root,-)


%changelog
* Thu Aug 03 2023 Jingwiw  <wangjingwei@iscas.ac.cn> - 1.21.4.1-3
- add riscv64 support

* Sat Jul 29 2023 Xinwei Hu <shinwell_hu@openeuler.sh> - 1.21.4.1-2
- Fix macro typo in spec file

* Wed Jul 12 2023 Niu zhengjie <niuzj0@gmail.com> 1.21.4.1-1
- upgrade to 1.21.4.1

* Mon Dec 13 2021 liweigang <liweiganga@uniontech.com> 1.19.3.1-2
- delete %dist

* Fri Jul 23 2021 Fu Changjie <fu_changjie@qq.com> 1.19.3.1-1
- Package init with openresty 1.19.3.1, without asan package
openSUSE Build Service is sponsored by