Search
SailfishOS Open Build Service
>
Projects
>
home:vgrade
:
ethereum
>
argtable
> argtable.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File argtable.spec of Package argtable
# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: argtable Version: 2.13 Release: 0 License: LGPL-2.0+ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc BuildRequires: autoconf BuildRequires: libtool BuildRequires: fdupes BuildRequires: pkgconfig Group: Development/Libraries/C and C++ Summary: ANSI C command line parser Url: http://argtable.sourceforge.net/ Source: %{name}-%{version}.tar.bz2 %description Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss. It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for generating a textual description of the command line syntax %package -n libargtable2-0 Group: Development/Libraries/C and C++ Summary: ANSI C command line parser %description -n libargtable2-0 Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss. It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for generating a textual description of the command line syntax %package -n libargtable2-devel Group: Development/Libraries/C and C++ Summary: ANSI C command line parser Requires: libargtable2-0 = %version %description -n libargtable2-devel Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss. It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for generating a textual description of the command line syntax %prep %setup -q %build %configure make %{?_smp_mflags} %install %makeinstall %fdupes %{buildroot} %post -n libargtable2-0 -p /sbin/ldconfig %postun -n libargtable2-0 -p /sbin/ldconfig %clean %{__rm} -rf $RPM_BUILD_ROOT %files -n libargtable2-0 %defattr(-,root,root,-) %{_libdir}/*.so.* %files -n libargtable2-devel %defattr(-,root,root,-) %{_includedir}/argtable2.h %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/*.a %{_libdir}/pkgconfig/* %doc %{_datadir}/doc/argtable2/ %doc %{_mandir}/man3/argtable* %changelog