Group :: Sistema/Bibliotecas
RPM: rapidyaml
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: rapidyaml
Version: 0.4.1
Release: alt3
Summary: A library to parse and emit YAML
License: MIT
Group: System/Libraries
URL: https://github.com/biojppm/%name
Packager: Nazarov Denis <nenderus at altlinux.org>
Source: https://github.com/biojppm/%name/releases/download/v%version/%name-%version-src.tgz
Patch0: %name-libdir-alt.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: python3-dev
%description
ryml is a C++ library to parse and emit YAML.
%package -n libryml
Summary: A library to parse and emit YAML
Group: System/Libraries
%description -n libryml
ryml is a C++ library to parse and emit YAML.
ryml parses both read-only and in-situ source buffers; the resulting
data nodes hold only views to sub-ranges of the source buffer. No
string copies or duplications are done.
%package -n libc4core
Summary: Utility library of %name
Group: System/Libraries
%description -n libc4core
ryml is a C++ library to parse and emit YAML.
%package -n libryml-devel
Summary: Header files for rapidyaml, a library to parse and emit YAML
Group: Development/C++
%description -n libryml-devel
ryml is a C++ library to parse and emit YAML.
This package contains development headers and examples.
%prep
%setup -n %name-%version-src
%patch0 -p1
%build
%cmake \
-DBUILD_SHARED_LIBS:BOOL=TRUE \
-D_ARCHIVE_INSTALL_DIR=%_lib/ \
-D_LIBRARY_INSTALL_DIR=%_lib/
%cmake_build
%install
%cmake_install
%files -n libryml
%_libdir/libryml.so.*
%files -n libc4core
%_libdir/libc4core.so.*
%files -n libryml-devel
%doc README.md
%_includedir/*
%_libdir/cmake/c4core
%_libdir/cmake/ryml
%_libdir/libc4core.so
%_libdir/libryml.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.4.1
Release: alt3
Summary: A library to parse and emit YAML
License: MIT
Group: System/Libraries
URL: https://github.com/biojppm/%name
Packager: Nazarov Denis <nenderus at altlinux.org>
Source: https://github.com/biojppm/%name/releases/download/v%version/%name-%version-src.tgz
Patch0: %name-libdir-alt.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: git-core
BuildRequires: python3-dev
%description
ryml is a C++ library to parse and emit YAML.
%package -n libryml
Summary: A library to parse and emit YAML
Group: System/Libraries
%description -n libryml
ryml is a C++ library to parse and emit YAML.
ryml parses both read-only and in-situ source buffers; the resulting
data nodes hold only views to sub-ranges of the source buffer. No
string copies or duplications are done.
%package -n libc4core
Summary: Utility library of %name
Group: System/Libraries
%description -n libc4core
ryml is a C++ library to parse and emit YAML.
%package -n libryml-devel
Summary: Header files for rapidyaml, a library to parse and emit YAML
Group: Development/C++
%description -n libryml-devel
ryml is a C++ library to parse and emit YAML.
This package contains development headers and examples.
%prep
%setup -n %name-%version-src
%patch0 -p1
%build
%cmake \
-DBUILD_SHARED_LIBS:BOOL=TRUE \
-D_ARCHIVE_INSTALL_DIR=%_lib/ \
-D_LIBRARY_INSTALL_DIR=%_lib/
%cmake_build
%install
%cmake_install
%files -n libryml
%_libdir/libryml.so.*
%files -n libc4core
%_libdir/libc4core.so.*
%files -n libryml-devel
%doc README.md
%_includedir/*
%_libdir/cmake/c4core
%_libdir/cmake/ryml
%_libdir/libc4core.so
%_libdir/libryml.so
%changelog
…
Todas as alterações você pod ver aqui