1
0
forked from pool/CastXML

Accepting request 960309 from home:badshah400:branches:devel:libraries:c_c++

- Update to version 0.4.5.
- Build tests, and run them as part of %check section.
- New BuildRequires for tests: pkgconfig(libxml-2.0), pkgconfig(zlib).

OBS-URL: https://build.opensuse.org/request/show/960309
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/CastXML?expand=0&rev=12
This commit is contained in:
Atri Bhattacharya 2022-03-15 11:43:24 +00:00 committed by Git OBS Bridge
parent 2d9ad685cf
commit 985dbfe1c2
4 changed files with 20 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7343edf262b291a9a3d702dbfa6d660e8ed81170454eab6af10a6dbf8c8141d
size 103796

3
CastXML-0.4.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:007f6d073165e150df0e40e1ec331f6f94304684af9eed3b0e5dabaebcfb1197
size 104158

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Mar 8 21:23:05 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.4.5:
* No release notes.
- Build tests, and run them as part of %check section.
- New BuildRequires for tests: pkgconfig(libxml-2.0),
pkgconfig(zlib).
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 26 11:45:37 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com> Tue Oct 26 11:45:37 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package CastXML # spec file for package CastXML
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: CastXML Name: CastXML
Version: 0.4.4 Version: 0.4.5
Release: 0 Release: 0
Summary: C-family Abstract Syntax Tree XML Output Summary: C-family Abstract Syntax Tree XML Output
License: Apache-2.0 License: Apache-2.0
@ -27,6 +27,8 @@ BuildRequires: clang-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python3-Sphinx BuildRequires: python3-Sphinx
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(zlib)
%description %description
CastXML is a C-family abstract syntax tree XML output tool. CastXML is a C-family abstract syntax tree XML output tool.
@ -44,6 +46,7 @@ CastXML is a C-family abstract syntax tree XML output tool.
%cmake -DCastXML_INSTALL_MAN_DIR:PATH=%{_mandir} \ %cmake -DCastXML_INSTALL_MAN_DIR:PATH=%{_mandir} \
-DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \ -DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \
-DCLANG_LINK_CLANG_DYLIB:BOOL=ON \ -DCLANG_LINK_CLANG_DYLIB:BOOL=ON \
-DBUILD_TESTING:BOOL=ON \
-DSPHINX_HTML:BOOL=ON \ -DSPHINX_HTML:BOOL=ON \
-DSPHINX_MAN:BOOL=ON -DSPHINX_MAN:BOOL=ON
@ -55,6 +58,9 @@ CastXML is a C-family abstract syntax tree XML output tool.
# REMOVE FILES TO BE INSTALLED USING %%doc OR %%license # REMOVE FILES TO BE INSTALLED USING %%doc OR %%license
rm %{buildroot}%{_docdir}/%{name}/LICENSE rm %{buildroot}%{_docdir}/%{name}/LICENSE
%check
%ctest
%files devel %files devel
%license LICENSE %license LICENSE
%{_bindir}/castxml %{_bindir}/castxml