rpms/xqilla/devel xqilla.spec,1.4,1.5

Milan Zazrivec (mzazrive) fedora-extras-commits at redhat.com
Fri Feb 29 10:59:58 UTC 2008


Author: mzazrive

Update of /cvs/pkgs/rpms/xqilla/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6631

Modified Files:
	xqilla.spec 
Log Message:
Create xqilla-doc package for xqilla documentation



Index: xqilla.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xqilla/devel/xqilla.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- xqilla.spec	20 Feb 2008 11:33:14 -0000	1.4
+++ xqilla.spec	29 Feb 2008 10:59:22 -0000	1.5
@@ -7,7 +7,7 @@
 Summary: XQilla is an XQuery and XPath 2.0 library, built on top of Xerces-C
 Group: System Environment/Libraries
 Version: 2.0.0
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: ASL 2.0
 URL: http://xqilla.sourceforge.net/HomePage
 # Original upstream source:
@@ -25,6 +25,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
 BuildRequires: xerces-c-devel >= 2.7.0 
 BuildRequires: autoconf automake libtool
+BuildRequires: doxygen graphviz
 
 Patch0: xqilla-xercesc-libdir.patch
 Patch1: xqilla-cstring.patch
@@ -48,6 +49,13 @@
 more powerful API. It conforms to the W3C proposed recomendation of XQuery
 and XPath 2.0.
 
+%package doc
+Group: Documentation
+Summary: XQilla documentation
+
+%description doc
+simple-api and dom3-api documentation for XQilla.
+
 %prep
 %setup -q -b 1 -n XQilla-2.0.0
 cp -p %{SOURCE2} src/mapm
@@ -68,6 +76,7 @@
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
+make docs
 
 %install
 rm -rf %{buildroot}
@@ -76,6 +85,11 @@
 find %{buildroot} -name '*.la' -exec rm -f '{}' ';'
 mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
 cp -pr ChangeLog LICENSE %{buildroot}%{_defaultdocdir}/%{name}-%{version}
+cp -pr docs/dom3-api docs/simple-api \
+        %{buildroot}%{_defaultdocdir}/%{name}-%{version}
+for file in `find %{buildroot}%{_defaultdocdir}/%{name}-%{version}`; do\
+        if ! [ -s "$file" ]; then rm -f "$file"; fi;
+done
 
 %clean
 rm -rf %{buildroot}
@@ -96,6 +110,9 @@
 %{_includedir}/xqilla
 
 %changelog
+* Fri Feb 29 2008 Milan Zazrivec <mzazrivec at redhat.com> 2.0.0-5
+- Create xqilla-doc package for xqilla documentation
+
 * Wed Feb 20 2008 Milan Zazrivec <mzazrivec at redhat.com> - 2.0.0-4
 - Fix Requires: value for xqilla-devel
 




More information about the fedora-extras-commits mailing list