llvm.org GIT mirror llvm / 9f4b90d
RPM spec file for LLVM tools and libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11254 91177308-0d34-0410-b5e6-96231b3b80d8 Brian Gaeke 15 years ago
2 changed file(s) with 112 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Summary: Static and JIT research compiler infrastructure
1 Name: llvm
2 Version: 1.2
3 Release: 0
4 License: U of Illinois/NCSA Open Source License
5 Group: Development/Languages
6 Source0: llvm.tar.gz
7 URL: http://llvm.cs.uiuc.edu/releases/index.html
8 #BuildRequires: llvm-gcc
9 # (someday...)
10 BuildRoot: %{_tmppath}/%{name}-root
11 Requires: /sbin/ldconfig
12
13 %description
14 LLVM is a new infrastructure designed for compile-time, link-time, runtime,
15 and "idle-time" optimization of programs from arbitrary programming languages.
16 LLVM is written in C++ and has been developed since 2000 at the
17 University of Illinois. It currently supports compilation of C and C++
18 programs, using front-ends derived from GCC 3.4.
19
20 %prep
21 %setup -q -n llvm
22
23 %build
24 ./configure \
25 --prefix=%{_prefix} \
26 --bindir=%{_bindir} \
27 --datadir=%{_datadir} \
28 --includedir=%{_includedir} \
29 --libdir=%{_libdir}
30 make
31
32 %install
33 rm -rf %{buildroot}
34 make install DESTDIR=%{buildroot}
35
36 %clean
37 rm -rf %{buildroot}
38
39 %post -p /sbin/ldconfig
40
41 %postun -p /sbin/ldconfig
42
43 %files
44 %defattr(-, root, root)
45 %doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
46 %{_bindir}/*
47 %{_libdir}/*.o
48 %{_libdir}/*.a
49 %{_libdir}/*.so
50 %{_includedir}/llvm
51
52 %changelog
53 * Mon Feb 09 2003 Brian R. Gaeke
54 - Initial working version of RPM spec file.
55
0 Summary: Static and JIT research compiler infrastructure
1 Name: llvm
2 Version: 1.2
3 Release: 0
4 License: U of Illinois/NCSA Open Source License
5 Group: Development/Languages
6 Source0: llvm.tar.gz
7 URL: http://llvm.cs.uiuc.edu/releases/index.html
8 #BuildRequires: llvm-gcc
9 # (someday...)
10 BuildRoot: %{_tmppath}/%{name}-root
11 Requires: /sbin/ldconfig
12
13 %description
14 LLVM is a new infrastructure designed for compile-time, link-time, runtime,
15 and "idle-time" optimization of programs from arbitrary programming languages.
16 LLVM is written in C++ and has been developed since 2000 at the
17 University of Illinois. It currently supports compilation of C and C++
18 programs, using front-ends derived from GCC 3.4.
19
20 %prep
21 %setup -q -n llvm
22
23 %build
24 ./configure \
25 --prefix=%{_prefix} \
26 --bindir=%{_bindir} \
27 --datadir=%{_datadir} \
28 --includedir=%{_includedir} \
29 --libdir=%{_libdir}
30 make
31
32 %install
33 rm -rf %{buildroot}
34 make install DESTDIR=%{buildroot}
35
36 %clean
37 rm -rf %{buildroot}
38
39 %post -p /sbin/ldconfig
40
41 %postun -p /sbin/ldconfig
42
43 %files
44 %defattr(-, root, root)
45 %doc CREDITS.TXT LICENSE.TXT README.txt docs/*.{html,css,gif,jpg} docs/CommandGuide
46 %{_bindir}/*
47 %{_libdir}/*.o
48 %{_libdir}/*.a
49 %{_libdir}/*.so
50 %{_includedir}/llvm
51
52 %changelog
53 * Mon Feb 09 2003 Brian R. Gaeke
54 - Initial working version of RPM spec file.
55