From 900514eef22e6d4b63142ce7bb29e9ff24b5944c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 5 May 2020 17:13:30 +0200 Subject: [PATCH] Initial import (#1819148) --- .gitignore | 4 ++++ act.spec | 40 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 act.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..981cc64 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/AutomaticComponentToolkit-*.tar.gz +/AutomaticComponentToolkit-*/ +/results_*/ +*.rpm diff --git a/act.spec b/act.spec new file mode 100644 index 0000000..914f904 --- /dev/null +++ b/act.spec @@ -0,0 +1,40 @@ +Name: act +%global lname AutomaticComponentToolkit +%global goipath github.com/Autodesk/%{lname} +Version: 1.6.0 +Release: 1%{?dist} +Summary: Automatic Component Toolkit +License: BSD + +%{?gometa} +%{?!gometa:BuildRequires: /usr/bin/go} + +URL: https://%{goipath} +Source0: %{url}/archive/v%{version}/%{lname}-%{version}.tar.gz + +%description +The Automatic Component Toolkit (ACT) is a code generator that takes an +instance of an Interface Description Language file and generates a thin +C89-API, implementation stubs and language bindings of your desired software +component. + +%prep +%autosetup -n %{lname}-%{version} + +%build +%{?!gobuild:%global gobuild go build -ldflags "-B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x} +%gobuild -o act Source/*.go + +%install +mkdir -p %{buildroot}%{_bindir} +install -m 0755 -vp act %{buildroot}%{_bindir}/ + + +%files +%doc README.md +%license LICENSE.md +%{_bindir}/act + +%changelog +* Tue Mar 31 2020 Miro HronĨok - 1.6.0-1 +- Initial package (#1819148) diff --git a/sources b/sources new file mode 100644 index 0000000..30d1c28 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (AutomaticComponentToolkit-1.6.0.tar.gz) = 1a99b628eea87151e6efdafecc80aa590e679925d8e3c03251888b72bce3026de8149ad6111605bcae52ea5006a4ecfe97b4eb4e860d545c2b536475a67282e6