1 Summary: An ANSI C library for parsing GNU style command line arguments
6 Group: Development/Libraries
7 Source0: http://dl.sourceforge.net/argtable/%{name}-%{version}.tar.gz
8 # Source0-md5: e1d5035992b29b45c5abad2b3487e096
9 URL: http://argtable.sourceforge.net/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Argtable is an ANSI C library for parsing GNU style command line
16 arguments. It enables a program's command line syntax to be defined in
17 the source code as an array of argtable structs. The command line is
18 then parsed according to that specification and the resulting values
19 are returned in those same structs where they are accessible to the
20 main program. Both tagged (-v, --verbose, --foo=bar) and untagged
21 arguments are supported, as are multiple instances of each argument.
22 Syntax error handling is automatic and the library also provides the
23 means for displaying the command line syntax directly from the array
24 of argument specifications.
27 Summary: Header files for argtable2 library
28 Summary(pl): Pliki nag³ówkowe biblioteki argtable2
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
33 Header files for argtable2 library.
35 %description devel -l pl
36 Pliki nag³ówkowe biblioteki argtable2.
39 Summary: Static argtable2 library
40 Summary(pl): Statyczna biblioteka argtable2
41 Group: Development/Libraries
42 Requires: %{name}-devel = %{version}-%{release}
45 Static argtable2 library.
47 %description static -l pl
48 Statyczna biblioteka argtable2.
58 rm -rf $RPM_BUILD_ROOT
61 DESTDIR=$RPM_BUILD_ROOT
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
75 %defattr(644,root,root,755)
76 %doc example doc/*.{ps,gif,html,pdf}
77 %attr(755,root,root) %{_libdir}/lib*.so
80 %{_datadir}/%{name}.def
84 %defattr(644,root,root,755)