From a8e119d8c462efdbc207c2ec57d38b869a5518a3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:03:54 +0100 Subject: [PATCH] package created using the webbuild interface [release 10.0.0-1mamba;Mon May 18 2020] --- README.md | 2 ++ libcxx.spec | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 libcxx.spec diff --git a/README.md b/README.md index 971d4a1..4c01642 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libcxx +libc++ is an implementation of the C++ standard library, targeting C++11, C++14 and above. + diff --git a/libcxx.spec b/libcxx.spec new file mode 100644 index 0000000..bf8be2b --- /dev/null +++ b/libcxx.spec @@ -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 +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 10.0.0-1mamba +- package created using the webbuild interface