libtclap/libtclap.spec

75 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: libtclap
Version: 1.2.5
Release: 1mamba
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: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://tclap.sourceforge.net/
Source: http://downloads.sourceforge.net/project/tclap/tclap-%{version}.tar.gz
License: MIT
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%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
%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
%{_libdir}/pkgconfig/*.pc
%doc AUTHORS COPYING
%doc ChangeLog NEWS README
%changelog
* Thu Nov 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-1mamba
- update to 1.2.5
* Tue Mar 23 2021 Automatic Build System <autodist@mambasoft.it> 1.2.4-1mamba
- automatic version update by autodist
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Wed Jan 10 2018 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Wed Oct 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
- fixed and rebuilt
* Mon Apr 02 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.2.1-1mamba
- package created by autospec