[packages/tclap] - pl, fixed md5, finished packaging - separated -apidocs (50 times larger than base, development pac

qboosh qboosh at pld-linux.org
Sun Nov 3 12:38:43 CET 2013


commit 3bb29afacb981e639c8bf8f1f52868426703bda9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Nov 3 12:38:52 2013 +0100

    - pl, fixed md5, finished packaging
    - separated -apidocs (50 times larger than base, development package)

 tclap.spec | 49 +++++++++++++++++++++++++++++++++++++++----------
 1 file changed, 39 insertions(+), 10 deletions(-)
---
diff --git a/tclap.spec b/tclap.spec
index 7e3e780..edabca3 100644
--- a/tclap.spec
+++ b/tclap.spec
@@ -1,20 +1,46 @@
-Summary:	Argument parser
+Summary:	Templatized C++ Command Line Argument Parser
+Summary(pl.UTF-8):	Analizator argumentów linii poleceń oparty na szablonach C++
 Name:		tclap
 Version:	1.2.1
 Release:	1
-License:	?
-Group:		Libraries
+License:	MIT
+Group:		Development/Libraries
 Source0:	http://downloads.sourceforge.net/tclap/%{name}-%{version}.tar.gz
-# Source0-md5:	2e7c950061e0085fd75d94576
+# Source0-md5:	eb0521d029bf3b1cc0dcaa7e42abf82a
 URL:		http://tclap.sourceforge.net/
+BuildRequires:	doxygen
+BuildRequires:	graphviz
 BuildRequires:	libstdc++-devel
+Requires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Just headers ?!
+TCLAP (Templatized Command Line Argument Parser) is a simple
+templatized C++ library for parsing command line arguments. The
+library provides a simple, flexible object-oriented interface to the
+command line that automates argument parsing, USAGE creation and type
+casting.
+
+%description -l p.UTF-8
+TCLAP (Templatized Command Line Argument Parser) to prosta biblioteka
+oparta na szablonach C++, służąca do analizy argumentów linii poleceń.
+Biblioteka zapewnia prosty, elastyczny, zorientowany obiektowo
+interfejs do linii poleceń, automatyzujący analizę argumentów,
+tworzenie opisu składni i rzutowanie typów.
+
+%package apidocs
+Summary:	TCLAP library documentation
+Summary(pl.UTF-8):	Dokumentacja biblioteki TCLAP
+Group:		Documentation
+
+%description apidocs
+TCLAP library documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja biblioteki TCLAP.
 
 %prep
-%setup -q -n %{name}-%{version}
+%setup -q
 
 %build
 %configure
@@ -31,7 +57,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
-%{_includedir}/%{name}
-%{_pkgconfigdir}/%{name}.pc
-%doc %{_docdir}/%{name}
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_includedir}/tclap
+%{_pkgconfigdir}/tclap.pc
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_docdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tclap.git/commitdiff/3bb29afacb981e639c8bf8f1f52868426703bda9



More information about the pld-cvs-commit mailing list