libcxx/libcxx.spec

73 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: libcxx
Version: 10.0.1
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
* Sat Jul 25 2020 Automatic Build System <autodist@mambasoft.it> 10.0.1-1mamba
- automatic version update by autodist
* Mon May 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 10.0.0-1mamba
- package created using the webbuild interface