doxygen/doxygen.spec

286 lines
9.9 KiB
RPMSpec

%if "%{stage1}" != "1"
%define with_qt_wiz 1
%{expand:%%define libqt_ver %(rpm -q --qf "%{VERSION}" libqt4-devel)}
%else
%define with_qt_wiz 0
%endif
%define pck_docdir %{_datadir}/doc/doxygen-%{version}
Name: doxygen
Version: 1.8.8
Release: 1mamba
Summary: A documentation system for C, C++, Java, IDL, Objective-C, PHP, C# and D
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.stack.nl/~dimitri/doxygen
Source: ftp://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
Patch1: doxygen-1.7.1-config.patch
Patch2: doxygen-1.6.2-timestamp.patch
Patch3: doxygen-1.7.2-fix_cftchapfont.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
%if "%{stage1}" != "1"
BuildRequires: graphviz
%endif
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: flex
BuildRequires: bison
BuildRequires: ghostscript
BuildRequires: tetex-latex
BuildRequires: tetex-dvips
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Doxygen is a documentation system for C++, C, Java, IDL (Corba and Microsoft flavors) and to some extent PHP and C# and D.
It can help you in three ways:
* It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in HTML) from a set of documented source files.
There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, and Unix man pages.
The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code.
* You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions.
You can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.
* You can even `abuse' doxygen for creating normal documentation (as I did for this manual).
Doxygen is developed under Linux, but is set-up to be highly portable. As a result, it runs on most other Unix flavors as well. Furthermore, executables for Windows 9x/NT and Mac OS X are available.
%if %{with_qt_wiz}
%package doxywizard
Summary: A GUI for creating and editing configuration files
Group: Graphical Desktop/Applications/Development
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: libqt4-devel >= %{libqt_ver}
%description doxywizard
Doxywizard is a GUI for creating and editing configuration files that are used by doxygen.
%endif
%package doc
Group: Documentation
Summary: Doxygen documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description doc
Doxygen is a documentation system for C++, C, Java, IDL (Corba and Microsoft flavors) and to some extent PHP and C#.
This package contains the documentation in HTML format and PDF format.
%prep
%setup -q
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
%build
%if %{with_qt_wiz}
unset QTDIR || : ; . /etc/profile.d/libqt4.sh
export QMAKE=%{_qt4_qmake}
%endif
# note: not a standard configure script
./configure \
--prefix %{_prefix} \
--docdir %{pck_docdir} \
--shared \
--release \
--install %{_bindir}/install \
%if %{with_qt_wiz}
--with-doxywizard \
%endif
%make all
make docs
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{expand:%%define MAN1DIR %(echo %_mandir/man1 | sed "s,%{_prefix}/,,")}
make install install_docs \
INSTALL=%{buildroot}%{_prefix} \
MAN1DIR=%{MAN1DIR} \
DOCDIR=%{buildroot}%{pck_docdir}
iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
touch -r LANGUAGE.HOWTO LANGUAGE.HOWTO.new
mv LANGUAGE.HOWTO.new LANGUAGE.HOWTO
# remove unpackaged files
find %{buildroot}%{pck_docdir}/ -name Makefile\* | xargs rm -f
find examples -type f | xargs chmod -x
#sed -i -e "s|#!perl|#! /usr/bin/perl|" examples/tag/html/installdox
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/doxygen
#%{_bindir}/doxytag
%{_mandir}/man1/doxygen.1*
#%{_mandir}/man1/doxytag.1*
%doc LICENSE
%if %{with_qt_wiz}
%files doxywizard
%defattr(-,root,root)
%{_bindir}/doxywizard
%{_mandir}/man1/doxywizard.1*
%doc addon/doxywizard/README
%endif
%files doc
%defattr(-,root,root)
%dir %{_datadir}/doc/doxygen-%{version}
%{_datadir}/doc/doxygen-%{version}/*
%doc LANGUAGE.HOWTO examples
%changelog
* Sat Aug 30 2014 Automatic Build System <autodist@mambasoft.it> 1.8.8-1mamba
- automatic version update by autodist
* Mon Apr 21 2014 Automatic Build System <autodist@mambasoft.it> 1.8.7-1mamba
- automatic version update by autodist
* Wed Dec 25 2013 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba
- automatic version update by autodist
* Sat Aug 24 2013 Automatic Build System <autodist@mambasoft.it> 1.8.5-1mamba
- automatic version update by autodist
* Mon May 20 2013 Automatic Build System <autodist@mambasoft.it> 1.8.4-1mamba
- automatic version update by autodist
* Wed Jan 23 2013 Automatic Build System <autodist@mambasoft.it> 1.8.3.1-1mamba
- automatic version update by autodist
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 1.8.3-1mamba
- automatic version update by autodist
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Fri Jul 13 2012 Automatic Build System <autodist@mambasoft.it> 1.8.1.2-1mamba
- automatic version update by autodist
* Sun Jun 10 2012 Automatic Build System <autodist@mambasoft.it> 1.8.1.1-1mamba
- automatic version update by autodist
* Wed May 23 2012 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Tue Mar 13 2012 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
- automatic version update by autodist
* Sun Dec 11 2011 Automatic Build System <autodist@mambasoft.it> 1.7.6.1-1mamba
- automatic version update by autodist
* Mon Dec 05 2011 Automatic Build System <autodist@mambasoft.it> 1.7.6-1mamba
- automatic version update by autodist
* Sun Aug 21 2011 Automatic Build System <autodist@mambasoft.it> 1.7.5.1-1mamba
- automatic version update by autodist
* Sun Aug 14 2011 Automatic Build System <autodist@mambasoft.it> 1.7.5-1mamba
- automatic version update by autodist
* Mon Mar 28 2011 Automatic Build System <autodist@mambasoft.it> 1.7.4-1mamba
- automatic update by autodist
* Sun Feb 20 2011 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
- automatic update by autodist
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.2-3mamba
- added patch to fix latex error with cftchapfont
* Tue Oct 26 2010 gil <puntogil@libero.it> 1.7.2-2mamba
- rebuilt with libqt4 support
- built doxywizard sub package
* Sat Oct 09 2010 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic update to 1.7.2 by autodist
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
- automatic update to 1.7.1 by autodist
* Tue Jun 15 2010 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic update to 1.7.0 by autodist
* Sun Mar 14 2010 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic update to 1.6.3 by autodist
* Wed Dec 30 2009 Automatic Build System <autodist@mambasoft.it> 1.6.2-1mamba
- automatic update to 1.6.2 by autodist
* Tue Aug 25 2009 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic update to 1.6.1 by autodist
* Thu Aug 20 2009 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic update to 1.6.0 by autodist
* Fri May 01 2009 Automatic Build System <autodist@mambasoft.it> 1.5.9-1mamba
- automatic update to 1.5.9 by autodist
* Sun Dec 28 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.8-1mamba
- automatic update to 1.5.8 by autodist
* Sun Oct 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.7.1-1mamba
- automatic update to 1.5.7.1 by autodist
* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.7-1mamba
- automatic update to 1.5.7 by autodist
* Tue Jun 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.6-1mamba
- update to 1.5.6
* Thu Feb 14 2008 Aleph0 <aleph0@openmamba.org> 1.5.5-1mamba
- update to 1.5.5
* Fri Jul 27 2007 Aleph0 <aleph0@openmamba.org> 1.5.3-1mamba
- update to 1.5.3
* Thu Apr 05 2007 Aleph0 <aleph0@openmamba.org> 1.5.2-1mamba
- update to version 1.5.2 by autospec
* Thu Nov 02 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.1-1qilnx
- update to version 1.5.1 by autospec
* Tue Oct 17 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.5.0-1qilnx
- update to version 1.5.0 by autospec
* Tue Jun 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.7-1qilnx
- update to version 1.4.7 by autospec
* Tue Jan 03 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.6-1qilnx
- update to version 1.4.6 by autospec
* Wed Oct 12 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.5-1qilnx
- update to version 1.4.5 by autospec
* Thu Jul 28 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.4-1qilnx
- update to version 1.4.4 by autospec
* Thu Jun 09 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.3-1qilnx
- update to version 1.4.3 by autospec
* Mon May 02 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.2-1qilnx
- update to version 1.4.2 by autospec
- added doxywizard and doc packages
* Mon Jan 10 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.4.1-1qilnx
- update to version 1.4.1 by autospec
* Tue Jul 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.8-2qilnx
- update to 1.3.8
* Fri May 14 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.7-1qilnx
- new version rebuild
* Fri Feb 27 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.3.6-1qilnx
- new version rebuild
* Tue Jul 22 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.3.2-1qilnx
- first build for doxygen