From e01f902ec8cc9f8aa417e68522b6b66c29be9669 Mon Sep 17 00:00:00 2001 From: dimitri Date: Wed, 22 Mar 2000 18:59:08 +0000 Subject: spec file to build an .rpm --- packages/rpm/doxygen.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 packages/rpm/doxygen.spec diff --git a/packages/rpm/doxygen.spec b/packages/rpm/doxygen.spec new file mode 100644 index 0000000..2bf6c74 --- /dev/null +++ b/packages/rpm/doxygen.spec @@ -0,0 +1,52 @@ +Name: doxygen +Version: 1.1.1-20000319 +Summary: documentation system for C, C++ and IDL +Release: 1 +Source0: doxygen-%{version}.src.tar.gz + +Copyright: GPL +Group: unsorted +URL: http://www.stack.nl/~dimitri/doxygen +Packager: Matthias Andree +BuildRoot: /var/tmp/doxygen-%{version}.root + +# requires Perl for tmake (Troll's make) +BuildPrereq: perl tetex + +%define prefix /usr + +%description + + +%prep +%setup -n doxygen-%{version} + + + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix %{prefix} +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 +) + +%files +%defattr(-,root,root) +%{prefix}/bin +# %doc LANGUAGE.HOWTO LICENSE PLATFORMS VERSION README +%doc %{prefix}/doc/packages/doxygen + +%clean +rm -rf $RPM_BUILD_ROOT + +%changelog +* Mon Mar 13 2000 Matthias Andree + - inital version build with rpmify -- cgit v0.12