Accepting request 807027 from home:badshah400:branches:science
C-family Abstract Syntax Tree XML Output OBS-URL: https://build.opensuse.org/request/show/807027 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/CastXML?expand=0&rev=1
This commit is contained in:
commit
75fe26f94a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
CastXML-0.3.4.tar.gz
Normal file
3
CastXML-0.3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a597ef37fe2b43fe3cf2c0c4e2ed0069d5aba2714016c319ac47787760859df4
|
||||
size 95604
|
4
CastXML.changes
Normal file
4
CastXML.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 17 22:44:23 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Initial package.
|
69
CastXML.spec
Normal file
69
CastXML.spec
Normal file
@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package CastXML
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: CastXML
|
||||
Version: 0.3.4
|
||||
Release: 0
|
||||
Summary: C-family Abstract Syntax Tree XML Output
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/CastXML/CastXML
|
||||
Source: https://github.com/CastXML/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: clang-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python3-Sphinx
|
||||
|
||||
%description
|
||||
CastXML is a C-family abstract syntax tree XML output tool.
|
||||
|
||||
%package devel
|
||||
Summary: C-family Abstract Syntax Tree XML Output
|
||||
|
||||
%description devel
|
||||
CastXML is a C-family abstract syntax tree XML output tool.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
# FOR LLVM/CLANG >= 10 CLANG_LINK_CLANG_DYLIB NEEDS TO BE SET TO ON TO COMPILE
|
||||
# AGAINST LLVM/CLAN DYNAMIC LIBS
|
||||
%cmake -DCastXML_INSTALL_MAN_DIR:PATH=%{_mandir} \
|
||||
-DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \
|
||||
%if 0%{?suse_version} >= 1550
|
||||
-DCLANG_LINK_CLANG_DYLIB:BOOL=ON \
|
||||
%endif
|
||||
-DSPHINX_HTML:BOOL=ON \
|
||||
-DSPHINX_MAN:BOOL=ON
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
# REMOVE FILES TO BE INSTALLED USING %%doc OR %%license
|
||||
rm %{buildroot}%{_docdir}/%{name}/LICENSE
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%{_bindir}/castxml
|
||||
%{_mandir}/man1/castxml.1%{?ext_man}
|
||||
%{_datadir}/castxml/
|
||||
%doc %{_docdir}/%{name}
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user