From ee7a187b88a9486086bb74db7daa200043cdd66d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 5 Feb 2024 18:08:41 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.2-1mamba;Mon Feb 05 2024] --- README.md | 2 ++ zix.spec | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 zix.spec diff --git a/README.md b/README.md index e9da5b1..09a24ba 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # zix +A lightweight C99 portability and data structure library. + diff --git a/zix.spec b/zix.spec new file mode 100644 index 0000000..45b2d8f --- /dev/null +++ b/zix.spec @@ -0,0 +1,77 @@ +Name: zix +Version: 0.4.2 +Release: 1mamba +Summary: A lightweight C99 portability and data structure library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://gitlab.com/drobilla/zix +Source: https://gitlab.com/drobilla/zix.git/v%{version}/zix-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: meson +BuildRequires: python-sphinx-py3 +BuildRequires: python-sphinxygen-py3 +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +A lightweight C99 portability and data structure library. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +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} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%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}/libzix-0.so.* +%doc COPYING LICENSES + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/zix-0 +%dir %{_includedir}/zix-0/zix +%{_includedir}/zix-0/zix/* +%{_libdir}/libzix-0.so +%{_libdir}/pkgconfig/zix-0.pc +%dir %{_docdir}/zix-0/html +%{_docdir}/zix-0/html/* +%dir %{_docdir}/zix-0/singlehtml +%{_docdir}/zix-0/singlehtml/* +%doc NEWS README.md + +%changelog +* Mon Feb 05 2024 Silvan Calarco 0.4.2-1mamba +- package created using the webbuild interface