package created using the webbuild interface [release 0.4.2-1mamba;Mon Feb 05 2024]

This commit is contained in:
Silvan Calarco 2024-02-05 18:08:41 +01:00
parent 1d935fdaf8
commit ee7a187b88
2 changed files with 79 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# zix
A lightweight C99 portability and data structure library.

77
zix.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.4.2-1mamba
- package created using the webbuild interface