rpms/ots/devel ots.spec,1.1,1.2

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Tue Apr 5 18:39:17 UTC 2005


Author: caolanm

Update of /cvs/extras/rpms/ots/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4192

Modified Files:
	ots.spec 
Log Message:
rh#153732# apply user contributed patch


Index: ots.spec
===================================================================
RCS file: /cvs/extras/rpms/ots/devel/ots.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ots.spec	14 Mar 2005 22:36:09 -0000	1.1
+++ ots.spec	5 Apr 2005 18:39:15 -0000	1.2
@@ -1,18 +1,16 @@
 Name: ots
 Summary: A text summarizer
 Version: 0.4.2
-Release: 4
+Release: 5
 License: GPL
 Group: System Environment/Libraries
 Source: http://prdownloads.sourceforge.net/libots/ots-%{version}.tar.gz
-Patch1: ots-0.2.0-nodocs.patch
-Patch2: ots-0.4.2-gcc4.patch
+Patch1: ots-0.4.2-gcc4.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: pkgconfig >= 0.8
 Requires: glib2 >= 2.0
 BuildRequires: glib2-devel >= 2.0
 BuildRequires: libxml2-devel >= 2.4.23
-BuildRequires: automake16
 
 %description
 The open text summarizer is an open source tool for summarizing texts.
@@ -34,21 +32,19 @@
 
 %prep
 %setup -q 
-%patch1 -p1 -b .nodocs
-%patch2 -p1 -b .gcc4
+%patch1 -p1 -b .gcc4
 
 %build
-# until patch1 goes away
-automake-1.6
-autoconf
 
-%configure
+%configure --disable-gtk-doc \
+	--with-html-dir=$RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/ots
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %makeinstall
-
+# Currently, ots generates empty API docs.
+rm -rf $RPM_BUILD_ROOT/%{_datadir}/gtk-doc
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
@@ -63,7 +59,7 @@
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %{_bindir}/ots
 %{_libdir}/*.so.*
-#{_mandir}/*/*
+%{_mandir}/*/*
 %{_datadir}/ots
 
 %files devel
@@ -74,6 +70,12 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Wed Mar 16 2005 Toshio Kuratomi <toshio at tiki-lounge.com> - 0.4.2-5
+- Reenable man page.
+- Disable rebuilding documentation via configure switch instead of an automake
+  requiring patch.
+- Remove the API documentation for now as it is just a placeholder.
+
 * Wed Mar  2 2005 Caolan McNamara <caolanm at redhat.com> - 0.4.2-4
 - rebuild with gcc4
 - small lvalue assign patch




More information about the fedora-extras-commits mailing list