[packages/lensfun] - added apidocs subpackage, added more general docs

qboosh qboosh at pld-linux.org
Sat Nov 2 16:31:42 CET 2013


commit 7300ac140ac7b09735c4921bb13ceed77acca0f3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 2 16:31:50 2013 +0100

    - added apidocs subpackage, added more general docs

 lensfun.spec | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/lensfun.spec b/lensfun.spec
index 0038ac7..4abdfd7 100644
--- a/lensfun.spec
+++ b/lensfun.spec
@@ -44,6 +44,17 @@ lensfun library header files.
 %description devel -l pl.UTF-8
 Pliki nagłówkowe biblioteki lensfun.
 
+%package apidocs
+Summary:	lensfun API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki lensfun
+Group:		Documentation
+
+%description apidocs
+lensfun API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki lensfun.
+
 %prep
 %setup -q
 
@@ -63,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install/fast \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# packaged as %doc in -apidocs
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/lensfun-0.2.8.0
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -71,7 +85,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README docs/cc-by-sa-3.0.txt
+%doc README docs/{adobe-lens-profile,cc-by-sa-3.0,manual-main,mounts}.txt
 %attr(755,root,root) %{_libdir}/libauxfun.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libauxfun.so.0
 %attr(755,root,root) %{_libdir}/liblensfun.so.*.*.*
@@ -85,3 +99,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/auxfun
 %{_includedir}/lensfun
 %{_pkgconfigdir}/lensfun.pc
+
+%files apidocs
+%defattr(644,root,root,755)
+%doc build/doc_doxygen/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lensfun.git/commitdiff/7300ac140ac7b09735c4921bb13ceed77acca0f3



More information about the pld-cvs-commit mailing list