Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37405211
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libfastjson

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libfastjson
Version: 0.99.9
Release: alt1

Summary: A JSON implementation in C
License: MIT
Group: System/Libraries

Url: https://github.com/rsyslog/libfastjson
Source: %name-%version.tar


%description
libfastjson implements a reference counting object
model that allows you to easily construct JSON
objects in C, output them as JSON formatted strings
and parse JSON formatted strings back into the
C representation of JSON objects.

%package devel
Summary: Development files for %name
Group: Development/C
Requires: %name = %version-%release

%description devel
This package contains libraries and header files for
developing applications that use %name.

%package devel-static
Summary: Static libraries for %name
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static libs for building statically linked software that uses %name

%prep
%setup

%build
%autoreconf
%configure \
%{subst_enable static}

%make_build

%install
%makeinstall_std

%files
%_libdir/%name.so.*
%doc README.md ChangeLog

%files devel
%_pkgconfigdir/*.pc
%_libdir/%name.so
%_includedir/%name

%if_enabled static
%files -n lib%name-devel-static
%_libdir/%name.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin