1 Summary: Options and Parameter parsing Tool
2 Summary(pl.UTF-8): Narzędzie do analizowania opcji oraz parametrów
7 Source0: http://nis-www.lanl.gov/~jt/Software/opt/%{name}-%{version}.tar.gz
8 # Source0-md5: 587171c4e15a40adde8aa1b3d77328e9
9 Group: Development/Libraries
10 BuildRequires: readline-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 opt is a library of subroutines for communicating options and
15 parameter values to a C program via the command line, parameter files,
16 environment variables, or a rudimentary builtin interactive menu. It
17 is similar in aims to the standard getopt() utility, but it has a
18 different (I would say better) interface to the programmer, and a few
19 more bells and whistles for the end-users of programs that employ opt.
21 %description -l pl.UTF-8
22 opt jest biblioteką zawierającą funkcje pozwalające analizować opcje i
23 parametry w programie C przesyłane przez linię poleceń, pliki z
24 parametrami, zmienne środowiska lub wbudowane interaktywne menu. opt
25 jest podobny do tego do czego dąży standardowa funkcja getopt() ale ma
26 inny (lepszy) interfejs programisty oraz więcej możliwości.
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
48 %post -p /sbin/postshell
49 -/usr/sbin/fix-info-dir -c %{_infodir}
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog NEWS