Skip to content

Instantly share code, notes, and snippets.

@ngerakines
Created January 15, 2009 17:18
Show Gist options
  • Save ngerakines/47497 to your computer and use it in GitHub Desktop.
Save ngerakines/47497 to your computer and use it in GitHub Desktop.
Summary: A native Erlang MySQL client library.
Name: erlang_mysql
Version: 1
Release: 1
Requires: erlang
Source0: http://ngerakines.github.com/erlang_mysql/sources/mysql-1.tgz
License: private
Group: dev-erlang
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
A native Erlang MySQL client library.
%prep
export ERLANG_LIB=`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $ERLANG_LIB/%{name}-%{version}/ebin/
%makeinstall
make install
%changelog
* Wed Jan 14 2009 Nick Gerakines
- Created RPM spec.
Summary: A native Erlang Protocol Buffers interface library.
Name: erlang_protobuffs
Version: 0.1
Release: 1
Requires: erlang
Source0: http://ngerakines.github.com/erlang_protobuffs/sources/erlang_protobuffs-0.1.tgz
License: private
Group: dev-erlang
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
A native Erlang Protocol Buffers interface library.
%prep
export ERLANG_LIB=`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $ERLANG_LIB/%{name}-%{version}/ebin/
%makeinstall
make install
%changelog
* Wed Jan 14 2009 Nick Gerakines
- Created RPM spec.
Summary: Etap
Name: etap
Version: 0.3.2
Release: 1
Requires: erlang
Source0: http://ngerakines.github.com/etap/sources/etap-0.3.2.tgz
License: private
Group: dev-erlang
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
Etap rocks
%prep
export ERLANG_LIB=`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $ERLANG_LIB/%{name}-%{version}/ebin/
%makeinstall
make install
%changelog
* Wed Jan 14 2009 Nick Gerakines
- Created RPM spec.
Summary: The MochiWeb Erlang web server
Name: mochiweb
Version: 1
Release: 1
Requires: erlang
Source0: http://ngerakines.github.com/mochiweb/sources/mochiweb-1.tgz
License: private
Group: dev-erlang
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
The MochiWeb Erlang web server
%prep
export ERLANG_LIB=`erl -eval 'io:format("~s~n", [code:lib_dir()])' -s init stop -noshell`
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $ERLANG_LIB/%{name}-%{version}/ebin/
%makeinstall
make install
%changelog
* Wed Jan 14 2009 Nick Gerakines
- Created RPM spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment