SHA256
1
0
forked from pool/doxygen
doxygen/doxywizard.spec

72 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package doxywizard
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: doxywizard
Version: 1.8.10
Release: 0
Summary: Graphical User Interface for Doxygen
License: GPL-2.0+
Group: Development/Tools/Doc Generators
Url: http://www.stack.nl/~dimitri/doxygen/
Source: http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
Source1: doxywizard.desktop
BuildRequires: bison
BuildRequires: cmake
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: libjpeg-devel
Requires: doxygen = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libqt4-devel >= 4.3
BuildRequires: update-desktop-files
%description
Doxywizard is a graphical front-end to read/edit/write doxygen
configuration files.
%prep
%setup -q -n doxygen-%{version}
%build
mkdir build
pushd build
cmake -G "Unix Makefiles" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=%{buildroot}/usr \
-Dbuild_wizard=ON \
..
make %{?_smp_mflags}
popd
%install
pushd build
make install %{?_smp_mflags}
popd
rm %{buildroot}%{_bindir}/doxygen
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 644 doc/doxywizard.1 %{buildroot}%{_mandir}/man1/
%suse_update_desktop_file -i doxywizard Development Documentation
%files
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/doxywizard
%{_datadir}/applications/doxywizard.desktop
%{_mandir}/man1/doxywizard.1.gz
%changelog