summaryrefslogtreecommitdiffstats
path: root/packages/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/rpm')
-rw-r--r--packages/rpm/doxygen.spec55
1 files changed, 33 insertions, 22 deletions
diff --git a/packages/rpm/doxygen.spec b/packages/rpm/doxygen.spec
index b5921f2..803b24c 100644
--- a/packages/rpm/doxygen.spec
+++ b/packages/rpm/doxygen.spec
@@ -1,8 +1,8 @@
Name: doxygen
-Version: 1.2.6_20010409
+Version: 1.2.6_20010422
Summary: documentation system for C, C++ and IDL
-Release: 1
-Source0: doxygen_%{version}.src.tar.gz
+Release: 2
+Source: doxygen_%{version}.src.tar.gz
Copyright: GPL
Group: unsorted
@@ -13,43 +13,54 @@ BuildRoot: /var/tmp/doxygen_%{version}.root
# requires Perl for tmake (Troll's make)
BuildPrereq: perl tetex
-%define prefix /usr
-
%description
+Doxygen is a documentation system for C and C++. It can generate an
+on-line class browser (in HTML) and/or an off-line reference manual
+(in LaTeX) from a set of documented source files. The documentation is
+extracted directly from the sources. Doxygen is developed on a Linux
+platform, but it runs on most other UNIX flavors as well. An
+executable for Windows 95/NT is also available.
+Author:
+--------
+ Dimitri van Heesch <dimitri@stack.nl>
-%prep
-%setup -n doxygen-%{version}
+%description -l de
+Doxygen ist ein Dokumentationssystem für C und C++. Es kann eine
+Klassenübersicht (in HTML) und/oder eine Referenz (in LaTeX) aus
+dokumentierten Quelldateien erzeugen. Die Dokumentation wird direkt aus
+den Quellen extrahiert. Doxygen wird auf einer Linux-Plattform
+entwickelt, funktioniert aber genauso auf den meisten andern Unix
+Dialekten. Das Programm ist auch für Windows 95/NT erhältlich.
+Author:
+--------
+ Dimitri van Heesch <dimitri@stack.nl>
+%prep
+%setup -n doxygen-%{version}
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix %{prefix} --with-doxywizard
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix /do_we_need_this_usr --with-doxywizard
make
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{prefix}/usr
-
-# install
-make INSTALL=$RPM_BUILD_ROOT%{prefix} install
-( cd $RPM_BUILD_ROOT
- mkdir -p ./usr/doc/packages
- mv .%{prefix}/doc/doxygen ./usr/doc/packages/doxygen
- mv .%{prefix}/doc/doxysearch ./usr/doc/packages/doxysearch
- mv .%{prefix}/doc/doxytag ./usr/doc/packages/doxytag
- mv .%{prefix}/doc/doxywizard ./usr/doc/packages/doxywizard
-)
+make install INSTALL=$RPM_BUILD_ROOT/usr DOCDIR=$RPM_BUILD_ROOT%{_docdir}/doxygen
+install -m 644 LICENSE LANGUAGE.HOWTO PLATFORMS README VERSION $RPM_BUILD_ROOT%{_docdir}/doxygen
%files
%defattr(-,root,root)
-%{prefix}/bin
-# %doc LANGUAGE.HOWTO LICENSE PLATFORMS VERSION README
-%doc %{prefix}/doc/packages/doxygen
+%attr(755,root,root) /usr/bin/*
+%doc %{_docdir}/doxygen
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Apr 16 2001 Jens Seidel <jensseidel@users.sourceforge.net>
+ - new decription (english, german)
+ - use of %{_docdir}
+ - added README, LICENSE, ... to install section
* Mon Mar 13 2000 Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
- inital version build with rpmify