summaryrefslogtreecommitdiff
path: root/packaging/doxygen.spec
diff options
context:
space:
mode:
authorTizenOpenSource <tizenopensrc@samsung.com>2023-12-22 18:14:28 +0900
committerTizenOpenSource <tizenopensrc@samsung.com>2023-12-22 18:14:28 +0900
commitcc1bf21f7fcef8cc41feec3eb56d9061429a1923 (patch)
tree1fb5b2369d1bf583ce72ba48874d4054118b4c84 /packaging/doxygen.spec
parent14adf159fc9eb1212b2e61ea78e94c135abde0fe (diff)
downloaddoxygen-sandbox/doxygen_1.9.8.tar.gz
doxygen-sandbox/doxygen_1.9.8.tar.bz2
doxygen-sandbox/doxygen_1.9.8.zip
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
Diffstat (limited to 'packaging/doxygen.spec')
-rw-r--r--packaging/doxygen.spec58
1 files changed, 58 insertions, 0 deletions
diff --git a/packaging/doxygen.spec b/packaging/doxygen.spec
new file mode 100644
index 0000000..f2c3f7d
--- /dev/null
+++ b/packaging/doxygen.spec
@@ -0,0 +1,58 @@
+Name: doxygen
+Version: 1.9.8
+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}/*
+