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