summaryrefslogtreecommitdiffstats
path: root/erlang-erlware_commons.spec
diff options
context:
space:
mode:
authorTimothée Floure <timothee.floure@fnux.ch>2018-07-15 10:56:57 +0200
committerTimothée Floure <timothee.floure@fnux.ch>2018-07-15 10:56:57 +0200
commit4c7fae9220c534a1920b888f6887861c92d80287 (patch)
tree4648d0b32d060ae892d906866f2322d33617ed97 /erlang-erlware_commons.spec
downloadrpm-erlang-erlware_commons-4c7fae9220c534a1920b888f6887861c92d80287.tar.gz
rpm-erlang-erlware_commons-4c7fae9220c534a1920b888f6887861c92d80287.tar.xz
rpm-erlang-erlware_commons-4c7fae9220c534a1920b888f6887861c92d80287.zip
Initial specfile
Diffstat (limited to 'erlang-erlware_commons.spec')
-rw-r--r--erlang-erlware_commons.spec40
1 files changed, 40 insertions, 0 deletions
diff --git a/erlang-erlware_commons.spec b/erlang-erlware_commons.spec
new file mode 100644
index 0000000..9333678
--- /dev/null
+++ b/erlang-erlware_commons.spec
@@ -0,0 +1,40 @@
+%global realname erlware_commons
+%global upstream erlware
+
+# Technically we're noarch, but our install path is not. For non-NIF
+%global debug_package %{nil}
+
+Name: erlang-%{realname}
+Version: 1.2.0
+Release: 1%{?dist}
+Summary: Extension to Erlang's standard library
+License: MIT
+URL: https://github.com/%{upstream}/%{realname}
+Source0: https://github.com/%{upstream}/%{realname}/archive/%{version}/%{realname}-%{version}.tar.gz
+BuildRequires: erlang-rebar
+Requires: erlang-rebar
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+%build
+%{erlang_compile}
+
+%install
+%{erlang_install}
+cp -arv priv/ %{buildroot}%{erlang_appdir}/
+
+%check
+%{erlang_test}
+
+%files
+%license COPYING
+%doc doc/ README.md
+%{erlang_appdir}/
+
+%changelog
+* Sat Jul 14 2018 Timothée Floure <fnux@fedoraproject.org> - 1.2.0-1
+- Let there be package