rpms/ots/FC-5 ots.spec,1.4,1.5

Michael J Knox (mjk) fedora-extras-commits at redhat.com
Sat May 20 20:27:10 UTC 2006


Author: mjk

Update of /cvs/extras/rpms/ots/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4298/FC-5

Modified Files:
	ots.spec 
Log Message:
taking ownership of ots, importing back into devel



Index: ots.spec
===================================================================
RCS file: /cvs/extras/rpms/ots/FC-5/ots.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ots.spec	9 Jun 2005 01:35:54 -0000	1.4
+++ ots.spec	20 May 2006 20:27:09 -0000	1.5
@@ -1,16 +1,16 @@
-Name: ots
-Summary: A text summarizer
-Version: 0.4.2
-Release: 7
-License: GPL
-Group: System Environment/Libraries
-Source: http://prdownloads.sourceforge.net/libots/ots-%{version}.tar.gz
-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
+Name: 		ots
+Summary: 	A text summarizer
+Version: 	0.4.2
+Release: 	8%{?dist}
+License: 	GPL
+URL:		http://libots.sourceforge.net/
+Group: 		System Environment/Libraries
+Source0: 	http://prdownloads.sourceforge.net/libots/ots-%{version}.tar.gz
+Patch0: 	ots-0.4.2-gcc4.patch
+BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: 	glib2 >= 2.0
+BuildRequires: 	glib2-devel >= 2.0, libxml2-devel >= 2.4.23, pkgconfig >= 0.8
 
 %description
 The open text summarizer is an open source tool for summarizing texts.
@@ -18,13 +18,10 @@
 which are not.
  
 %package devel
-Summary: Libraries and include files for developing with libots.
-Group: Development/Libraries
-Requires: %{name} = %{version}
-Requires: pkgconfig >= 0.8
-Requires: glib2 >= 2.0
-Requires: glib2-devel >= 2.0
-
+Summary: 	Libraries and include files for developing with libots.
+Group: 		Development/Libraries
+Requires: 	%{name} = %{version}
+Requires: 	pkgconfig >= 0.8, glib2 >= 2.0, glib2-devel >= 2.0
 
 %description devel
 This package provides the necessary development libraries and include
@@ -32,23 +29,23 @@
 
 %prep
 %setup -q 
-%patch1 -p1 -b .gcc4
+%patch0 -p1 -b .gcc4
 
 %build
 
 %configure --disable-gtk-doc \
-	--with-html-dir=$RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/ots
+	--with-html-dir=%{buildroot}%{_datadir}/gtk-doc/html/ots
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 %makeinstall
 # Currently, ots generates empty API docs.
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/gtk-doc
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -rf %{buildroot}/%{_datadir}/gtk-doc
+rm -f %{buildroot}%{_libdir}/*.la
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
 
 %post -p /sbin/ldconfig
 
@@ -70,6 +67,9 @@
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Sun May 21 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.4.2-8
+- rebuild and spec tidy
+
 * Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 0.4.2-7
 - rebuild on all arches
 




More information about the scm-commits mailing list