[1073] | 1 | # Build options: |
---|
| 2 | # |
---|
| 3 | # --with doxygen |
---|
| 4 | # The doxygen docs are HUGE, so they are not built by default. |
---|
[5555] | 5 | %define build_apidoc %{?_with_doxygen:1}%{!?_with_doxygen:0} |
---|
[1073] | 6 | |
---|
| 7 | Name: llvm |
---|
[7943] | 8 | Version: 3.3 |
---|
| 9 | Release: 1%{?_dist_release} |
---|
[1073] | 10 | Summary: The Low Level Virtual Machine |
---|
| 11 | Summary(ja): LLVM - 低レベルバーチャルマシン |
---|
| 12 | |
---|
| 13 | Group: Development/Languages |
---|
| 14 | License: NCSA |
---|
| 15 | URL: http://llvm.org/ |
---|
[7197] | 16 | Source0: http://llvm.org/releases/%{version}/llvm-%{version}.src.tar.gz |
---|
[7943] | 17 | Source1: http://llvm.org/releases/%{version}/cfe-%{version}.src.tar.gz |
---|
| 18 | Source2: http://llvm.org/releases/%{version}/compiler-rt-%{version}.src.tar.gz |
---|
| 19 | |
---|
[4656] | 20 | # multilib fixes |
---|
[7943] | 21 | Source10: llvm-Config-config.h |
---|
| 22 | Source11: llvm-Config-llvm-config.h |
---|
[4656] | 23 | |
---|
[1073] | 24 | # Data files should be installed with timestamps preserved |
---|
| 25 | Patch0: llvm-2.6-timestamp.patch |
---|
| 26 | |
---|
[7943] | 27 | Patch11: clang-hardfloat-hack.patch |
---|
[7197] | 28 | |
---|
[7943] | 29 | # hack the link flags for the shared libs for speed and memory usage |
---|
| 30 | Patch21: llvm-3.2-symbolic-shlib.patch |
---|
[7197] | 31 | |
---|
[7201] | 32 | # Vine Patch |
---|
| 33 | Patch1000: clang-3.1-driver-ld.gold.patch |
---|
| 34 | Patch1001: clang-3.1-driver-lib64.patch |
---|
[7943] | 35 | Patch1002: clang-3.3-driver-vine.patch |
---|
[7201] | 36 | |
---|
[1073] | 37 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 38 | |
---|
[5424] | 39 | BuildRequires: binutils-devel |
---|
[1073] | 40 | BuildRequires: bison |
---|
| 41 | BuildRequires: chrpath |
---|
| 42 | BuildRequires: flex |
---|
| 43 | BuildRequires: gcc-c++ >= 3.4 |
---|
| 44 | BuildRequires: groff |
---|
[4656] | 45 | BuildRequires: libffi-devel |
---|
[1073] | 46 | BuildRequires: libtool-ltdl-devel |
---|
| 47 | BuildRequires: ocaml |
---|
| 48 | # for DejaGNU test suite |
---|
| 49 | BuildRequires: dejagnu tcl python |
---|
[5555] | 50 | %if %{build_apidoc} |
---|
[1073] | 51 | BuildRequires: doxygen graphviz |
---|
| 52 | %endif |
---|
[4656] | 53 | Requires: llvm-libs = %{version}-%{release} |
---|
[1073] | 54 | |
---|
| 55 | # LLVM is not supported on PPC64 |
---|
| 56 | # http://llvm.org/bugs/show_bug.cgi?id=3729 |
---|
| 57 | ExcludeArch: ppc64 |
---|
| 58 | |
---|
| 59 | %description |
---|
| 60 | LLVM is a compiler infrastructure designed for compile-time, |
---|
| 61 | link-time, runtime, and idle-time optimization of programs from |
---|
| 62 | arbitrary programming languages. The compiler infrastructure includes |
---|
| 63 | mirror sets of programming tools as well as libraries with equivalent |
---|
| 64 | functionality. |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %package devel |
---|
| 68 | Summary: Libraries and header files for LLVM |
---|
| 69 | Summary(ja): LLVM のライブラリおよびヘッダファイル |
---|
| 70 | Group: Development/Languages |
---|
| 71 | Requires: %{name} = %{version}-%{release} |
---|
| 72 | Requires: libstdc++-devel |
---|
[4656] | 73 | Requires: libffi-devel |
---|
[1073] | 74 | Provides: llvm-static = %{version}-%{release} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %description devel |
---|
| 78 | This package contains library and header files needed to develop new |
---|
| 79 | native programs that use the LLVM infrastructure. |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %package doc |
---|
| 83 | Summary: Documentation for LLVM |
---|
| 84 | Summary(ja): LLVM のドキュメント |
---|
| 85 | Group: Documentation |
---|
| 86 | Requires: %{name} = %{version}-%{release} |
---|
| 87 | |
---|
| 88 | %description doc |
---|
| 89 | Documentation for the LLVM compiler infrastructure. |
---|
| 90 | |
---|
| 91 | |
---|
[4656] | 92 | %package libs |
---|
| 93 | Summary: LLVM shared libraries |
---|
| 94 | Summary(ja): LLVM シェアードライブラリ |
---|
| 95 | Group: System Environment/Libraries |
---|
| 96 | |
---|
| 97 | %description libs |
---|
| 98 | Shared libraries for the LLVM compiler infrastructure. |
---|
| 99 | |
---|
| 100 | |
---|
[1073] | 101 | %package -n clang |
---|
| 102 | Summary: A C language family front-end for LLVM |
---|
| 103 | Summary(ja): LLVM の C 言語用フロントエンド |
---|
| 104 | License: NCSA |
---|
| 105 | Group: Development/Languages |
---|
[7197] | 106 | Requires: gcc |
---|
| 107 | %(rpm -q --qf 'Requires: %{name} = %{version}' libstdc++-devel) |
---|
[1073] | 108 | |
---|
| 109 | %description -n clang |
---|
| 110 | clang: noun |
---|
| 111 | 1. A loud, resonant, metallic sound. |
---|
| 112 | 2. The strident call of a crane or goose. |
---|
| 113 | 3. C-language family front-end toolkit. |
---|
| 114 | |
---|
| 115 | The goal of the Clang project is to create a new C, C++, Objective C |
---|
| 116 | and Objective C++ front-end for the LLVM compiler. Its tools are built |
---|
| 117 | as libraries and designed to be loosely-coupled and extensible. |
---|
| 118 | |
---|
| 119 | |
---|
| 120 | %package -n clang-devel |
---|
| 121 | Summary: Header files for clang |
---|
| 122 | Summary(ja): clang のヘッダファイル |
---|
| 123 | Group: Development/Languages |
---|
| 124 | Requires: clang = %{version}-%{release} |
---|
| 125 | |
---|
| 126 | %description -n clang-devel |
---|
| 127 | This package contains header files for the Clang compiler. |
---|
| 128 | |
---|
| 129 | |
---|
| 130 | %package -n clang-analyzer |
---|
| 131 | Summary: A source code analysis framework |
---|
| 132 | Summary(ja): ソースコー分析フレームワーク |
---|
| 133 | License: NCSA |
---|
| 134 | Group: Development/Languages |
---|
| 135 | Requires: clang = %{version}-%{release} |
---|
| 136 | # not picked up automatically since files are currently not instaled |
---|
| 137 | # in standard Python hierarchies yet |
---|
| 138 | Requires: python |
---|
| 139 | |
---|
| 140 | %description -n clang-analyzer |
---|
| 141 | The Clang Static Analyzer consists of both a source code analysis |
---|
| 142 | framework and a standalone tool that finds bugs in C and Objective-C |
---|
| 143 | programs. The standalone tool is invoked from the command-line, and is |
---|
| 144 | intended to run in tandem with a build of a project or code base. |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | %package -n clang-doc |
---|
| 148 | Summary: Documentation for Clang |
---|
| 149 | Summary(ja): Clang のドキュメント |
---|
| 150 | Group: Documentation |
---|
| 151 | Requires: %{name} = %{version}-%{release} |
---|
| 152 | |
---|
| 153 | %description -n clang-doc |
---|
| 154 | Documentation for the Clang compiler front-end. |
---|
| 155 | |
---|
| 156 | |
---|
[5555] | 157 | %if %{build_apidoc} |
---|
[1073] | 158 | %package apidoc |
---|
| 159 | Summary: API documentation for LLVM |
---|
| 160 | Summary(ja): LLVM の API ドキュメント |
---|
| 161 | Group: Development/Languages |
---|
| 162 | Requires: %{name}-docs = %{version}-%{release} |
---|
| 163 | |
---|
| 164 | |
---|
| 165 | %description apidoc |
---|
| 166 | API documentation for the LLVM compiler infrastructure. |
---|
| 167 | %endif |
---|
| 168 | |
---|
| 169 | |
---|
| 170 | %package ocaml |
---|
| 171 | Summary: OCaml binding for LLVM |
---|
| 172 | Summary(ja): LLVM の OCaml バインディング |
---|
| 173 | Group: Development/Libraries |
---|
| 174 | Requires: %{name} = %{version}-%{release} |
---|
| 175 | Requires: ocaml |
---|
| 176 | |
---|
| 177 | %description ocaml |
---|
| 178 | OCaml binding for LLVM. |
---|
| 179 | |
---|
| 180 | |
---|
| 181 | %package ocaml-devel |
---|
| 182 | Summary: Development files for %{name}-ocaml |
---|
| 183 | Summary(ja): %{name}-ocaml の開発ファイル |
---|
| 184 | Group: Development/Libraries |
---|
| 185 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 186 | Requires: %{name}-ocaml = %{version}-%{release} |
---|
| 187 | Requires: ocaml |
---|
| 188 | |
---|
| 189 | %description ocaml-devel |
---|
| 190 | The %{name}-ocaml-devel package contains libraries and signature files |
---|
| 191 | for developing applications that use %{name}-ocaml. |
---|
| 192 | |
---|
| 193 | |
---|
| 194 | %package ocaml-doc |
---|
| 195 | Summary: Documentation for %{name}-ocaml |
---|
| 196 | Summary(ja): %{name}-ocaml のドキュメント |
---|
| 197 | Group: Documentation |
---|
| 198 | Requires: %{name}-ocaml = %{version}-%{release} |
---|
| 199 | |
---|
| 200 | %description ocaml-doc |
---|
| 201 | HTML documentation for LLVM's OCaml binding. |
---|
| 202 | |
---|
| 203 | |
---|
| 204 | |
---|
| 205 | %prep |
---|
[7943] | 206 | %setup -q -n llvm-%{version}.src -a1 -a2 |
---|
| 207 | rm -f tools/clang |
---|
| 208 | mv cfe-%{version}.src tools/clang |
---|
[1073] | 209 | |
---|
[4656] | 210 | # llvm patches |
---|
[1073] | 211 | %patch0 -p1 -b .timestamp |
---|
| 212 | |
---|
[7943] | 213 | # arm hard float |
---|
| 214 | %patch11 -p1 -b .orig |
---|
[7197] | 215 | |
---|
[7943] | 216 | # fix llvm-config --libs |
---|
| 217 | %patch21 -p1 -b .orig |
---|
[4656] | 218 | |
---|
[7201] | 219 | %patch1000 -p1 -b .driver-ld.gold |
---|
| 220 | %ifarch x86_64 |
---|
| 221 | %patch1001 -p1 -b .driver-lib64 |
---|
| 222 | %endif |
---|
| 223 | %patch1002 -p1 -b .driver-vine |
---|
| 224 | |
---|
[7197] | 225 | # fix ld search path |
---|
[7201] | 226 | sed -i 's|/lib /usr/lib $lt_ld_extra|/%{_lib} %{_libdir} $lt_ld_extra|' \ |
---|
[7197] | 227 | ./configure |
---|
| 228 | |
---|
[1073] | 229 | |
---|
| 230 | %build |
---|
[7943] | 231 | export CC=/usr/bin/gcc |
---|
| 232 | export CXX=/usr/bin/g++ |
---|
[5555] | 233 | |
---|
[1073] | 234 | # Disabling assertions now, rec. by pure and needed for OpenGTL |
---|
| 235 | # TESTFIX no PIC on ix86: http://llvm.org/bugs/show_bug.cgi?id=3801 |
---|
[4656] | 236 | %configure \ |
---|
[1073] | 237 | --prefix=%{_prefix} \ |
---|
| 238 | --libdir=%{_libdir}/%{name} \ |
---|
[4656] | 239 | --datadir=%{_libdir}/%{name} \ |
---|
[5555] | 240 | %if %{?_with_doxygen:1}%{!?_with_doxygen:0} |
---|
| 241 | --enable-doxygen \ |
---|
| 242 | %endif |
---|
[7943] | 243 | %ifarch armv7hl armv7l |
---|
| 244 | --with-cpu=cortex-a8 \ |
---|
| 245 | --with-tune=cortex-a8 \ |
---|
| 246 | --with-arch=armv7-a \ |
---|
| 247 | --with-float=hard \ |
---|
| 248 | --with-fpu=vfpv3-d16 \ |
---|
| 249 | --with-abi=aapcs-linux \ |
---|
| 250 | %endif |
---|
[5555] | 251 | --enable-targets=host \ |
---|
[1073] | 252 | --disable-assertions \ |
---|
[7943] | 253 | --enable-optimized \ |
---|
[1073] | 254 | --enable-jit \ |
---|
[4656] | 255 | --enable-libffi \ |
---|
| 256 | --enable-shared \ |
---|
[7943] | 257 | --enable-pic \ |
---|
| 258 | --with-c-include-dirs=%{_includedir}:$(echo %{_prefix}/lib/gcc/%{_target_cpu}*/%{gcc_version}/include) \ |
---|
[7197] | 259 | --with-binutils-include=%{_includedir} \ |
---|
[7943] | 260 | --enable-targets=x86,powerpc,arm,aarch64,cpp,nvptx \ |
---|
| 261 | --enable-experimental-targets=R600 |
---|
[4656] | 262 | |
---|
[1073] | 263 | # FIXME file this |
---|
| 264 | # configure does not properly specify libdir |
---|
| 265 | sed -i 's|(PROJ_prefix)/lib|(PROJ_prefix)/%{_lib}/%{name}|g' Makefile.config |
---|
| 266 | |
---|
[7197] | 267 | # FIXME upstream need to fix this |
---|
| 268 | # llvm-config.cpp hardcodes lib in it |
---|
| 269 | sed -i 's|ActiveLibDir = ActivePrefix + "/lib"|ActiveLibDir = ActivePrefix + "/%{_lib}/%{name}"|g' tools/llvm-config/llvm-config.cpp |
---|
| 270 | |
---|
| 271 | make %{_smp_mflags} \ |
---|
| 272 | REQUIRES_RTTI=1 \ |
---|
[4738] | 273 | OPTIMIZE_OPTION="%{optflags}" |
---|
[1073] | 274 | |
---|
| 275 | |
---|
| 276 | %install |
---|
| 277 | rm -rf %{buildroot} |
---|
[5555] | 278 | |
---|
[1073] | 279 | make install DESTDIR=%{buildroot} \ |
---|
| 280 | PROJ_docsdir=/moredocs |
---|
[4656] | 281 | |
---|
| 282 | # multilib fixes |
---|
| 283 | mv %{buildroot}%{_bindir}/llvm-config{,-%{__isa_bits}} |
---|
| 284 | |
---|
| 285 | pushd %{buildroot}%{_includedir}/llvm/Config |
---|
| 286 | mv config.h config-%{__isa_bits}.h |
---|
[7943] | 287 | cp -p %{SOURCE10} config.h |
---|
[4656] | 288 | mv llvm-config.h llvm-config-%{__isa_bits}.h |
---|
[7943] | 289 | cp -p %{SOURCE11} llvm-config.h |
---|
[1073] | 290 | popd |
---|
| 291 | |
---|
| 292 | # Create ld.so.conf.d entry |
---|
| 293 | mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d |
---|
| 294 | cat >> %{buildroot}%{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf << EOF |
---|
| 295 | %{_libdir}/llvm |
---|
| 296 | EOF |
---|
| 297 | |
---|
| 298 | # Static analyzer not installed by default: |
---|
| 299 | # http://clang-analyzer.llvm.org/installation#OtherPlatforms |
---|
| 300 | mkdir -p %{buildroot}%{_libdir}/clang-analyzer |
---|
| 301 | # create launchers |
---|
| 302 | for f in scan-{build,view}; do |
---|
| 303 | ln -s %{_libdir}/clang-analyzer/$f/$f %{buildroot}%{_bindir}/$f |
---|
| 304 | done |
---|
| 305 | |
---|
| 306 | (cd tools/clang/tools && cp -pr scan-{build,view} \ |
---|
| 307 | %{buildroot}%{_libdir}/clang-analyzer/) |
---|
| 308 | |
---|
| 309 | |
---|
| 310 | # Move documentation back to build directory |
---|
| 311 | # |
---|
[5555] | 312 | pwd |
---|
[1073] | 313 | mv %{buildroot}/moredocs . |
---|
[4656] | 314 | rm -f moredocs/*.tar.gz |
---|
| 315 | rm -f moredocs/ocamldoc/html/*.tar.gz |
---|
[1073] | 316 | |
---|
[4656] | 317 | # and separate the apidoc |
---|
[5555] | 318 | %if %{build_apidoc} |
---|
[4656] | 319 | mv moredocs/html/doxygen apidoc |
---|
| 320 | mv tools/clang/docs/doxygen/html clang-apidoc |
---|
| 321 | %endif |
---|
| 322 | |
---|
[1073] | 323 | # And prepare Clang documentation |
---|
| 324 | # |
---|
| 325 | mkdir clang-docs |
---|
[5555] | 326 | for f in LICENSE.TXT NOTES.txt README.txt; do |
---|
[1073] | 327 | ln tools/clang/$f clang-docs/ |
---|
| 328 | done |
---|
| 329 | rm -rf tools/clang/docs/{doxygen*,Makefile*,*.graffle,tools} |
---|
| 330 | |
---|
| 331 | |
---|
[4656] | 332 | #find %%{buildroot} -name .dir -print0 | xargs -0r rm -f |
---|
[1073] | 333 | file %{buildroot}/%{_bindir}/* | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d |
---|
| 334 | file %{buildroot}/%{_libdir}/llvm/*.so | awk -F: '$2~/ELF/{print $1}' | xargs -r chrpath -d |
---|
[4656] | 335 | #chrpath -d %%{buildroot}/%%{_libexecdir}/clang-cc |
---|
[1073] | 336 | |
---|
| 337 | # Get rid of erroneously installed example files. |
---|
| 338 | rm %{buildroot}%{_libdir}/%{name}/*LLVMHello.* |
---|
| 339 | |
---|
| 340 | # FIXME file this bug |
---|
| 341 | sed -i 's,ABS_RUN_DIR/lib",ABS_RUN_DIR/%{_lib}/%{name}",' \ |
---|
[4656] | 342 | %{buildroot}%{_bindir}/llvm-config-%{__isa_bits} |
---|
[1073] | 343 | |
---|
| 344 | chmod -x %{buildroot}%{_libdir}/%{name}/*.a |
---|
| 345 | |
---|
| 346 | # remove documentation makefiles: |
---|
| 347 | # they require the build directory to work |
---|
| 348 | find examples -name 'Makefile' | xargs -0r rm -f |
---|
| 349 | |
---|
| 350 | |
---|
[4656] | 351 | %check |
---|
| 352 | make check 2>&1 | tee ../llvm-testlog.txt |
---|
| 353 | make -C tools/clang/test 2>&1 | tee ../llvm-testlog.txt |
---|
| 354 | |
---|
| 355 | |
---|
[1073] | 356 | %clean |
---|
| 357 | rm -rf %{buildroot} |
---|
| 358 | |
---|
| 359 | |
---|
[4656] | 360 | %post libs -p /sbin/ldconfig |
---|
| 361 | %post -n clang -p /sbin/ldconfig |
---|
[1073] | 362 | |
---|
| 363 | |
---|
[4656] | 364 | %postun libs -p /sbin/ldconfig |
---|
| 365 | %postun -n clang -p /sbin/ldconfig |
---|
[1073] | 366 | |
---|
| 367 | |
---|
[4656] | 368 | %posttrans devel |
---|
| 369 | # link llvm-config to the platform-specific file; |
---|
| 370 | # use ISA bits as priority so that 64-bit is preferred |
---|
| 371 | # over 32-bit if both are installed |
---|
| 372 | alternatives \ |
---|
| 373 | --install \ |
---|
| 374 | %{_bindir}/llvm-config \ |
---|
| 375 | llvm-config \ |
---|
| 376 | %{_bindir}/llvm-config-%{__isa_bits} \ |
---|
| 377 | %{__isa_bits} |
---|
| 378 | |
---|
| 379 | %postun devel |
---|
| 380 | if [ $1 -eq 0 ]; then |
---|
| 381 | alternatives --remove llvm-config \ |
---|
| 382 | %{_bindir}/llvm-config-%{__isa_bits} |
---|
| 383 | fi |
---|
| 384 | exit 0 |
---|
| 385 | |
---|
| 386 | |
---|
[1073] | 387 | %files |
---|
| 388 | %defattr(-,root,root,-) |
---|
[4656] | 389 | %doc CREDITS.TXT LICENSE.TXT README.txt |
---|
[1073] | 390 | %{_bindir}/bugpoint |
---|
| 391 | %{_bindir}/llc |
---|
| 392 | %{_bindir}/lli |
---|
[4656] | 393 | %exclude %{_bindir}/llvm-config-%{__isa_bits} |
---|
[1073] | 394 | %{_bindir}/llvm* |
---|
[4656] | 395 | %{_bindir}/macho-dump |
---|
[1073] | 396 | %{_bindir}/opt |
---|
| 397 | %exclude %{_mandir}/man1/clang.1.* |
---|
| 398 | %doc %{_mandir}/man1/*.1.* |
---|
| 399 | |
---|
| 400 | %files devel |
---|
| 401 | %defattr(-,root,root,-) |
---|
[4656] | 402 | %{_bindir}/llvm-config-%{__isa_bits} |
---|
[1073] | 403 | %{_includedir}/%{name} |
---|
| 404 | %{_includedir}/%{name}-c |
---|
| 405 | %{_libdir}/%{name}/*.a |
---|
| 406 | |
---|
[4656] | 407 | %files libs |
---|
| 408 | %defattr(-,root,root,-) |
---|
| 409 | %config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf |
---|
| 410 | %dir %{_libdir}/%{name} |
---|
| 411 | %exclude %{_libdir}/%{name}/libclang.so |
---|
| 412 | %{_libdir}/%{name}/*.so |
---|
| 413 | |
---|
[1073] | 414 | %files -n clang |
---|
| 415 | %defattr(-,root,root,-) |
---|
[4656] | 416 | %doc clang-docs/* |
---|
[1073] | 417 | %{_bindir}/clang* |
---|
[7197] | 418 | %{_bindir}/c-index-test |
---|
[4656] | 419 | %{_libdir}/%{name}/libclang.so |
---|
[1073] | 420 | %{_prefix}/lib/clang |
---|
| 421 | %doc %{_mandir}/man1/clang.1.* |
---|
| 422 | |
---|
| 423 | %files -n clang-devel |
---|
| 424 | %defattr(-,root,root,-) |
---|
| 425 | %{_includedir}/clang |
---|
| 426 | %{_includedir}/clang-c |
---|
| 427 | |
---|
| 428 | %files -n clang-analyzer |
---|
| 429 | %defattr(-,root,root,-) |
---|
| 430 | %{_bindir}/scan-build |
---|
| 431 | %{_bindir}/scan-view |
---|
| 432 | %{_libdir}/clang-analyzer |
---|
| 433 | |
---|
| 434 | %files -n clang-doc |
---|
| 435 | %defattr(-,root,root,-) |
---|
| 436 | %doc tools/clang/docs/* |
---|
| 437 | |
---|
| 438 | %files doc |
---|
| 439 | %defattr(-,root,root,-) |
---|
| 440 | %doc examples moredocs/html |
---|
| 441 | |
---|
| 442 | %files ocaml |
---|
| 443 | %defattr(-,root,root,-) |
---|
| 444 | %{_libdir}/ocaml/*.cma |
---|
| 445 | %{_libdir}/ocaml/*.cmi |
---|
[7197] | 446 | %{_libdir}/ocaml/META.llvm |
---|
[1073] | 447 | |
---|
| 448 | %files ocaml-devel |
---|
| 449 | %defattr(-,root,root,-) |
---|
| 450 | %{_libdir}/ocaml/*.a |
---|
| 451 | %{_libdir}/ocaml/*.cmx* |
---|
| 452 | %{_libdir}/ocaml/*.mli |
---|
| 453 | |
---|
| 454 | %files ocaml-doc |
---|
| 455 | %defattr(-,root,root,-) |
---|
| 456 | %doc moredocs/ocamldoc/html/* |
---|
| 457 | |
---|
[4656] | 458 | %if 0%{?_with_doxygen} |
---|
[1073] | 459 | %files apidoc |
---|
| 460 | %defattr(-,root,root,-) |
---|
[4656] | 461 | %doc apidoc/* |
---|
| 462 | |
---|
| 463 | %files -n clang-apidoc |
---|
| 464 | %defattr(-,root,root,-) |
---|
| 465 | %doc clang-apidoc/* |
---|
[1073] | 466 | %endif |
---|
| 467 | |
---|
| 468 | |
---|
[4656] | 469 | %changelog |
---|
[7943] | 470 | * Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3-1 |
---|
| 471 | - update to 3.3 |
---|
| 472 | |
---|
[7201] | 473 | * Mon Dec 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-2 |
---|
| 474 | - ld.gold (patch1000,1001) |
---|
| 475 | - add /%{_lib} to ld search path |
---|
| 476 | - add support *-vine-linux gcc (patch1002) |
---|
| 477 | |
---|
[7197] | 478 | * Fri Nov 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-1 |
---|
| 479 | - update to 3.1 |
---|
| 480 | |
---|
[5555] | 481 | * Tue Jan 24 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 3.0-1 |
---|
| 482 | - updated to 3.0 release |
---|
| 483 | |
---|
[5424] | 484 | * Sun Jan 15 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 2.9-3 |
---|
| 485 | - added patch 2-4 to support -O4 link-time optimization |
---|
| 486 | |
---|
[4738] | 487 | * Fri Sep 9 2011 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.9-2 |
---|
| 488 | - disable -fno-var-tracking-assignments on ppc |
---|
| 489 | (seems like gcc-4.4.5 still doesn't support this) |
---|
| 490 | |
---|
[4656] | 491 | * Thu Aug 25 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9-1 |
---|
| 492 | - new upstream release |
---|
| 493 | - add BR: libffi-devel |
---|
| 494 | - add R: libffi-devel to -devel |
---|
[1073] | 495 | |
---|
| 496 | * Sun May 23 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7-1 |
---|
| 497 | - initial build for Vine Linux |
---|
| 498 | |
---|
| 499 | * Sun May 2 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-1 |
---|
| 500 | - Update to final 2.7 release |
---|
| 501 | |
---|
| 502 | * Sun Mar 28 2010 Michel Salim <salimma@fedoraproject.org> - 2.7-0.1.pre1 |
---|
| 503 | - Update to first 2.7 pre-release |
---|
| 504 | |
---|
| 505 | * Fri Sep 18 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.6.pre2 |
---|
| 506 | - Update to 2.6 pre-release2 |
---|
| 507 | - -devel subpackage now virtually provides -static |
---|
| 508 | |
---|
| 509 | * Wed Sep 9 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.5.pre1 |
---|
| 510 | - Disable var tracking assignments on PPC |
---|
| 511 | |
---|
| 512 | * Wed Sep 9 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.4.pre1 |
---|
| 513 | - Don't adjust clang include dir; files there are noarch (bz#521893) |
---|
| 514 | - Enable clang unit tests |
---|
| 515 | - clang and clang-analyzer renamed; no longer depend on llvm at runtime |
---|
| 516 | |
---|
| 517 | * Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.3.pre1 |
---|
| 518 | - Package Clang's static analyzer tools |
---|
| 519 | |
---|
| 520 | * Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.2.pre1 |
---|
| 521 | - PIC is now enabled by default; explicitly disable on %%{ix86} |
---|
| 522 | |
---|
| 523 | * Mon Sep 7 2009 Michel Salim <salimma@fedoraproject.org> - 2.6-0.1.pre1 |
---|
| 524 | - First 2.6 prerelease |
---|
| 525 | - Enable Clang front-end |
---|
| 526 | - Enable debuginfo generation |
---|
| 527 | |
---|
| 528 | * Sat Sep 5 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-6 |
---|
| 529 | - Disable assertions (needed by OpenGTL, bz#521261) |
---|
| 530 | - Align spec file with upstream build instructions |
---|
| 531 | - Enable unit tests |
---|
| 532 | |
---|
| 533 | * Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-5 |
---|
| 534 | - Only disable PIC on %%ix86; ppc actually needs it |
---|
| 535 | |
---|
| 536 | * Sat Aug 22 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-4 |
---|
| 537 | - Disable use of position-independent code on 32-bit platforms |
---|
| 538 | (buggy in LLVM <= 2.5) |
---|
| 539 | |
---|
| 540 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3 |
---|
| 541 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 542 | |
---|
| 543 | * Wed Mar 4 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-2 |
---|
| 544 | - Remove build scripts; they require the build directory to work |
---|
| 545 | |
---|
| 546 | * Wed Mar 4 2009 Michel Salim <salimma@fedoraproject.org> - 2.5-1 |
---|
| 547 | - Update to 2.5 |
---|
| 548 | - Package build scripts (bug #457881) |
---|
| 549 | |
---|
| 550 | * Tue Dec 2 2008 Michel Salim <salimma@fedoraproject.org> - 2.4-2 |
---|
| 551 | - Patched build process for the OCaml binding |
---|
| 552 | |
---|
| 553 | * Tue Dec 2 2008 Michel Salim <salimma@fedoraproject.org> - 2.4-1 |
---|
| 554 | - Update to 2.4 |
---|
| 555 | - Package Ocaml binding |
---|
| 556 | |
---|
| 557 | * Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-2 |
---|
| 558 | - Add dependency on groff |
---|
| 559 | |
---|
| 560 | * Wed Jun 18 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.3-1 |
---|
| 561 | - LLVM 2.3 |
---|
| 562 | |
---|
| 563 | * Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.2-4 |
---|
| 564 | - fix license tags |
---|
| 565 | |
---|
| 566 | * Wed Mar 5 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.2-3 |
---|
| 567 | - Fix compilation problems with gcc 4.3 |
---|
| 568 | |
---|
| 569 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2-2 |
---|
| 570 | - Autorebuild for GCC 4.3 |
---|
| 571 | |
---|
| 572 | * Sun Jan 20 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.1-2 |
---|
| 573 | - Fix review comments |
---|
| 574 | |
---|
| 575 | * Sun Jan 20 2008 Bryan O'Sullivan <bos@serpentine.com> - 2.1-1 |
---|
| 576 | - Initial version |
---|