summaryrefslogtreecommitdiffstats
path: root/packages/rpm
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-08 21:32:24 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-05-08 21:32:24 (GMT)
commit23885c2f2db71f003578f0d1b44555c067bfd7a5 (patch)
treec4bbe961812e7008b9e85fd820596290c043c0f6 /packages/rpm
parent5d31b7ab211586100301d6838be82f066f8f9af4 (diff)
downloadDoxygen-23885c2f2db71f003578f0d1b44555c067bfd7a5.zip
Doxygen-23885c2f2db71f003578f0d1b44555c067bfd7a5.tar.gz
Doxygen-23885c2f2db71f003578f0d1b44555c067bfd7a5.tar.bz2
Release-1.4.2-20050508
Diffstat (limited to 'packages/rpm')
-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)