json-c 0.18
This commit is contained in:
commit
742ea47b1a
1 changed files with 38 additions and 0 deletions
38
json-c.spec
Normal file
38
json-c.spec
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
%global reldate 20240915
|
||||
|
||||
Name: json-c
|
||||
Version: 0.18
|
||||
Release: 1%{?dist}
|
||||
Summary: JSON-C implements JSON objects in C
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/%{name}/%{name}
|
||||
Source0: %{url}/archive/%{name}-%{version}-%{reldate}.tar.gz
|
||||
|
||||
BuildRequires: cmake gcc
|
||||
Requires: bash
|
||||
|
||||
%description
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version}-%{reldate}
|
||||
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
|
||||
%files
|
||||
%{_libdir}
|
||||
%{_includedir}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Apr 13 2026 Dmitrii Tochanskii <tochansky@tochlab.ru>
|
||||
-
|
||||
Loading…
Add table
Add a link
Reference in a new issue