61 lines
1.5 KiB
RPMSpec
61 lines
1.5 KiB
RPMSpec
|
Name: rinutils
|
||
|
Version: 0.4.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 Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
|
||
|
- package created using the webbuild interface
|