SPECS: uriparser.spec - up to 0.7.5 - add tests bcond (enabled by default) ...

lisu lisu at pld-linux.org
Thu Mar 5 12:43:38 CET 2009


Author: lisu                         Date: Thu Mar  5 11:43:38 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.7.5
- add tests bcond (enabled by default) - handling of cpp tests (BRs: ccptest-devel and pkg-config)
- BRs: doxygen, graphviz-devel (for docs)
- run ./configure manually in docs in order to create regular Doxyfile
- more docs

---- Files affected:
SPECS:
   uriparser.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/uriparser.spec
diff -u SPECS/uriparser.spec:1.17 SPECS/uriparser.spec:1.18
--- SPECS/uriparser.spec:1.17	Tue Dec 23 14:35:32 2008
+++ SPECS/uriparser.spec	Thu Mar  5 12:43:33 2009
@@ -1,18 +1,25 @@
 # $Revision$, $Date$
+# Conditional build
+%bcond_without  tests	# disable 'make check'
+#
 Summary:	A strictly RFC 3986 compliant URI parsing library
 Summary(pl.UTF-8):	Biblioteka analizująca URI ściśle zgodne z RFC 3986
 Name:		uriparser
-Version:	0.7.4
+Version:	0.7.5
 Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/uriparser/%{name}-%{version}.tar.lzma
-# Source0-md5:	d607001bff462361c7486ac677922141
+# Source0-md5:	a87b79caa1258cf9f232b55fce66ff22
 URL:		http://uriparser.sourceforge.net/
 BuildRequires:	autoconf >= 2.61
 BuildRequires:	automake >= 1:1.10.1
+%{?with_tests:BuildRequires:	cpptest-devel >= 1.1.0}
+BuildRequires:	doxygen
+BuildRequires:	graphviz-devel
 BuildRequires:	libtool
 BuildRequires:	lzma >= 1:4.42
+%{?with_tests:BuildRequires:	pkg-config >= 0.9.0}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,8 +27,8 @@
 uriparser is cross-platform, fast, supports Unicode.
 
 %description -l pl.UTF-8
-uriparser to biblioteka analizująca URI ściśle zgodne z RFC 3986. Jest
-wieloplatformowa, szybka i obsługuje Unicode.
+uriparser to biblioteka analizująca URI ściśle zgodne z RFC 3986.
+Jest wieloplatformowa, szybka i obsługuje Unicode.
 
 %package devel
 Summary:	Header files for uriparser
@@ -51,13 +58,22 @@
 %setup -q -c -T
 lzma -dc %{SOURCE0} | tar xf - -C ..
 
-%build
+# configure first in doc, in order to create regular Doxyfile
+cd doc
 %{__libtoolize}
 %{__aclocal}
 %{__automake}
-%{__autoheader}
 %{__autoconf}
 %configure
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__automake}
+#%%{__autoheader}
+%{__autoconf}
+%configure \
+	 %{!?with_tests:--disable-test}
 %{__make}
 
 %install
@@ -74,7 +90,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog doc/*.{htm,txt}
+%doc AUTHORS COPYING ChangeLog doc/{*.{htm,txt},html}
 %attr(755,root,root) %{_libdir}/liburiparser.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/liburiparser.so.1
 
@@ -94,6 +110,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2009/03/05 11:43:33  lisu
+- up to 0.7.5
+- add tests bcond (enabled by default) - handling of cpp tests (BRs: ccptest-devel and pkg-config)
+- BRs: doxygen, graphviz-devel (for docs)
+- run ./configure manually in docs in order to create regular Doxyfile
+- more docs
+
 Revision 1.17  2008/12/23 13:35:32  lisu
 - 0.7.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/uriparser.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list