doxygen/doxywizard.spec

125 lines
3.8 KiB
RPMSpec

#
# spec file for package doxywizard (Version 1.5.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: doxywizard
BuildRequires: libdrm-devel libjpeg-devel qt3-devel update-desktop-files
Version: 1.5.1
Release: 1
Autoreqprov: on
Requires: doxygen = %{version}
License: GNU General Public License (GPL)
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-64archs.diff
Patch1: doxygen-%{version}-libpng.diff
Patch2: %{name}-%{version}-flex.diff
Patch4: doxygen-%{version}-arm.patch
Patch5: doxygen-%{version}-man.patch
Patch6: %{name}-%{version}-makefile.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}
%ifarch s390x ia64 ppc64 x86_64
%patch
%endif
%patch1
%patch2
%patch4
%patch5
%patch6
%build
%{suse_update_libdir tmake/lib/linux-g++/tmake.conf}
export QTDIR=/usr/lib/qt3
export PATH=$QTDIR/bin:$PATH
export LD_RUN_PATH=$QTDIR/lib
# this tmake version use RPM_OPTL_FLAGS instead of RPM_OPT_FLAGS,
# I do not know why
perl -pi -e 's#/lib#/%{_lib}#g;' -e "s#/usr/qt/3/bin/moc#/usr/lib/qt3/bin/moc#g;" addon/doxywizard/Makefile.doxywizard
perl -pi -e "s#TMAKE_CFLAGS_RELEASE.*=.*#TMAKE_CFLAGS_RELEASE=$RPM_OPT_FLAGS -fno-strict-aliasing#;" tmake/lib/linux-g++/tmake.conf
./configure --prefix /usr --with-doxywizard --install /usr/bin/install
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
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 -n doxywizard
* Mon Feb 05 2007 - anosek@suse.cz
- updated to version 1.5.1
* fixed build (makefile.patch)
* Wed Oct 18 2006 - anosek@suse.cz
- updated to version 1.5.0
* bugfixes
* Mon Jun 26 2006 - mmarek@suse.cz
- updated to 1.4.7
* new CALLER_GRAPH option to add called-by graph to functions
* new REFERENCES_LINK_SOURCE option to set whether function names
in REFERENCES_RELATION and REFERENCED_BY_RELATION link to
source or documentation
* doxywizard asks for confirmation before overwriting files in
the save dialog
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 - mmarek@suse.cz
- remove %%_lib fix, which isn't needed anymore and actually breaks
build on 64bit
* Thu Jan 05 2006 - mmarek@suse.cz
- use make -j
- add -fno-strict-aliasing
* Mon Jan 02 2006 - mmarek@suse.cz
- update to 1.4.6
* Mon Oct 10 2005 - mmarek@suse.cz
- update to 1.4.5
* Tue Sep 20 2005 - mmarek@suse.cz
- fix qtools to build with gcc-4.1.0
* Thu Jul 28 2005 - postadal@suse.cz
- updated to version 1.4.4
* added man pages
- removed obsoleted qt-mt patch
* Sat Jan 22 2005 - ro@suse.de
- fix build (qt-mt instead of qt)
* Wed Jan 12 2005 - postadal@suse.cz
- updated to version 1.4.1
* Tue Aug 31 2004 - postadal@suse.cz
- fixed for new flex
* Tue Aug 03 2004 - postadal@suse.cz
- updated to version 1.3.8
* Tue Apr 27 2004 - postadal@suse.cz
- doxywizard split off (qt3 dependency)