SHA256
1
0
forked from pool/doxygen
doxygen/doxywizard.spec

87 lines
2.5 KiB
RPMSpec

#
# spec file for package doxywizard (Version 1.5.9)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: doxywizard
BuildRequires: bison flex libdrm-devel libjpeg-devel libqt4-devel update-desktop-files
Version: 1.5.9
Release: 2
AutoReqProv: on
Requires: doxygen = %{version}
License: GPL v2 or later
Group: Development/Tools/Doc Generators
Summary: Graphical User Interface for Doxygen
Url: http://www.stack.nl/~dimitri/doxygen/
Source: doxygen-%{version}.src.tar.bz2
Source1: doxywizard.desktop
Patch: doxygen-%{version}-64archs.patch
Patch1: doxygen-%{version}-libpng.patch
Patch2: %{name}-%{version}-flex.patch
Patch4: doxygen-%{version}-arm.patch
Patch5: doxygen-%{version}-man.patch
Patch6: doxygen-%{version}-qtdir.patch
Patch100: doxygen.warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Doxywizard is a graphical front-end to read/edit/write doxygen
configuration files.
Authors:
--------
Dimitri van Heesch <dimitri@stack.nl>
%prep
%setup -q -n doxygen-%{version}
%patch
%patch1
%patch2
%patch4
%patch5
%patch6
%patch100
%build
mintoc=
%ifarch ppc64
mintoc="-DENGLISH_ONLY"
%endif
sed -i~ "/^TMAKE_CFLAGS_RELEASE.*/s@^.*@TMAKE_CFLAGS_RELEASE = $RPM_OPT_FLAGS $mintoc@" tmake/lib/linux-g++/tmake.conf
./configure --with-doxywizard
make %{?jobs:-j%jobs}
%install
make install INSTALL=$RPM_BUILD_ROOT/usr
rm -f $RPM_BUILD_ROOT/usr/bin/{doxygen,doxytag}
%suse_update_desktop_file -i doxywizard Development Documentation
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{doxygen,doxytag}.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%attr(755,root,root) /usr/bin/doxywizard
/usr/share/applications/doxywizard.desktop
%attr(444,root,root) %doc %{_mandir}/man1/doxywizard.1.gz
%changelog