Package init
This commit is contained in:
parent
f887d10996
commit
fd92917d4a
26
llvm.spec
26
llvm.spec
@ -1,6 +1,6 @@
|
|||||||
Name: llvm
|
Name: llvm
|
||||||
Version: 7.0.0
|
Version: 7.0.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
License: NCSA
|
License: NCSA
|
||||||
URL: http://llvm.org
|
URL: http://llvm.org
|
||||||
@ -15,8 +15,6 @@ Patch4: 0001-Don-t-set-rpath-when-installing.patch
|
|||||||
BuildRequires: gcc gcc-c++ cmake ninja-build zlib-devel libffi-devel ncurses-devel libstdc++-static
|
BuildRequires: gcc gcc-c++ cmake ninja-build zlib-devel libffi-devel ncurses-devel libstdc++-static
|
||||||
BuildRequires: python3-sphinx multilib-rpm-config binutils-devel valgrind-devel
|
BuildRequires: python3-sphinx multilib-rpm-config binutils-devel valgrind-devel
|
||||||
BuildRequires: libedit-devel python3-devel
|
BuildRequires: libedit-devel python3-devel
|
||||||
Provides: %{name}-libs = %{version}-%{release}
|
|
||||||
Obsoletes: %{name}-libs < %{version}-%{release}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
LLVM is a compiler infrastructure designed for compile-time, link-time,
|
||||||
@ -27,12 +25,18 @@ The LLVM compiler infrastructure supports a wide range of projects,
|
|||||||
from industrial strength compilers to specialized JIT applications
|
from industrial strength compilers to specialized JIT applications
|
||||||
to small research projects.
|
to small research projects.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary:LLVM shared libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
Shared libraries for the LLVM compiler infrastructure.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: libedit-devel python3-lit binutils gcc
|
Requires: libedit-devel python3-lit binutils gcc
|
||||||
Requires(post): %{_sbindir}/alternatives
|
Requires(post): %{_sbindir}/alternatives
|
||||||
Requires(postun): %{_sbindir}/alternatives
|
Requires(postun):%{_sbindir}/alternatives
|
||||||
Provides: %{name}-static = %{version}-%{release}
|
Provides: %{name}-static = %{version}-%{release}
|
||||||
Obsoletes: %{name}-static < %{version}-%{release}
|
Obsoletes: %{name}-static < %{version}-%{release}
|
||||||
Provides: %{name}-googletest = %{version}-%{release}
|
Provides: %{name}-googletest = %{version}-%{release}
|
||||||
@ -170,11 +174,13 @@ fi
|
|||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/%{name}/*
|
%{_libdir}/%{name}/*
|
||||||
%{_datadir}/opt-viewer/*
|
%{_datadir}/opt-viewer/*
|
||||||
%{_libdir}/*.so*
|
|
||||||
%exclude %{_libdir}/libLLVM.so
|
|
||||||
%exclude %{_bindir}/llvm-config-%{__isa_bits}
|
%exclude %{_bindir}/llvm-config-%{__isa_bits}
|
||||||
%exclude %{_libdir}/%{name}/unittests/
|
%exclude %{_libdir}/%{name}/unittests/
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%{_libdir}/*.so*
|
||||||
|
%exclude %{_libdir}/libLLVM.so
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/llvm-config-%{__isa_bits}
|
%{_bindir}/llvm-config-%{__isa_bits}
|
||||||
%{_includedir}/llvm/*
|
%{_includedir}/llvm/*
|
||||||
@ -196,6 +202,12 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 1 2019 jiangchuangang <jiangchuangang@huawei.com> -7.0.0-6
|
||||||
|
- Type: enhancement
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC: add libs package
|
||||||
|
|
||||||
* Mon Oct 28 2019 jiangchuangang <jiangchuangang@huawei.com> -7.0.0-5
|
* Mon Oct 28 2019 jiangchuangang <jiangchuangang@huawei.com> -7.0.0-5
|
||||||
- Type: enhancement
|
- Type: enhancement
|
||||||
- ID: NA
|
- ID: NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user