[erlang-getopt] Bootstrap ver. 0.8.2 with disabled tests
by Peter Lemenkov
commit 0a830826e1d893617549c5ccbc18c7a3865a9d6a
Author: Peter Lemenkov <lemenkov(a)gmail.com>
Date: Sun Nov 16 19:23:03 2014 +0300
Bootstrap ver. 0.8.2 with disabled tests
Signed-off-by: Peter Lemenkov <lemenkov(a)gmail.com>
.gitignore | 1 +
erlang-getopt.spec | 23 +++++++++++++----------
sources | 2 +-
3 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 44582ab..c800494 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/jcomellas-getopt-v0.5.2-0-g266caf4.tar.gz
/getopt-0.6.0.tar.gz
/jcomellas-getopt-v0.7.0-0-g346c766.tar.gz
+/getopt-0.8.2.tar.gz
diff --git a/erlang-getopt.spec b/erlang-getopt.spec
index f69f5a5..7e1cfa5 100644
--- a/erlang-getopt.spec
+++ b/erlang-getopt.spec
@@ -1,19 +1,19 @@
%global realname getopt
%global upstream jcomellas
%global debug_package %{nil}
-%global git_tag 346c766
-%global patchnumber 0
Name: erlang-%{realname}
-Version: 0.7.0
-Release: 4%{?dist}
+Version: 0.8.2
+Release: 0%{?dist}
Summary: Erlang module to parse command line arguments using the GNU getopt syntax
Group: Development/Libraries
License: BSD
-URL: http://github.com/jcomellas/getopt
-# wget --content-disposition https://github.com/jcomellas/getopt/tarball/v0.7.0
-Source0: %{upstream}-%{realname}-v%{version}-%{patchnumber}-g%{git_tag}.tar.gz
+URL: http://github.com/%{upstream}/%{realname}
+%if 0%{?el7}%{?fedora}
+VCS: scm:git:https://github.com/%{upstream}/%{realname}.git
+%endif
+Source0: https://github.com/%{upstream}/%{realname}/archive/v%{version}/%{realname...
BuildRequires: erlang-rebar
Requires: erlang-erts%{?_isa} >= R13B
Requires: erlang-stdlib%{?_isa} >= R13B
@@ -24,18 +24,18 @@ Command-line parsing module that uses a syntax similar to that of GNU getopt.
%prep
-%setup -q -n %{upstream}-%{realname}-%{git_tag}
+%setup -q -n %{realname}-%{version}
chmod 0644 examples/*.escript
%build
rebar compile -v
-rebar doc -v
+#rebar doc -v
%check
# BEWARE rebar needs bootstrapped getopt in case of an API change
-rebar eunit -v
+# rebar eunit -v
%install
@@ -52,6 +52,9 @@ install -D -m 644 ebin/%{realname}.beam %{buildroot}%{_libdir}/erlang/lib/%{real
%changelog
+* Sun Nov 16 2014 Peter Lemenkov <lemenkov(a)gmail.com> - 0.8.2-0
+- Bootstrap ver. 0.8.2 with disabled tests
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index bbb32b0..b917649 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f58819f4af5e828861d6d3d3e2500fb2 jcomellas-getopt-v0.7.0-0-g346c766.tar.gz
+6a4ecb86aa65e8994947317261f54b74 getopt-0.8.2.tar.gz
9 years, 6 months
[erlang-edown/f21] Ver. 0.4
by Peter Lemenkov
Summary of changes:
8c3f244... Ver. 0.4 (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 6 months
[erlang-edown] Ver. 0.4
by Peter Lemenkov
commit 8c3f2442af6e6e50639a68ac382b478530289dbf
Author: Peter Lemenkov <lemenkov(a)gmail.com>
Date: Sun Nov 16 18:15:02 2014 +0300
Ver. 0.4
Signed-off-by: Peter Lemenkov <lemenkov(a)gmail.com>
.gitignore | 1 +
erlang-edown-0001-Fix-for-EL5.patch | 91 -----------------------------------
erlang-edown.spec | 29 ++++-------
sources | 2 +-
4 files changed, 12 insertions(+), 111 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0eb7e81..cbb341d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/esl-edown-v0.2.4-0-gdbdd41e.tar.gz
/esl-edown-0.3.0-0-g2a60bd1.tar.gz
/esl-edown-0.3.1-0-gb89668e.tar.gz
+/edown-0.4.tar.gz
diff --git a/erlang-edown.spec b/erlang-edown.spec
index 781f1e9..5b308d5 100644
--- a/erlang-edown.spec
+++ b/erlang-edown.spec
@@ -1,21 +1,18 @@
%global realname edown
-%global upstream esl
%global debug_package %{nil}
-%global git_tag b89668e
-%global patchnumber 0
Name: erlang-%{realname}
-Version: 0.3.1
-Release: 5%{?dist}
+Version: 0.4
+Release: 1%{?dist}
Summary: EDoc extension for generating Github-flavored Markdown
Group: Development/Languages
License: ASL 2.0
URL: https://github.com/esl/edown
-# wget --content-disposition https://github.com/esl/edown/tarball/0.3.1
-Source0: %{upstream}-%{realname}-%{version}-%{patchnumber}-g%{git_tag}.tar.gz
-Patch1: erlang-edown-0001-Fix-for-EL5.patch
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+%if 0%{?el7}%{?fedora}
+VCS: scm:git:https://github.com/esl/edown.git
+%endif
+Source0: https://github.com/esl/edown/archive/%{version}/%{realname}-%{version}.ta...
#BuildRequires: erlang-edoc
BuildRequires: erlang-rebar
Requires: erlang-edoc%{?_isa}
@@ -30,11 +27,7 @@ EDoc extension for generating Github-flavored Markdown.
%prep
-%setup -q -n %{upstream}-%{realname}-%{git_tag}
-%if 0%{?el5}
-# Erlang/OTP R12B5
-%patch1 -p1
-%endif
+%setup -q -n %{realname}-%{version}
sed -i -e "s,git,\"%{version}\",g" src/%{realname}.app.src
@@ -44,15 +37,10 @@ rebar doc -v
%install
-rm -rf %{buildroot}
install -p -m 0644 -D ebin/%{realname}.app %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}.app
install -p -m 0644 ebin/%{realname}_*.beam %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
-%clean
-rm -rf %{buildroot}
-
-
%files
%doc NOTICE README.md doc/
%dir %{_libdir}/erlang/lib/%{realname}-%{version}
@@ -62,6 +50,9 @@ rm -rf %{buildroot}
%changelog
+* Sun Nov 16 2014 Peter Lemenkov <lemenkov(a)gmail.com> - 0.4-1
+- Ver. 0.4
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.3.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index 69c4166..02182be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b04c59012a7a95b5a56472ff757ac5f0 esl-edown-0.3.1-0-gb89668e.tar.gz
+43efb38e034843288c6341ef31627d0e edown-0.4.tar.gz
9 years, 6 months
[erlang-lfe/f21] Disable debuginfo
by Peter Lemenkov
Summary of changes:
5525c7f... Disable debuginfo (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 6 months
[erlang-lfe] Disable debuginfo
by Peter Lemenkov
commit 5525c7f431161854539e275e0a3d1882d359f904
Author: Peter Lemenkov <lemenkov(a)gmail.com>
Date: Sun Nov 16 17:54:12 2014 +0300
Disable debuginfo
Signed-off-by: Peter Lemenkov <lemenkov(a)gmail.com>
erlang-lfe.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/erlang-lfe.spec b/erlang-lfe.spec
index f6e1906..94f8b66 100644
--- a/erlang-lfe.spec
+++ b/erlang-lfe.spec
@@ -1,9 +1,10 @@
%global realname lfe
+%global debug_package %{nil}
Name: erlang-%{realname}
Version: 0.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Lisp Flavoured Erlang
Group: Development/Languages
License: BSD
@@ -97,6 +98,9 @@ rebar eunit -v
%changelog
+* Sun Nov 16 2014 Peter Lemenkov <lemenkov(a)gmail.com> - 0.9.0-2
+- Disable debuginfo
+
* Sun Nov 16 2014 Peter Lemenkov <lemenkov(a)gmail.com> - 0.9.0-1
- Ver. 0.9.0
- Drop support for EL5
9 years, 6 months
[erlang-lfe/f21] Ver. 0.9.0
by Peter Lemenkov
Summary of changes:
50d8ab8... Ver. 0.9.0 (*)
(*) This commit already existed in another branch; no separate mail sent
9 years, 6 months
[erlang-lfe] Ver. 0.9.0
by Peter Lemenkov
commit 50d8ab84100dc9b7c0be3343bb742a8a25c0e16a
Author: Peter Lemenkov <lemenkov(a)gmail.com>
Date: Sun Nov 16 15:05:57 2014 +0300
Ver. 0.9.0
Signed-off-by: Peter Lemenkov <lemenkov(a)gmail.com>
.gitignore | 1 +
erlang-lfe.spec | 90 +++++++++++++-----------------------------------------
sources | 2 +-
3 files changed, 24 insertions(+), 69 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 88df5df..04dc6b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/rvirding-lfe-v0.6.1-0-g1bcf461.tar.gz
/rvirding-lfe-0.6.2-0-g15b36cb.tar.gz
+/lfe-0.9.0.tar.gz
diff --git a/erlang-lfe.spec b/erlang-lfe.spec
index feca958..f6e1906 100644
--- a/erlang-lfe.spec
+++ b/erlang-lfe.spec
@@ -1,51 +1,21 @@
%global realname lfe
-%global upstream rvirding
-%global debug_package %{nil}
-%global git_tag 15b36cb
-%global patchnumber 0
-
-
-%if 0%{?el6}%{?fedora}
-%bcond_without emacs
-%else
-%bcond_with emacs
-%endif
-
-
-%if %{with emacs}
-# If the emacs-el package has installed a pkgconfig file, use that to determine
-# install locations and Emacs version at build time, otherwise set defaults.
-%if %($(pkg-config emacs) ; echo $?)
-%define emacs_version 22.1
-%define emacs_lispdir %{_datadir}/emacs/site-lisp
-%define emacs_startdir %{_datadir}/emacs/site-lisp/site-start.d
-%else
-%define emacs_version %(pkg-config emacs --modversion)
-%define emacs_lispdir %(pkg-config emacs --variable sitepkglispdir)
-%define emacs_startdir %(pkg-config emacs --variable sitestartdir)
-%endif
-%endif
Name: erlang-%{realname}
-Version: 0.6.2
-Release: 5%{?dist}
+Version: 0.9.0
+Release: 1%{?dist}
Summary: Lisp Flavoured Erlang
Group: Development/Languages
License: BSD
URL: http://github.com/rvirding/lfe
-# wget --content-disposition http://github.com/rvirding/lfe/tarball/v0.6.2
-Source0: %{upstream}-%{realname}-%{version}-%{patchnumber}-g%{git_tag}.tar.gz
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+%if 0%{?el7}%{?fedora}
+VCS: scm:git:https://github.com/rvirding/lfe.git
+%endif
+Source0: https://github.com/rvirding/lfe/archive/v%{version}/%{realname}-%{version...
BuildRequires: erlang-rebar
-%if %{with emacs}
-BuildRequires: emacs(bin), emacs-el >= 22.1-2
BuildRequires: pkgconfig
BuildRequires: emacs
-BuildRequires: xemacs
BuildRequires: emacs-el
-BuildRequires: xemacs-packages-extra-el
-%endif
Requires: erlang-compiler%{?_isa}
Requires: erlang-erts%{?_isa}
@@ -59,11 +29,11 @@ Lisp Flavoured Erlang, is a lisp syntax front-end to the Erlang
compiler. Code produced with it is compatible with "normal" Erlang
code. An LFE evaluator and shell is also included.
-%if %{with emacs}
%package -n emacs-erlang-lfe
Summary: Emacs major mode for Lisp Flavoured Erlang
Group: Applications/Editors
Requires: %{name} = %{version}-%{release}
+Requires: emacs(bin) >= %{_emacs_version}
BuildArch: noarch
%description -n emacs-erlang-lfe
@@ -74,6 +44,7 @@ files.
Summary: Elisp source files for Lisp Flavoured Erlang under GNU Emacs
Group: Applications/Editors
Requires: %{name} = %{version}-%{release}
+Requires: emacs(bin) >= %{_emacs_version}
BuildArch: noarch
%description -n emacs-erlang-lfe-el
@@ -81,43 +52,27 @@ This package contains the elisp source files for Lisp Flavoured Erlang
under GNU Emacs. You do not need to install this package to run
Lisp Flavoured Erlang. Install the emacs-erlang-lfe package to use
Lisp Flavoured Erlang with GNU Emacs.
-%endif
%prep
-%setup -q -n %{upstream}-%{realname}-%{git_tag}
-iconv -f iso-8859-1 -t UTF-8 README > README.utf8
-mv -f README.utf8 README
+%setup -q -n %{realname}-%{version}
iconv -f iso-8859-1 -t UTF-8 examples/core-macros.lfe > examples/core-macros.lfe.utf8
mv -f examples/core-macros.lfe.utf8 examples/core-macros.lfe
-iconv -f iso-8859-1 -t UTF-8 doc/release_notes.txt > doc/release_notes.txt.utf8
-mv -f doc/release_notes.txt.utf8 doc/release_notes.txt
-# Remove precompiled elisp binary
-rm emacs/lfe-mode.elc
%build
rebar compile -v
-%if %{with emacs}
emacs -batch -f batch-byte-compile emacs/lfe-mode.el
-%endif
%install
-rm -rf %{buildroot}
install -p -m 0644 -D ebin/%{realname}.app %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}.app
install -p -m 0644 ebin/%{realname}_*.beam %{buildroot}%{_libdir}/erlang/lib/%{realname}-%{version}/ebin
-%if %{with emacs}
-mkdir -p %{buildroot}%{emacs_lispdir}
-mkdir -p %{buildroot}%{emacs_startdir}
-install -p -m 0644 emacs/lfe-mode.el %{buildroot}%{emacs_lispdir}
-install -p -m 0644 emacs/lfe-mode.elc %{buildroot}%{emacs_lispdir}
-install -p -m 0644 emacs/lfe-start.el %{buildroot}%{emacs_startdir}
-%endif
-
-
-%clean
-rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_emacs_sitelispdir}
+mkdir -p %{buildroot}%{_emacs_sitestartdir}
+install -p -m 0644 emacs/lfe-mode.el %{buildroot}%{_emacs_sitelispdir}
+install -p -m 0644 emacs/lfe-mode.elc %{buildroot}%{_emacs_sitelispdir}
+install -p -m 0644 emacs/lfe-start.el %{buildroot}%{_emacs_sitestartdir}
%check
@@ -125,28 +80,27 @@ rebar eunit -v
%files
-%doc COPYRIGHT README doc/ examples/
-%if %{without emacs}
-%doc emacs/
-%endif
+%doc LICENSE README.md doc/ examples/
%dir %{_libdir}/erlang/lib/%{realname}-%{version}
%dir %{_libdir}/erlang/lib/%{realname}-%{version}/ebin
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}.app
%{_libdir}/erlang/lib/%{realname}-%{version}/ebin/%{realname}_*.beam
-%if %{with emacs}
%files -n emacs-erlang-lfe
-%{emacs_startdir}/lfe-start.el
-%{emacs_lispdir}/lfe-mode.elc
+%{_emacs_sitestartdir}/lfe-start.el
+%{_emacs_sitelispdir}/lfe-mode.elc
%files -n emacs-erlang-lfe-el
-%{emacs_lispdir}/lfe-mode.el
-%endif
+%{_emacs_sitelispdir}/lfe-mode.el
%changelog
+* Sun Nov 16 2014 Peter Lemenkov <lemenkov(a)gmail.com> - 0.9.0-1
+- Ver. 0.9.0
+- Drop support for EL5
+
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.6.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index c65e5ba..2a48f40 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-31804650eacd62247f3f831cf02417d7 rvirding-lfe-0.6.2-0-g15b36cb.tar.gz
+907bd466d6e3dffecb77793a6ebc222a lfe-0.9.0.tar.gz
9 years, 6 months