From 019f80bb3f95d9e087cd0d0987e77fba7219ad4fcff71f667e5209fb1f2d8aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 01:05:21 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main tclap revision 751134ff5833041a44ca001694d72ace --- .gitattributes | 23 ++++++++++++++++ _multibuild | 4 +++ tclap-1.2.5.tar.gz | 3 +++ tclap-doc.changes | 9 +++++++ tclap-doc.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++ tclap.changes | 49 ++++++++++++++++++++++++++++++++++ tclap.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 219 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 tclap-1.2.5.tar.gz create mode 100644 tclap-doc.changes create mode 100644 tclap-doc.spec create mode 100644 tclap.changes create mode 100644 tclap.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..d9a1abe --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + + tclap-doc + + diff --git a/tclap-1.2.5.tar.gz b/tclap-1.2.5.tar.gz new file mode 100644 index 0000000..aaf0ee5 --- /dev/null +++ b/tclap-1.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb649f76dae35e8d0dcba4b52acfd4e062d787e6a81b43f7a4b01275153165a6 +size 4140723 diff --git a/tclap-doc.changes b/tclap-doc.changes new file mode 100644 index 0000000..cb898fe --- /dev/null +++ b/tclap-doc.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Wed May 4 08:46:06 UTC 2022 - Marcus Meissner + +- switch to https source url + +------------------------------------------------------------------- +Tue May 26 11:48:54 UTC 2020 - Martin Liška + +- New split sub-package. diff --git a/tclap-doc.spec b/tclap-doc.spec new file mode 100644 index 0000000..559d850 --- /dev/null +++ b/tclap-doc.spec @@ -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 diff --git a/tclap.changes b/tclap.changes new file mode 100644 index 0000000..05add24 --- /dev/null +++ b/tclap.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Thu May 4 11:55:35 UTC 2023 - Dominique Leuenberger + +- 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 + +- 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 + +- Update to 1.2.4 + * Minor obscure bug fixes + * Fixed ZshCompletionOutput + +------------------------------------------------------------------- +Tue May 26 11:48:40 UTC 2020 - Martin Liška + +- 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) + diff --git a/tclap.spec b/tclap.spec new file mode 100644 index 0000000..f6389cd --- /dev/null +++ b/tclap.spec @@ -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