]> git.pld-linux.org Git - packages/dragonegg.git/blame - dragonegg.spec
- up to 3.6.2; not ready for either gcc 4.9 nor llvm 3.7
[packages/dragonegg.git] / dragonegg.spec
CommitLineData
5e113623
JB
1Summary: DragonEgg - using LLVM as a GCC backend
2Summary(pl.UTF-8): DragonEgg - użycie LLVM-a jako backendu GCC
3Name: dragonegg
eab00321 4Version: 3.6.2
6b211255 5Release: 0.1
5e113623
JB
6License: GPL v2+
7Group: Development/Tools
6b211255 8#Source0Download: http://llvm.org/releases/download.html
5e113623 9Source0: http://llvm.org/releases/%{version}/dragonegg-%{version}.src.tar.xz
eab00321 10# Source0-md5: eda9a683f95e725b8e9a82d32f4a9d09
5e113623
JB
11URL: http://dragonegg.llvm.org/
12# gcc plugin headers
13BuildRequires: gcc >= 6:4.5
1b9c0844
JB
14BuildRequires: gcc < 6:4.9
15BuildRequires: llvm-devel >= 3.5.1
eab00321 16BuildRequires: llvm-devel < 3.7.0
5e113623 17Requires: gcc >= 6:4.5
1b9c0844 18Requires: llvm >= 3.5.1
5e113623
JB
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22DragonEgg is a gcc plugin that replaces GCC's optimizers and code
23generators with those from the LLVM project. It works with gcc-4.5 or
24newer, can target the x86/x86_64 and ARM processor families, and has
25been successfully used on the Darwin, FreeBSD, kFreeBSD, Linux and
26OpenBSD platforms. It fully supports Ada, C, C++ and Fortran. It has
27partial support for Go, Java, Obj-C and Obj-C++.
28
29%description -l pl.UTF-8
30DragonEgg ("smocze jajo") to wtyczka gcc zastępująca optymalizatory i
31generatory kodu GCC tymi z projektu LLVM. Działa z gcc 4.5 i nowszymi,
32potrafi generować kod na procesory x86/x86_64 oraz ARM, działa na
33platformach Darwin, FreeBSD, kFreeBSD, Linux oraz OpenBSD. Obsługuje w
34pełni języki Ada, C, C++ i Fortran, natomiast częściowo - Go, Java,
35Obj-C oraz Obj-C++.
36
37%prep
38%setup -q -n dragonegg-%{version}.src
39
40%build
41CC="%{__cc}" \
42CFLAGS="%{rpmcflags}" \
43CXXFLAGS="%{rpmcxxflags}" \
44CPPFLAGS="%{rpmcppflags}" \
45LDFLAGS="%{rpmldflags}" \
46%{__make}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50install -d $RPM_BUILD_ROOT%{_libdir}/dragonegg
51
52install dragonegg.so $RPM_BUILD_ROOT%{_libdir}/dragonegg
53cp -p integrated-as.specs $RPM_BUILD_ROOT%{_libdir}/dragonegg
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc README TODO
61%dir %{_libdir}/dragonegg
62%attr(755,root,root) %{_libdir}/dragonegg/dragonegg.so
63%{_libdir}/dragonegg/integrated-as.specs
This page took 0.079978 seconds and 5 git commands to generate.