diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-04-20 08:30:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-04-20 08:30:56 (GMT) |
commit | b4f20f70abd663b3d8e5889e1fe582dfe980b7a2 (patch) | |
tree | 1ef12f6f2f4d51d8e4486b2d467e6f047ef9515a /packages/rpm/doxygen.spec.in | |
parent | c6c19d2984bfd7265b6d5f82336c991ec35727da (diff) | |
download | Doxygen-b4f20f70abd663b3d8e5889e1fe582dfe980b7a2.zip Doxygen-b4f20f70abd663b3d8e5889e1fe582dfe980b7a2.tar.gz Doxygen-b4f20f70abd663b3d8e5889e1fe582dfe980b7a2.tar.bz2 |
Release-1.5.5-20080420
Diffstat (limited to 'packages/rpm/doxygen.spec.in')
-rw-r--r-- | packages/rpm/doxygen.spec.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/packages/rpm/doxygen.spec.in b/packages/rpm/doxygen.spec.in index 4fb50e1..39edc42 100644 --- a/packages/rpm/doxygen.spec.in +++ b/packages/rpm/doxygen.spec.in @@ -1,5 +1,7 @@ %define name doxygen +# optionally pass --with-doxywizard to rpmbuild + %define contentdir /var/www %define suexec_caller doxygen %define buildroot /var/tmp/%{name}-%{version}-%{revision}root @@ -14,7 +16,7 @@ License: GNU General Public License Group: Development/Tools Source: %{name}-%{version}_%{revision}.src.tar.gz BuildRoot: %{buildroot} -BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips +BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips, /usr/bin/gs Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 Provides: doxygen = %{mmn} @@ -25,6 +27,7 @@ documentation is extracted directly from the sources. Doxygen can also be configured to extract the code structure from undocumented source files. +%if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} %package doxywizard Group: Development/Libraries Summary: GUI Interface for doxygen. @@ -42,10 +45,11 @@ source files. This is the GUI interface for doxygen. It requires qt and X11 to install. +%endif %prep %setup -q -n %{name}-%{version}_%{revision} -./configure --with-doxywizard --prefix $RPM_BUILD_ROOT/usr +./configure %{?_with_doxywizard} --prefix $RPM_BUILD_ROOT/usr %build make %{?_smp_mflags} @@ -68,12 +72,18 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/doxygen %{_bindir}/doxytag +%if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} %files doxywizard %defattr(-,root,root) %{_bindir}/doxywizard %doc /usr/man/man1/doxywizard.1.gz +%endif %changelog +* Fri Apr 18 2008 Kenneth Porter <shiva+doxygenspec@sewingwitch.com> 1.5.5-1 +- consolidate with and without doxywizard spec files with rpm macro +- add gs BuildPrereq + * Sun Nov 18 2007 Kevin McBride <kevin@planetsaphire.com> 1.5.4 - consolidated manual package in lieu of --excludedocs flag for rpm --install |