Sync from SUSE:ALP:Source:Standard:1.0 tclap revision 751134ff5833041a44ca001694d72ace

This commit is contained in:
Adrian Schröter 2023-08-01 14:17:21 +02:00
commit e838ec598f
7 changed files with 219 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<package>tclap-doc</package>
</multibuild>

BIN
tclap-1.2.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

9
tclap-doc.changes Normal file
View File

@ -0,0 +1,9 @@
-------------------------------------------------------------------
Wed May 4 08:46:06 UTC 2022 - Marcus Meissner <meissner@suse.com>
- switch to https source url
-------------------------------------------------------------------
Tue May 26 11:48:54 UTC 2020 - Martin Liška <mliska@suse.cz>
- New split sub-package.

65
tclap-doc.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package tclap-doc
#
# Copyright (c) 2023 SUSE LLC
#
# 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
Version: 1.2.5
Release: 0
Summary: API Documentation for %{name}
License: MIT
Group: Development/Libraries/C and C++
URL: http://tclap.sourceforge.net/
Source0: https://downloads.sourceforge.net/tclap/tclap-%{version}.tar.gz
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

49
tclap.changes Normal file
View File

@ -0,0 +1,49 @@
-------------------------------------------------------------------
Thu May 4 11:55:35 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Add _multibuild to define 2nd spec file as additional flavor.
Eliminates the need for source package links in OBS.
-------------------------------------------------------------------
Sun Nov 28 19:54:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.2.5:
* Fixes compilation issue with GCC 11 and later
* Improvements to test framework
-------------------------------------------------------------------
Sat Apr 17 02:42:04 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 1.2.4
* Minor obscure bug fixes
* Fixed ZshCompletionOutput
-------------------------------------------------------------------
Tue May 26 11:48:40 UTC 2020 - Martin Liška <mliska@suse.cz>
- Split -doc subpackage to a different spec file.
-------------------------------------------------------------------
Fri Dec 11 11:14:58 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Use url for source
- Enable testsuite
- Remove conditions which apply to unsuppoerted distributions
- Drop no longer needed tclap-remove_Wextra.patch
-------------------------------------------------------------------
Fri Oct 21 08:24:01 UTC 2011 - tony@daylessday.org
- Updated to version 1.2.1. Several minor bugs and memory leaks were fixed.
-------------------------------------------------------------------
Sat Sep 24 18:47:27 UTC 2011 - andreas.stieger@gmx.de
- remove dependency on licenses, not in factory anymore
-------------------------------------------------------------------
Sat Jan 9 10:50:38 UTC 2010 - pascal.bleser@opensuse.org
- initial package (1.2.0)

66
tclap.spec Normal file
View File

@ -0,0 +1,66 @@
#
# spec file for package tclap
#
# Copyright (c) 2023 SUSE LLC
#
# 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
Version: 1.2.5
Release: 0
Summary: Templatized C++ Command Line Parser
License: MIT
Group: Development/Libraries/C and C++
URL: http://tclap.sourceforge.net
Source0: https://downloads.sourceforge.net/tclap/tclap-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
Provides: libtclap = %{version}
Provides: libtclap-devel = %{version}
%description
TCLAP is a small, flexible library that provides a simple interface for
defining and accessing command line arguments. It was intially inspired by the
user friendly CLAP libary. The difference is that this library is templatized,
so the argument class is type independent. Type independence avoids
identical-except-for-type objects, such as IntArg, FloatArg, and StringArg.
While the library is not strictly compliant with the GNU or POSIX standards, it
is close.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
install -d "%{buildroot}%{_docdir}/%{name}"
mv "%{buildroot}%{_datadir}/doc/tclap" "%{buildroot}%{_docdir}/%{name}/html"
rm -rf "%{buildroot}%{_docdir}/%{name}"
%check
%make_build check
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_includedir}/tclap
%{_libdir}/pkgconfig/tclap.pc
%changelog