File doc++.spec of Package doc++
#
# spec file for package doc++ (Version 3.4.10)
#
# Copyright (c) 2008 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: doc++
BuildRequires: bison flex gcc-c++
Summary: Documentation System for C, C++, IDL, and Java
Version: 3.4.10
Release: 140
License: GPL v2 or later
Group: Development/Tools/Doc Generators
Source: ftp://metalab.unc.edu/pub/Linux/apps/doctools/doc++-%{version}.tar.bz2
Patch: doc++-3.4.10-flex.patch
Patch1: doc++-4.3.10_gcc43.patch
Patch2: doc++-4.3.10_missing_cxxflags.patch
Patch3: doc++-4.3.10_dodgy_code.patch
Url: http://docpp.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
DOC++ is a documentation system for C, C++, IDL, and Java generating
both TeX output for high quality hard copies and HTML output for
sophisticated online browsing of your documentation. The documentation
is extracted directly from the C/C++/IDL header/source files or Java
class files.
Authors:
--------
Dragos Acostachioaie <dragos@biosfarm.ro>
Dan Fandrich <danf@npsnet.com>
Michael Meeks <michael@imaginator.com>
Frank Muzzulini <muzzulini@comsoft.de>
Thomas Wicklund <wicklund@intellistor.com>
Roland Wunderling
Malte Zoeckler
%prep
%setup -q
%patch
%patch1
%patch2
%patch3
%build
%configure
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f %{buildroot}%{_datadir}/locale/locale.alias
rm doc/manual/Makefile*
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING CREDITS NEWS PLATFORMS README REPORTING-BUGS doc/manual doc/doc++.conf doc/docxx-br.sty doc/docxx-fr.sty doc/docxx-ja.sty doc/docxx-ro.sty doc/docxx.sty
%{_bindir}/doc++
%{_bindir}/docify
%{_bindir}/promote
%changelog
* Tue Sep 23 2008 mrueckert@suse.de
- added doc++-4.3.10_dodgy_code.patch: (bnc#230339)
warning: comparisons like X<=Y<=Z do not have their mathematical
meaning
* Tue Nov 13 2007 mrueckert@suse.de
- fix build
* Tue Nov 13 2007 mrueckert@suse.de
- added doc++-4.3.10_gcc43.patch:
added missing includes and "using namespace" statements
- added doc++-4.3.10_missing_cxxflags.patch:
dont overwrite external CXXFLAGS
- minor specfile cleanup
* Fri Mar 30 2007 ro@suse.de
- added flex,bison to buildreq
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 02 2005 dmueller@suse.de
- don't build as root
* Tue Apr 19 2005 ro@suse.de
- fix build on x86_64
* Mon Aug 30 2004 nashif@suse.de
- Fixed for new flex
* Mon Apr 26 2004 nashif@suse.de
- initial release in build system.