Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:21
cowboy
cowboy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cowboy.spec of Package cowboy
%def_with doc %define bname cowboy Name: %bname Version: 1.1.2 Release: 1 Summary: Small, fast and modular HTTP server written in Erlang License: ISC Group: Development/Tools/Other URL: https://github.com/extend/%bname Source: %bname-%version.tar.xz BuildArch: noarch Provides: erlang-%bname = %version-%release BuildRequires: rpm-macros-erlang rpm-build-erlang >= 0.9.9 BuildRequires: erlang erlang-otp-base-devel BuildRequires: erlang-cowlib >= 1.0.2 BuildRequires: fdupes %if_with doc # docs BuildRequires: erlang-edoc erlang-ezdoc %endif %description Cowboy is a small, fast and modular HTTP server written in Erlang. Cowboy aims to provide a complete HTTP stack in a small code base. It is optimized for low latency and low memory usage, in part because it uses binary strings. Cowboy provides routing capabilities, selectively dispatching requests to handlers written in Erlang. Because it uses Ranch for managing connections, Cowboy can easily be embedded in any other application. No process dictionary. Clean Erlang code. %package doc Summary: Documentation of %bname Group: Documentation Provides: erlang-%bname-doc = %version-%release Conflicts: %name < 1.1.2 %description doc Documentation of %bname. %prep %setup -q -n %bname-%version sed -i '/^docs:/s/ build-doc-deps//' Makefile sed -i 's/\r$//' examples/websocket/priv/static/jquery.min.js %build make %{?_smp_mflags} \ DEPS= ERL_COMPILER_OPTIONS="[inline,verbose]" \ %{?_with_doc:EDOC_OPTS="{preprocess, true}" docs} \ V=1 all %install install -d -m 0755 %buildroot%_otplibdir/%bname-%version/ebin install -p -m 0644 ebin/* %buildroot%_otplibdir/%bname-%version/ebin/ install -d -m 0755 %buildroot%_docdir/%name install -p -m 0644 AUTHORS *.md %buildroot%_docdir/%name/ cp -a examples %buildroot%_docdir/%name/ %if_with doc install -d -m 0755 %buildroot%_docdir/%name/guide %buildroot%_docdir/%name/manual install -p -m 0644 doc/markdown/guide/* %buildroot%_docdir/%name/guide/ install -p -m 0644 doc/markdown/manual/* %buildroot%_docdir/%name/manual/ install -d -m 0755 %buildroot%_mandir/man3 %buildroot%_mandir/man7 install -p -m 0644 doc/man3/* %buildroot%_mandir/man3/ install -p -m 0644 doc/man7/* %buildroot%_mandir/man7/ %endif %fdupes %buildroot%_docdir/%name/examples %files %defattr(-,root,root) %_otplibdir/* %files doc %defattr(-,root,root) %doc %_docdir/%name %if_with doc %_mandir/man3/* %_mandir/man7/* %endif %changelog * Thu Oct 12 2017 Led <ledest@gmail.com> 1.1.2-1 - 1.1.2 - remove patches: + cowboy-1.0.3-integer_to_binary.patch - fix License - add doc subpackage * Fri Aug 25 2017 Led <ledest@gmail.com> 1.0.4-4 - remove slim option * Sun May 21 2017 Led <ledest@gmail.com> 1.0.4-3 - revert BuildRequires * Sat May 20 2017 Led <ledest@gmail.com> 1.0.4-2 - update BuildRequires * Sun Nov 29 2015 Led <ledest@gmail.com> 1.0.4-1 - 1.0.4 * Sun Sep 27 2015 Led <ledest@gmail.com> 1.0.3-2 - fix build on Erlang R15 - add patches: + cowboy-1.0.3-integer_to_binary.patch * Sun Aug 09 2015 Led <ledest@gmail.com> 1.0.3-1 - 1.0.3 * Sat Jul 04 2015 Led <ledest@gmail.com> 1.0.2-2 - fix BuildRequires * Sat Jul 04 2015 Led <ledest@gmail.com> 1.0.2-1 - 1.0.2 * Mon Apr 13 2015 Led <ledest@gmail.com> 1.0.1-4 - update BuildRequires * Sun Apr 12 2015 Led <ledest@gmail.com> 1.0.1-3 - clean up BuildRequires * Wed Apr 01 2015 Led <ledest@gmail.com> 1.0.1-2 - build docs * Wed Apr 01 2015 Led <ledest@gmail.com> 1.0.1-1 - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor