70 lines
1.7 KiB
RPMSpec
70 lines
1.7 KiB
RPMSpec
|
Name: libcxx
|
||
|
Version: 10.0.0
|
||
|
Release: 1mamba
|
||
|
Summary: An implementation of the C++ standard library, targeting C++11, C++14 and above
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://libcxx.llvm.org/
|
||
|
Source: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}/libcxx-%{version}.src.tar.xz
|
||
|
License: MIT, BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: ldconfig
|
||
|
BuildRequires: libgcc
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Provides: libc++
|
||
|
Obsoletes: libc++
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
libc++ is an implementation of the C++ standard library, targeting C++11, C++14 and above.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Provides: libc++-devel
|
||
|
Obsoletes: libc++-devel
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{version}.src
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libc++.so.*
|
||
|
%doc LICENSE.TXT
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/c++
|
||
|
%dir %{_includedir}/c++/v1
|
||
|
%{_includedir}/c++/v1/*
|
||
|
%{_libdir}/libc++.a
|
||
|
%{_libdir}/libc++.so
|
||
|
|
||
|
%changelog
|
||
|
* Mon May 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.0.0-1mamba
|
||
|
- package created using the webbuild interface
|