Репозиторий Sisyphus
Последнее обновление: 24 июня 2019 | Пакетов: 17678 | Посещений: 14176946
en ru br
Репозитории ALT

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

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


Name: jsoncpp
Version: 1.8.4
Release: alt3
%define rname jsoncpp
%define sover 19
%define libname lib%rname%sover

Group: System/Libraries
Summary: JSON library implemented in C++
Url: https://github.com/open-source-parsers/jsoncpp/
License: MIT

Source: %rname-%version.tar

# Automatically added by buildreq on Thu Jun 11 2015 (-bi)

# optimized out: cmake-modules elfutils fontconfig fonts-bitmap-misc libstdc++-devel libwayland-client libwayland-server pkg-config python-base python-modules python3 python3-base ruby ruby-stdlibs
#BuildRequires: cmake doxygen fonts-bitmap-terminus fonts-otf-stix fonts-ttf-dejavu fonts-ttf-google-droid-kufi fonts-ttf-google-droid-sans fonts-ttf-google-droid-serif fonts-type1-urw gcc-c++ graphviz libdb4-devel python-module-google python-modules-compiler rpm-build-python3 rpm-build-ruby
BuildRequires(pre): rpm-build-ubt
BuildRequires: cmake doxygen gcc-c++ graphviz rpm-build-python python-modules kde-common-devel

%description
%name is an implementation of a JSON (http://json.org) reader and writer in
C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format.
It is easy for humans to read and write. It is easy for machines to parse and
generate.

%package -n %libname
Summary: JSON library implemented in C++
Group: System/Libraries
%description -n %libname
%name is an implementation of a JSON (http://json.org) reader and writer in
C++. JSON (JavaScript Object Notation) is a lightweight data-interchange format.
It is easy for humans to read and write. It is easy for machines to parse and
generate.

%package devel
Summary: Development headers and library for %name
Group: Development/C++
Conflicts: libjson-devel < 0.12
%description devel
This package contains the development headers and library for %name.

%package doc
Summary: Documentation for %name
Group: Documentation
BuildArch: noarch
%description doc
This package contains the documentation for %name

%prep
%setup -n %rname-%version

%build
%Kbuild \
 -DJSONCPP_WITH_CMAKE_PACKAGE=ON \
 -DJSONCPP_WITH_PKGCONFIG_SUPPORT=ON \
 -DJSONCPP_WITH_TESTS=OFF \
 -DBUILD_STATIC_LIBS=OFF \
 -DBUILD_SHARED_LIBS=ON \
 #
# build docs
python doxybuild.py --with-dot --doxygen %_bindir/doxygen

%install
%Kinstall

%files -n %libname
%doc AUTHORS LICENSE
%_libdir/lib%rname.so.%sover
%_libdir/lib%rname.so.*

%files devel
%doc dist/doxygen/jsoncpp-api-html-*
%_libdir/lib%rname.so
%_includedir/json/
%_libdir/pkgconfig/%rname.pc
%_libdir/cmake/%rname/

#%files doc

#%_docdir/%name/

%changelog

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

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