2020-05-28 13:20:48 +02:00
|
|
|
#
|
|
|
|
# spec file for package tclap-doc
|
|
|
|
#
|
2021-04-22 17:37:20 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2020-05-28 13:20:48 +02:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: tclap-doc
|
2021-11-30 22:09:06 +01:00
|
|
|
Version: 1.2.5
|
2020-05-28 13:20:48 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: API Documentation for %{name}
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2021-11-30 22:09:06 +01:00
|
|
|
URL: http://tclap.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/tclap/tclap-%{version}.tar.gz
|
2020-05-28 13:20:48 +02:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
This package contains the API documentation for TCLAP, the Templatized
|
|
|
|
C++ Command Line Parser.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n tclap-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-doxygen
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
install -d "%{buildroot}%{_docdir}/%{name}"
|
|
|
|
|
|
|
|
mv "%{buildroot}%{_datadir}/doc/tclap" "%{buildroot}%{_docdir}/%{name}/html"
|
|
|
|
rm -rf "%{buildroot}%{_docdir}/%{name}/html/html/CVS"
|
|
|
|
|
|
|
|
%fdupes -s "%{buildroot}%{_docdir}/%{name}/html"
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_includedir}/tclap
|
|
|
|
rm -f %{buildroot}/%{_libdir}/pkgconfig/tclap.pc
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc %dir %{_docdir}/%{name}
|
|
|
|
%doc %{_docdir}/%{name}/html
|
|
|
|
|
|
|
|
%changelog
|