summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTizenOpenSource <tizenopensrc@samsung.com>2022-12-27 16:07:22 +0900
committerTizenOpenSource <tizenopensrc@samsung.com>2022-12-27 16:07:22 +0900
commitb421e719d372f5c3089b360813945af283f1880e (patch)
tree2bff3d71de00dd15ace80d7aa9f2a92000c0f8ab
parentcfd886868fa8595b045007a2ad673c18c5f222b3 (diff)
downloaddoxygen-tizen_8.0_base.tar.gz
doxygen-tizen_8.0_base.tar.bz2
doxygen-tizen_8.0_base.zip
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
-rw-r--r--packaging/doxygen.manifest5
-rw-r--r--packaging/doxygen.spec58
2 files changed, 63 insertions, 0 deletions
diff --git a/packaging/doxygen.manifest b/packaging/doxygen.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/doxygen.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/doxygen.spec b/packaging/doxygen.spec
new file mode 100644
index 0000000..2205e5b
--- /dev/null
+++ b/packaging/doxygen.spec
@@ -0,0 +1,58 @@
+Name: doxygen
+Version: 1.9.5
+Release: 1
+License: GPL-2.0+
+Summary: Automated C, C++, and Java Documentation Generator
+Url: http://www.stack.nl/~dimitri/doxygen/
+Group: Development/Tools
+Source: http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
+Source1001: doxygen.manifest
+
+
+# BuildRequires: bison
+# BuildRequires: flex
+# BuildRequires: gcc-c++
+# BuildRequires: gettext-tools
+
+BuildRequires: cmake
+BuildRequires: python3
+BuildRequires: flex
+BuildRequires: bison
+
+%description
+Doxygen is a documentation system for C, C++, Java, and IDL. It can
+generate an online class browser (in HTML) and an offline reference
+manual (in LaTeX) from a set of documented source files. The
+documentation is extracted directly from the sources. Doxygen is
+developed on a Linux platform, but it runs on most other UNIX flavors
+as well. An executable for Windows 95/NT is also available.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS+=" -fPIC"
+export CXXFLAGS+=" -fPIC"
+export LDFLAGS+=" -pie"
+%{?ubsan:
+/usr/bin/gcc-unforce-options
+/usr/bin/gcc-force-options -fsanitize=undefined -fno-sanitize=vptr
+}
+mkdir build
+pushd build
+%{cmake} -G "Unix Makefiles" ../
+make -j2
+popd
+
+%install
+pushd build
+%make_install
+popd
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%{_bindir}/*
+