]> git.pld-linux.org Git - packages/tclap.git/blob - tclap.spec
- disable debug packages; not noarch just because of pkgconfigdir
[packages/tclap.git] / tclap.spec
1 Summary:        Templatized C++ Command Line Argument Parser
2 Summary(pl.UTF-8):      Analizator argumentów linii poleceń oparty na szablonach C++
3 Name:           tclap
4 Version:        1.2.5
5 Release:        1
6 License:        MIT
7 Group:          Development/Libraries
8 Source0:        https://downloads.sourceforge.net/tclap/%{name}-%{version}.tar.gz
9 # Source0-md5:  346a92acf9b364dfbff0a6df03c8a59e
10 URL:            https://tclap.sourceforge.net/
11 BuildRequires:  doxygen
12 BuildRequires:  graphviz
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  rpm-build >= 4.6
15 Requires:       libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _enable_debug_packages  0
19
20 %description
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
38 BuildArch:      noarch
39
40 %description apidocs
41 TCLAP library documentation.
42
43 %description apidocs -l pl.UTF-8
44 Dokumentacja biblioteki TCLAP.
45
46 %prep
47 %setup -q
48
49 %build
50 %configure
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
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)
64 %doc AUTHORS COPYING ChangeLog README
65 %{_includedir}/tclap
66 %{_pkgconfigdir}/tclap.pc
67
68 %files apidocs
69 %defattr(644,root,root,755)
70 %{_docdir}/%{name}
This page took 0.155492 seconds and 4 git commands to generate.