Author: glen                         Date: Tue Mar 10 00:36:06 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build apidocs

---- Files affected:
SPECS:
   libnl.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/libnl.spec
diff -u SPECS/libnl.spec:1.22 SPECS/libnl.spec:1.23
--- SPECS/libnl.spec:1.22       Fri Aug 29 22:31:33 2008
+++ SPECS/libnl.spec    Tue Mar 10 01:36:00 2009
@@ -1,9 +1,14 @@
 # $Revision$, $Date$
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs         # don't build api docs
+
 Summary:       Netlink library
 Summary(pl.UTF-8):     Biblioteka do obsługi gniazd netlink
 Name:          libnl
 Version:       1.1
-Release:       2
+Release:       3
 Epoch:         1
 License:       LGPL v2.1
 Group:         Libraries
@@ -15,6 +20,8 @@
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: linux-libc-headers >= 6:2.6.23
+%{?with_apidocs:BuildRequires: tetex-dvips}
+%{?with_apidocs:BuildRequires: tetex-format-latex}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -65,6 +72,7 @@
        --enable-verbose-errors
 
 %{__make}
+%{?with_apidocs:%{__make} -C doc gendoc}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -97,12 +105,21 @@
 %defattr(644,root,root,755)
 %{_libdir}/libnl.a
 
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%doc apidocs
+%endif
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[email protected]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2009/03/10 00:36:00  glen
+- build apidocs
+
 Revision 1.22  2008/08/29 20:31:33  glen
 - llh 2.6.23 for VLAN_FLAG_REORDER_HDR
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libnl.spec?r1=1.22&r2=1.23&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to