]>
Commit | Line | Data |
---|---|---|
3bb29afa JB |
1 | Summary: Templatized C++ Command Line Argument Parser |
2 | Summary(pl.UTF-8): Analizator argumentów linii poleceń oparty na szablonach C++ | |
d1a6bfa9 | 3 | Name: tclap |
4 | Version: 1.2.1 | |
04974ee1 | 5 | Release: 3 |
3bb29afa JB |
6 | License: MIT |
7 | Group: Development/Libraries | |
d1a6bfa9 | 8 | Source0: http://downloads.sourceforge.net/tclap/%{name}-%{version}.tar.gz |
3bb29afa | 9 | # Source0-md5: eb0521d029bf3b1cc0dcaa7e42abf82a |
d1a6bfa9 | 10 | URL: http://tclap.sourceforge.net/ |
3bb29afa JB |
11 | BuildRequires: doxygen |
12 | BuildRequires: graphviz | |
d1a6bfa9 | 13 | BuildRequires: libstdc++-devel |
3bb29afa | 14 | Requires: libstdc++-devel |
d1a6bfa9 | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
3bb29afa JB |
18 | TCLAP (Templatized Command Line Argument Parser) is a simple |
19 | templatized C++ library for parsing command line arguments. The | |
20 | library provides a simple, flexible object-oriented interface to the | |
21 | command line that automates argument parsing, USAGE creation and type | |
22 | casting. | |
23 | ||
24 | %description -l p.UTF-8 | |
25 | TCLAP (Templatized Command Line Argument Parser) to prosta biblioteka | |
26 | oparta na szablonach C++, służąca do analizy argumentów linii poleceń. | |
27 | Biblioteka zapewnia prosty, elastyczny, zorientowany obiektowo | |
28 | interfejs do linii poleceń, automatyzujący analizę argumentów, | |
29 | tworzenie opisu składni i rzutowanie typów. | |
30 | ||
31 | %package apidocs | |
32 | Summary: TCLAP library documentation | |
33 | Summary(pl.UTF-8): Dokumentacja biblioteki TCLAP | |
34 | Group: Documentation | |
318a61ee | 35 | BuildArch: noarch |
3bb29afa JB |
36 | |
37 | %description apidocs | |
38 | TCLAP library documentation. | |
39 | ||
40 | %description apidocs -l pl.UTF-8 | |
41 | Dokumentacja biblioteki TCLAP. | |
d1a6bfa9 | 42 | |
43 | %prep | |
3bb29afa | 44 | %setup -q |
d1a6bfa9 | 45 | |
46 | %build | |
47 | %configure | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
d1a6bfa9 | 52 | %{__make} install \ |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
3bb29afa JB |
60 | %doc AUTHORS COPYING ChangeLog NEWS README |
61 | %{_includedir}/tclap | |
62 | %{_pkgconfigdir}/tclap.pc | |
63 | ||
64 | %files apidocs | |
65 | %defattr(644,root,root,755) | |
66 | %{_docdir}/%{name} |