Группа :: Система/Библиотеки
Пакет: 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 можно просмотреть здесь
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 можно просмотреть здесь