rinutils/rinutils.spec

67 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: rinutils
Version: 0.6.0
Release: 1mamba
Summary: A C11 / gnu11 utilities C library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/shlomif/rinutils
## GITSOURCE https://github.com/shlomif/rinutils.git 0.4.0
Source: https://github.com/shlomif/rinutils.git/%{version}/rinutils-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libcmocka-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A C11 / gnu11 utilities C library.
%package devel
Group: Development/Libraries
Summary: A C11 / gnu11 utilities C library.
Requires: pkg-config
%description devel
A C11 / gnu11 utilities C library.
This package contains 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}"
%files devel
%defattr(-,root,root)
%dir %{_includedir}/rinutils
%{_includedir}/rinutils/*.h
%dir %{_libdir}/cmake/Rinutils
%{_libdir}/cmake/Rinutils/RinutilsConfig*.cmake
%{_libdir}/pkgconfig/librinutils.pc
%doc LICENSE
%doc README.asciidoc
%changelog
* Thu Sep 24 2020 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Mon Jul 20 2020 Automatic Build System <autodist@mambasoft.it> 0.4.1-1mamba
- automatic version update by autodist
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- package created using the webbuild interface