cleanup specfile

This commit is contained in:
Than Ngo 2006-05-12 12:24:38 +00:00
parent 2c634d2e93
commit 6866286717
1 changed files with 12 additions and 14 deletions

View File

@ -4,7 +4,7 @@
Summary: A documentation system for C/C++. Summary: A documentation system for C/C++.
Name: doxygen Name: doxygen
Version: 1.4.6 Version: 1.4.6
Release: 3 Release: 4
Epoch: 1 Epoch: 1
Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
@ -60,7 +60,6 @@ are used by doxygen.
%if %{with_qt} %if %{with_qt}
QTDIR="" && . /etc/profile.d/qt.sh QTDIR="" && . /etc/profile.d/qt.sh
%endif %endif
export OLD_PO_FILE_INPUT=yes
./configure \ ./configure \
--prefix %{_prefix} \ --prefix %{_prefix} \
@ -72,29 +71,28 @@ export OLD_PO_FILE_INPUT=yes
--install %{_bindir}/install --install %{_bindir}/install
make %{?_smp_mflags} all make %{?_smp_mflags} all
%if %{with_qt}
make docs make docs
%endif
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf %{buildroot}
export OLD_PO_FILE_INPUT=yes make install INSTALL=%{buildroot}%{_prefix}
make install INSTALL=$RPM_BUILD_ROOT%{_prefix}
%if !%{with_qt}
rm -rf %{buildroot}%{_mandir}/man1/doxywizard*
%endif
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LANGUAGE.HOWTO README examples %doc LANGUAGE.HOWTO README examples
%{_bindir}/*
%{_mandir}/man1/*
%doc html %doc html
%if %{with_qt} %{_bindir}/doxygen
%exclude %{_bindir}/doxywizard %{_bindir}/doxytag
%exclude %{_mandir}/man1/doxywizard* %{_mandir}/man1/doxygen.1*
%endif %{_mandir}/man1/doxytag.1*
%if %{with_qt} %if %{with_qt}
%files doxywizard %files doxywizard