78 lines
2.0 KiB
RPMSpec
78 lines
2.0 KiB
RPMSpec
Name: zix
|
|
Version: 0.6.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}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%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
|
|
* Sun Jan 19 2025 Automatic Build System <autodist@openmamba.org> 0.6.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
|
|
- package created using the webbuild interface
|