From b6e746b2fb3c4428f6fd92dd9ff77d4108702e75 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:54:01 +0100 Subject: [PATCH] fixed and rebuilt [release 1.2.1-2mamba;Wed Oct 10 2012] --- README.md | 2 ++ libtclap.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 libtclap.spec diff --git a/README.md b/README.md index bb36aaa..0c56761 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libtclap +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. + diff --git a/libtclap.spec b/libtclap.spec new file mode 100644 index 0000000..ad8b111 --- /dev/null +++ b/libtclap.spec @@ -0,0 +1,63 @@ +Name: libtclap +Version: 1.2.1 +Release: 2mamba +Summary: A small, flexible library that provides a simple interface for defining and accessing command line arguments. +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://tclap.sourceforge.net/ +Source: http://netcologne.dl.sourceforge.net/project/tclap/tclap-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q -n tclap-%{version} + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/tclap +%{_includedir}/tclap/*.h +%{_libdir}/pkgconfig/*.pc +%dir %{_datadir}/doc/tclap +%dir %{_datadir}/doc/tclap/html +%{_datadir}/doc/tclap/html/* +%{_datadir}/doc/tclap/index.html +%{_datadir}/doc/tclap/manual.html +%{_datadir}/doc/tclap/style.css +%doc AUTHORS COPYING +%doc ChangeLog NEWS README + +%changelog +* Wed Oct 10 2012 Silvan Calarco 1.2.1-2mamba +- fixed and rebuilt + +* Mon Apr 02 2012 Ercole 'ercolinux' Carpanetto 1.2.1-1mamba +- package created by autospec