From 1affbc761744d406379a590b867f469c41ece19b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 21:41:10 +0100 Subject: [PATCH] automatic version update by autodist [release 0.9.0-1mamba;Sat Jul 23 2022] --- README.md | 2 ++ dcontainers.spec | 84 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 dcontainers.spec diff --git a/README.md b/README.md index 72d3063..2e9bac8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # dcontainers +dlang containers backed by std.experimental.allocator. + diff --git a/dcontainers.spec b/dcontainers.spec new file mode 100644 index 0000000..ac9c071 --- /dev/null +++ b/dcontainers.spec @@ -0,0 +1,84 @@ +%define gitver %(echo %version | tr _ -) +Name: dcontainers +Version: 0.9.0 +Release: 1mamba +Summary: dlang containers backed by std.experimental.allocator +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://dlang-community.github.io/containers/index.html +Source: https://github.com/dlang-community/containers.git/v%{gitver}/containers-%{version}.tar.bz2 +License: Boost Software License +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: ldc +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +dlang containers backed by std.experimental.allocator. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +dlang containers backed by std.experimental.allocator. + +%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 -n containers-%{version} + +%build +%meson \ + --wrap-mode=default + +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%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}/libdcontainers.so.* +#%{_libdir}/libstdx-allocator.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/d/containers +%dir %{_includedir}/d/containers/containers +%{_includedir}/d/containers/containers/* +#%dir %{_includedir}/d/stdx-allocator +#%dir %{_includedir}/d/stdx-allocator/stdx +#%dir %{_includedir}/d/stdx-allocator/stdx/allocator +#%{_includedir}/d/stdx-allocator/stdx/allocator/* +%{_libdir}/libdcontainers.a +#%{_libdir}/libdcontainers.so +#%{_libdir}/libstdx-allocator.so +%{_libdir}/pkgconfig/dcontainers.pc +#%{_libdir}/pkgconfig/stdx-allocator.pc +%doc README.md + +%changelog +* Sat Jul 23 2022 Automatic Build System 0.9.0-1mamba +- automatic version update by autodist + +* Sat Jul 13 2019 Silvan Calarco 0.8.0_alpha.15-1mamba +- package created using the webbuild interface