Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:licehunter:staging
erlang-lager-1_0_0
erlang-lager-1_0_0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-lager-1_0_0.spec of Package erlang-lager-1_0_0
# # spec file for package erlang-lager-1_0_0 # # 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/ # Name: erlang-lager-1_0_0 Version: 1.0.0+git.1329697377.09ecad6 %define mod_ver %(echo "%{version}" | cut -d "+" -f1) Release: 0 Summary: A logging framework for Erlang/OTP License: Apache-2.0 Group: Development/Libraries/Other Url: http://tonyg.github.com/erlang-lager/ Source: lager-%{version}.tar.gz BuildRequires: erlang-rebar Requires: erlang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Lager (as in the beer) is a logging framework for Erlang. Its purpose is to provide a more traditional way to perform logging in an erlang application that plays nicely with traditional UNIX logging tools like logrotate and syslog. %package devel Summary: A logging framework for Erlang/OTP Group: Development/Libraries/Other Requires: %{name} = %{version} Provides: %{name}-src = %{version} #TODO(saschpe): Change back to '<' after next version update: Obsoletes: %{name}-src <= %{version} %description devel Lager (as in the beer) is a logging framework for Erlang. Its purpose is to provide a more traditional way to perform logging in an erlang application that plays nicely with traditional UNIX logging tools like logrotate and syslog. This package contains the sources for %{name}. %prep %setup -n lager-%{version} %build %rebar compile %install for dir in include ebin src ; do install -d %{buildroot}%{erlang_libdir}/lager-%{mod_ver}/${dir} cp -r ${dir}/* %{buildroot}%{erlang_libdir}/lager-%{mod_ver}/${dir}/ done %check %rebar ct %files %defattr(-,root,root) %doc README.org LICENSE %dir %{erlang_libdir}/lager-%{mod_ver} %{erlang_libdir}/lager-%{mod_ver}/ebin %files devel %defattr(-,root,root) %{erlang_libdir}/lager-%{mod_ver}/include %{erlang_libdir}/lager-%{mod_ver}/src
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