Changeset 1650
- Timestamp:
- Jun 12, 2019, 7:14:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified spec/trunk/SPECS/doxygen.spec ¶
r940 r1650 1 #define svn_url e:/trees/doxygen/trunk2 %define svn_url http://svn.netlabs.org/repos/ports/doxygen/trunk3 %define svn_rev 19564 5 1 # set this to 1 to enable 6 2 %global with_docs 0 7 %global with_search 0 3 %global with_latex 0 4 %global xapian_core_support OFF 8 5 9 6 10 7 Summary: A documentation system for C/C++ 11 8 Name: doxygen 12 Version: 1.8.1 313 Release: 2%{?dist}9 Version: 1.8.15 10 Release: 1%{?dist} 14 11 15 12 # No version is specified. 16 13 License: GPL+ 17 Url: http://www. stack.nl/~dimitri/doxygen/index.html14 Url: http://www.doxygen.nl 18 15 Vendor: bww bitwise works GmbH 19 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip 16 %scm_source github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2 20 17 18 BuildRequires: %{_bindir}/python2 21 19 22 BuildRequires: perl20 BuildRequires: gcc perl 23 21 %if %{with_docs} 24 22 BuildRequires: tex(dvips) … … 33 31 BuildRequires: /@unixroot/usr/bin/epstopdf 34 32 BuildRequires: texlive-epstopdf 33 BuildRequires: graphviz 35 34 %endif 36 35 BuildRequires: ghostscript … … 39 38 BuildRequires: bison 40 39 BuildRequires: cmake 41 #BuildRequires: graphviz 42 %if %{with_search} 40 %if %{xapian_core_support} == "ON" 43 41 BuildRequires: xapian-core-devel 42 BuildRequires: zlib-devel 44 43 %endif 45 44 Requires: perl 45 #Requires: graphviz 46 46 47 47 %description … … 56 56 Requires: %{name} = %{version}-%{release} 57 57 BuildRequires: libqt4-devel 58 58 59 %description doxywizard 59 60 Doxywizard is a GUI for creating and editing configuration files that 60 61 are used by doxygen. 61 62 63 %if %{with_latex} 64 %package latex 65 Summary: Support for producing latex/pdf output from doxygen 66 Requires: %{name} = %{epoch}:%{version}-%{release} 67 Requires: tex(latex) 68 Requires: tex(multirow.sty) 69 Requires: tex(sectsty.sty) 70 Requires: tex(tocloft.sty) 71 Requires: tex(xtab.sty) 72 Requires: tex(import.sty) 73 Requires: tex(tabu.sty) 74 Requires: tex(appendix.sty) 75 Requires: tex(newunicodechar.sty) 76 Requires: texlive-epstopdf-bin 77 78 %description latex 79 %{summary}. 80 %endif 62 81 63 82 %debug_package … … 65 84 66 85 %prep 67 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{!?svn_rev):0} 68 %setup -q 69 %else 70 %setup -n "%{name}-%{version}" -Tc 71 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force 72 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" 73 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}") 74 %endif 86 %scm_setup 75 87 76 88 … … 79 91 export VENDOR="%{vendor}" 80 92 81 mkdir -p build82 cd build93 mkdir -p %{_build} 94 cd %{_build} 83 95 # -DBUILD_SHARED_LIBS=OFF \ 84 96 %cmake \ 97 %if %{with_docs} 98 -Dbuild_doc=ON \ 99 %lse 100 -Dbuild_doc=OFF \ 101 %endif 85 102 -Dbuild_wizard=ON \ 86 103 -Dbuild_xmlparser=ON \ 104 -Dbuild_search=%{xapian_core_support} \ 87 105 -DMAN_INSTALL_DIR=%{_mandir}/man1 \ 88 106 -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ 89 %if %{with_docs}90 -Dbuild_doc=ON \91 %endif92 %if %{with_search}93 -Dbuild_search=ON \94 %endif95 107 .. 96 108 cd .. 97 109 98 110 %if %{with_docs} 99 make docs -C build111 make docs -C %{_build} 100 112 %endif 101 make -C build113 make -C %{_build} 102 114 103 115 104 116 %install 105 make install DESTDIR=%{buildroot} -C build117 make install DESTDIR=%{buildroot} -C %{_build} 106 118 107 119 # install man pages 108 %if %{with_docs}109 120 mkdir -p %{buildroot}/%{_mandir}/man1 110 121 cp doc/*.1 %{buildroot}/%{_mandir}/man1/ 122 123 %if %{xapian_core_support} == "OFF" 124 rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1* 111 125 %endif 112 126 … … 114 128 rm -rf %{buildroot}/%{_docdir}/packages 115 129 130 %check 131 #still disabled as we dont have bibtext tools. and one test needs it 132 #make tests -C %{_build} 116 133 117 134 %files 118 135 %doc LANGUAGE.HOWTO README.md 136 %license LICENSE 119 137 %if %{with_docs} 120 %doc build/latex/doxygen_manual.pdf 121 %doc build/html 138 %if %{xapian_core_support} == "ON" 139 %{_bindir}/doxyindexer.exe 140 %{_bindir}/doxysearch* 141 %exclude %{_bindir}/*.dbg 142 %endif 122 143 %endif 123 144 %{_bindir}/doxygen.exe 124 %if %{with_docs}125 %{_bindir}/doxyindexer.exe126 %{_bindir}/doxysearch*.cgi127 %endif128 %if %{with_docs}129 145 %{_mandir}/man1/doxygen.1* 146 %if %{xapian_core_support} == "ON" 130 147 %{_mandir}/man1/doxyindexer.1* 131 148 %{_mandir}/man1/doxysearch.1* … … 135 152 %files doxywizard 136 153 %{_bindir}/doxywizard.exe 137 %if %{with_docs}138 154 %{_mandir}/man1/doxywizard* 155 156 %if %{with_latex} 157 %files latex 158 # intentionally left blank 139 159 %endif 140 160 161 %changelog 162 * Wed Jun 12 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.8.15-1 163 - move source to github 164 - use scm_ macros 165 - update to version 1.8.15 141 166 142 %changelog143 167 * Fri Jan 27 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.8.13-2 144 168 - add buildlevel to the exe
Note:
See TracChangeset
for help on using the changeset viewer.