[packages/dragonegg] - new
qboosh
qboosh at pld-linux.org
Sat Oct 11 20:50:44 CEST 2014
commit 5e1136237543daedfd7c1a20c7964befa1da81eb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 11 20:51:00 2014 +0200
- new
dragonegg.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
---
diff --git a/dragonegg.spec b/dragonegg.spec
new file mode 100644
index 0000000..a5472ca
--- /dev/null
+++ b/dragonegg.spec
@@ -0,0 +1,60 @@
+Summary: DragonEgg - using LLVM as a GCC backend
+Summary(pl.UTF-8): DragonEgg - użycie LLVM-a jako backendu GCC
+Name: dragonegg
+Version: 3.5.0
+Release: 1
+License: GPL v2+
+Group: Development/Tools
+Source0: http://llvm.org/releases/%{version}/dragonegg-%{version}.src.tar.xz
+# Source0-md5: 3689aab1f1bb79a07e19cc2ac85d91cb
+URL: http://dragonegg.llvm.org/
+# gcc plugin headers
+BuildRequires: gcc >= 6:4.5
+BuildRequires: llvm-devel >= 3.5.0
+Requires: gcc >= 6:4.5
+Requires: llvm >= 3.5.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DragonEgg is a gcc plugin that replaces GCC's optimizers and code
+generators with those from the LLVM project. It works with gcc-4.5 or
+newer, can target the x86/x86_64 and ARM processor families, and has
+been successfully used on the Darwin, FreeBSD, kFreeBSD, Linux and
+OpenBSD platforms. It fully supports Ada, C, C++ and Fortran. It has
+partial support for Go, Java, Obj-C and Obj-C++.
+
+%description -l pl.UTF-8
+DragonEgg ("smocze jajo") to wtyczka gcc zastępująca optymalizatory i
+generatory kodu GCC tymi z projektu LLVM. Działa z gcc 4.5 i nowszymi,
+potrafi generować kod na procesory x86/x86_64 oraz ARM, działa na
+platformach Darwin, FreeBSD, kFreeBSD, Linux oraz OpenBSD. Obsługuje w
+pełni języki Ada, C, C++ i Fortran, natomiast częściowo - Go, Java,
+Obj-C oraz Obj-C++.
+
+%prep
+%setup -q -n dragonegg-%{version}.src
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+CXXFLAGS="%{rpmcxxflags}" \
+CPPFLAGS="%{rpmcppflags}" \
+LDFLAGS="%{rpmldflags}" \
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/dragonegg
+
+install dragonegg.so $RPM_BUILD_ROOT%{_libdir}/dragonegg
+cp -p integrated-as.specs $RPM_BUILD_ROOT%{_libdir}/dragonegg
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%dir %{_libdir}/dragonegg
+%attr(755,root,root) %{_libdir}/dragonegg/dragonegg.so
+%{_libdir}/dragonegg/integrated-as.specs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dragonegg.git/commitdiff/5e1136237543daedfd7c1a20c7964befa1da81eb
More information about the pld-cvs-commit
mailing list