From 2013a0aa1e5cd9c9f6bc89343cae92c7e98ac4c1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:08:23 +0100 Subject: [PATCH] package created using the webbuild interface [release 20211102.0-1mamba;Sun Feb 06 2022] --- README.md | 2 ++ abseil-cpp.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 abseil-cpp.spec diff --git a/README.md b/README.md index da6334d..3d76e64 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # abseil-cpp +Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library. + diff --git a/abseil-cpp.spec b/abseil-cpp.spec new file mode 100644 index 0000000..d00cc6a --- /dev/null +++ b/abseil-cpp.spec @@ -0,0 +1,77 @@ +Name: abseil-cpp +Version: 20211102.0 +Release: 1mamba +Summary: An open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://abseil.io/ +Source: https://github.com/abseil/abseil-cpp.git/%{version}/abseil-cpp-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library. + +%package -n lib%{name} +Group: System/Libraries +Summary: An open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library + +%description -n lib%{name} +Abseil is an open-source collection of C++ code (compliant to C++11) designed to augment the C++ standard library. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libabsl_*.so.* +%doc AUTHORS LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/absl +%{_includedir}/absl/* +%{_libdir}/libabsl_*.so +%{_libdir}/pkgconfig/absl_*.pc +%dir %{_libdir}/cmake/absl +%{_libdir}/cmake/absl/absl*.cmake +%doc README.md + +%changelog +* Sun Feb 06 2022 Silvan Calarco 20211102.0-1mamba +- package created using the webbuild interface