packages: neon/neon.spec - apidocs subpackage - man files are installde by ...
glen
glen at pld-linux.org
Mon Nov 8 12:56:35 CET 2010
Author: glen Date: Mon Nov 8 11:56:35 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- apidocs subpackage
- man files are installde by makefile
---- Files affected:
packages/neon:
neon.spec (1.94 -> 1.95)
---- Diffs:
================================================================
Index: packages/neon/neon.spec
diff -u packages/neon/neon.spec:1.94 packages/neon/neon.spec:1.95
--- packages/neon/neon.spec:1.94 Thu Nov 4 03:25:51 2010
+++ packages/neon/neon.spec Mon Nov 8 12:56:30 2010
@@ -1,10 +1,11 @@
# $Revision$, $Date$
#
# Conditional build:
+%bcond_without apidocs # do not build and package API docs
%bcond_without static_libs # don't build static libraries
%bcond_without kerberos5 # don't build Kerberos V support
%bcond_without libproxy # don't build libproxy support
-#
+
Summary: An HTTP and WebDAV client library
Summary(pl.UTF-8): Biblioteka kliencka HTTP i WebDAV
Name: neon
@@ -89,6 +90,17 @@
%description static -l pl.UTF-8
Statyczne biblioteki neon.
+%package apidocs
+Summary: neon API documentation
+Summary(pl.UTF-8): Dokumentacja API biblioteki neon
+Group: Documentation
+
+%description apidocs
+API and internal documentation for neon library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki neon.
+
%prep
%setup -q
@@ -114,9 +126,6 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-mv -f doc/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
-mv -f doc/man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
-
%find_lang %{name}
%clean
@@ -127,12 +136,13 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO doc/*.txt doc/html/*
+%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
%attr(755,root,root) %{_libdir}/libneon.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libneon.so.27
%files devel
%defattr(644,root,root,755)
+%doc doc/*.txt
%attr(755,root,root) %{_bindir}/neon-config
%attr(755,root,root) %{_libdir}/libneon.so
%{_libdir}/libneon.la
@@ -148,12 +158,22 @@
%{_libdir}/libneon.a
%endif
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/html/*
+%endif
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.95 2010/11/08 11:56:30 glen
+- apidocs subpackage
+- man files are installde by makefile
+
Revision 1.94 2010/11/04 02:25:51 shadzik
- rel 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/neon/neon.spec?r1=1.94&r2=1.95&f=u
More information about the pld-cvs-commit
mailing list