summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothée Floure <timothee.floure@fnux.ch>2018-07-15 10:47:38 +0200
committerTimothée Floure <timothee.floure@fnux.ch>2018-07-15 10:47:38 +0200
commit32ce4775029845ae341aa3579719f2d2711119cb (patch)
tree1723b6712642353b0398603d6b3317e346bbe7ac
downloadrpm-erlang-providers-master.tar.gz
rpm-erlang-providers-master.tar.xz
rpm-erlang-providers-master.zip
Initial specfileHEADmaster
-rw-r--r--erlang-providers.spec39
1 files changed, 39 insertions, 0 deletions
diff --git a/erlang-providers.spec b/erlang-providers.spec
new file mode 100644
index 0000000..1184320
--- /dev/null
+++ b/erlang-providers.spec
@@ -0,0 +1,39 @@
+%global realname providers
+%global upstream tsloughter
+
+# Technically we're noarch, but our install path is not.
+%global debug_package %{nil}
+
+Name: erlang-%{realname}
+Version: 1.7.0
+Release: 1%{?dist}
+Summary: An Erlang providers library
+License: LGPLv2
+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
+%autosetup -n %{realname}-%{version}
+
+%build
+%{erlang_compile}
+
+%install
+%{erlang_install}
+
+%check
+%{erlang_test}
+
+%files
+%license LICENSE
+%doc README.md
+%{erlang_appdir}/
+
+%changelog
+* Sun Jul 15 2018 Timothée Floure <fnux@fedoraproject.org> - 1.7.0-1
+- Let there be package