package created using the webbuild interface [release 10.0.0-1mamba;Mon May 18 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:03:54 +01:00
parent 11a78d79ab
commit a8e119d8c4
2 changed files with 71 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libcxx # libcxx
libc++ is an implementation of the C++ standard library, targeting C++11, C++14 and above.

69
libcxx.spec Normal file
View File

@ -0,0 +1,69 @@
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