Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:erlang
erlang-plain_fsm
erlang-plain_fsm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-plain_fsm.spec of Package erlang-plain_fsm
# # spec file for package erlang-plain_fsm # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define pkg_version 0.0.0 %define git_version 20130625 Name: erlang-plain_fsm Version: %{pkg_version}+git%{git_version} Release: 1 Summary: A behaviour/support library for writing plain Erlang FSMs License: Apache-2.0 Group: Development/Libraries/Other URL: https://github.com/gburd/plain_fsm BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: plain_fsm-%{version}.tar.bz2 Patch1: no-rebar-deps.patch Requires: erlang >= R13B01 BuildRequires: erlang-edown Requires: erlang-edown BuildRequires: erlang-rebar %description This module implements an OTP behaviour for writing plain Erlang FSMs, alleviating a long-standing gripe of mine that the OTP behaviours, for all their power, force programmers into a coding style that is very much different from that taught in the Basic Erlang Course (or the book, or online tutorials, ...) -- the type of programming that made us want to use Erlang in the first place. %package src Summary: A behaviour/support library for writing plain Erlang FSMs Group: Development/Libraries/Other Requires: %{name} = %{version} %description src This module implements an OTP behaviour for writing plain Erlang FSMs, alleviating a long-standing gripe of mine that the OTP behaviours, for all their power, force programmers into a coding style that is very much different from that taught in the Basic Erlang Course (or the book, or online tutorials, ...) -- the type of programming that made us want to use Erlang in the first place. %prep %setup -q -n plain_fsm %patch1 -p1 %build %__make %install for dir in ebin include src ; do install -d %{buildroot}%{erlang_libdir}/plain_fsm-%{version}/${dir} cp -r ${dir}/* %{buildroot}%{erlang_libdir}/plain_fsm-%{version}/${dir}/ done %check %__make test %files %defattr(-,root,root) %doc README.md LICENSE NOTICE %dir %{erlang_libdir}/plain_fsm-%{version} %{erlang_libdir}/plain_fsm-%{version}/ebin %{erlang_libdir}/plain_fsm-%{version}/include %files src %defattr(-,root,root) %{erlang_libdir}/plain_fsm-%{version}/src %changelog
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