summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothée Floure <timothee.floure@fnux.ch>2018-07-14 07:41:30 +0200
committerTimothée Floure <timothee.floure@fnux.ch>2018-07-14 07:41:30 +0200
commitd3dbd56d08ef77a1885d01494f239b0fbae2795e (patch)
tree08c9058861438e0ad25eb7698f6003191c71821d
downloadrpm-erlang-cf-d3dbd56d08ef77a1885d01494f239b0fbae2795e.tar.gz
rpm-erlang-cf-d3dbd56d08ef77a1885d01494f239b0fbae2795e.tar.xz
rpm-erlang-cf-d3dbd56d08ef77a1885d01494f239b0fbae2795e.zip
Initial specfile
-rw-r--r--erlang-cf.spec39
1 files changed, 39 insertions, 0 deletions
diff --git a/erlang-cf.spec b/erlang-cf.spec
new file mode 100644
index 0000000..0a93357
--- /dev/null
+++ b/erlang-cf.spec
@@ -0,0 +1,39 @@
+%global realname cf
+%global upstream project-fifo
+
+# Technically we're noarch, but our install path is not.
+%global debug_package %{nil}
+
+Name: erlang-%{realname}
+Version: 0.2.2
+Release: 1%{?dist}
+Summary: Terminal color helper
+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
+%autosetup -n %{realname}-%{version}
+
+%build
+%{erlang_compile}
+
+%install
+%{erlang_install}
+
+%check
+%{erlang_test}
+
+%files
+%license LICENSE
+%doc README.md
+%{erlang_appdir}/
+
+%changelog
+* Sat Jul 14 2018 Timothée Floure <fnux@fedoraproject.org> - 0.2.2-1
+- Let there be package