summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-05-08 21:32:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-05-08 21:32:24 (GMT)
commit5bd970b12ec39636593453d12e5b64bd935bbf38 (patch)
treec4bbe961812e7008b9e85fd820596290c043c0f6 /packages
parent4a8c2f5c896a1883a0611d972952a68498002ae5 (diff)
downloadDoxygen-5bd970b12ec39636593453d12e5b64bd935bbf38.zip
Doxygen-5bd970b12ec39636593453d12e5b64bd935bbf38.tar.gz
Doxygen-5bd970b12ec39636593453d12e5b64bd935bbf38.tar.bz2
Release-1.4.2-20050508
Diffstat (limited to 'packages')
-rw-r--r--packages/rpm/build.sh21
-rw-r--r--packages/rpm/doxygen.spec15
2 files changed, 27 insertions, 9 deletions
diff --git a/packages/rpm/build.sh b/packages/rpm/build.sh
new file mode 100644
index 0000000..64ab34b
--- /dev/null
+++ b/packages/rpm/build.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+set -e
+
+[ $(whoami) == "root" ] || {
+echo "Don't I need to be root to make RPM packages ?"
+}
+
+RPMBUILDPLACE=/usr/src/RPM/
+
+cp doxygen.spec $RPMBUILDPLACE/SPECS
+
+ls *.patch && {
+cp *.patch $RPMBUILDPLACE/SOURCES
+}
+
+cp ../../../doxygen*.gz $RPMBUILDPLACE/SOURCES
+
+urpmi --auto rpm-build libqt3-devel flex tetex-latex dvips
+
+rpm -ba SPECS/doxygen.spec
diff --git a/packages/rpm/doxygen.spec b/packages/rpm/doxygen.spec
index 83bdc23..b27d9d7 100644
--- a/packages/rpm/doxygen.spec
+++ b/packages/rpm/doxygen.spec
@@ -1,16 +1,14 @@
Summary: A documentation system for C/C++.
Name: doxygen
-Version: 1.4.2_20050421
+Version: 1.4.2
Release: 1
Epoch: 1
Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
-Patch: doxygen-1.2.7-redhat.patch
-Patch1: doxygen-1.2.12-qt2.patch
Group: Development/Tools
License: GPL
Url: http://www.stack.nl/~dimitri/doxygen/index.html
Prefix: %{_prefix}
-BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl
+BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
@@ -24,20 +22,18 @@ source files.
Summary: A GUI for creating and editing configuration files.
Group: User Interface/X
Requires: %{name} = %{version}
-BuildPrereq: qt-devel => 2.3.0
+BuildPrereq: qt3-devel => 2.3.0, flex
Requires: qt >= 2.3.0
-
+
%description doxywizard
Doxywizard is a GUI for creating and editing configuration files that
are used by doxygen.
%prep
%setup -q
-%patch -p1 -b .redhat
-%patch1 -p1 -b .qt2
%build
-QTDIR="" && . /etc/profile.d/qt.sh
+QTDIR="" && . /etc/profile.d/qt*.sh
export OLD_PO_FILE_INPUT=yes
./configure --prefix %{_prefix} --shared --release --with-doxywizard
@@ -57,6 +53,7 @@ rm -rf ${RPM_BUILD_ROOT}
%doc LANGUAGE.HOWTO README examples html
%{_bindir}/doxygen
%{_bindir}/doxytag
+%doc /usr/man/man1/*
%files doxywizard
%defattr(-,root,root)