libtclap/libtclap.spec

67 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: libtclap
Version: 1.2.2
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: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://tclap.sourceforge.net/
Source: http://downloads.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 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