rpms/unrtf/devel .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 unrtf.spec, 1.14, 1.15 unrtf-0.20.2-fb2ansi.patch, 1.1, NONE unrtf-0.20.2-in_pict.patch, 1.1, NONE

Rahul Sundaram sundaram at fedoraproject.org
Mon Jun 7 12:24:26 UTC 2010


Author: sundaram

Update of /cvs/pkgs/rpms/unrtf/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22236

Modified Files:
	.cvsignore sources unrtf.spec 
Removed Files:
	unrtf-0.20.2-fb2ansi.patch unrtf-0.20.2-in_pict.patch 
Log Message:
* Mon Jun 07 2010 Rahul Sundaram <sundaram at fedoraproject.org> - 0.21.1-1
- Bump up to the latest release
- Drop patches
- Update description
- License has changed from GPLv2+ to GPLv3+
- Update spec to match latest guidelines



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/unrtf/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- .cvsignore	8 Sep 2006 14:15:15 -0000	1.4
+++ .cvsignore	7 Jun 2010 12:24:25 -0000	1.5
@@ -1 +1 @@
-unrtf_0.20.2.tar.gz
+unrtf-0.21.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/unrtf/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	8 Sep 2006 14:15:15 -0000	1.4
+++ sources	7 Jun 2010 12:24:26 -0000	1.5
@@ -1 +1 @@
-6f2cfe9c94ab61f698c08ca8c07cac67  unrtf_0.20.2.tar.gz
+ce069646837d0a2c15b439a5529afde8  unrtf-0.21.1.tar.gz


Index: unrtf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/unrtf/devel/unrtf.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- unrtf.spec	27 Jul 2009 06:34:56 -0000	1.14
+++ unrtf.spec	7 Jun 2010 12:24:26 -0000	1.15
@@ -1,46 +1,57 @@
 Name:		unrtf
-Summary:	RTF to other formats converter
-Version:	0.20.2
-Release:	6%{?dist}
+Summary:	RTF (Rich Text Format) to other formats converter
+Version:	0.21.1
+Release:	1%{?dist}
 
 Group:		Applications/Text
-License:	GPLv2+
+License:	GPLv3+
 URL:		http://www.gnu.org/software/unrtf/unrtf.html
-Source0:	http://www.gnu.org/software/unrtf/unrtf_%{version}.tar.gz
-Patch0:     unrtf-0.20.2-fb2ansi.patch
-Patch1:     unrtf-0.20.2-in_pict.patch
-Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:	http://www.gnu.org/software/unrtf/unrtf-%{version}.tar.gz
 
 %description
-UnRTF is a moderately complicated converter from RTF to other
-formats, including HTML, LaTeX, text, and PostScript. Converting
-to HTML, it supports tables, fonts, colors, embedded images,
-hyperlinks, paragraph alignment among other things. All other
-conversions are "alpha"--just begun.
+UnRTF is a command-line program written in C which converts documents in 
+Rich Text Format (.rtf) to HTML, LaTeX, troff macros, and RTF itself. 
+Converting to HTML, it supports a number of features of Rich Text Format:
+    * Changes in the text's font, size, weight (bold), and slant (italic)
+    * Underlines and strikethroughs
+    * Partial support for text shadowing, outlining, embossing, or engraving
+    * Capitalizations
+    * Superscripts and subscripts
+    * Expanded and condensed text
+    * Changes in the foreground and background colors
+    * Conversion of special characters to HTML entities 
 
 %prep
-%setup -q -n %{name}_%{version}
-%patch0 -p1 -b .fb2ansi
-%patch1 -p1 -b .in_pict
+%setup -q 
+# unrtf has a hard coded path for looking for config files
+sed -i -e 's#/usr/local/lib/unrtf/#%{_sysconfdir}/unrtf/#' src/main.h 
+sed -i -e 's#/usr/local/lib/unrtf/#%{_sysconfdir}/unrtf/#' src/path.h 
 
 %build
 %configure
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
+mkdir -p %{buildroot}%{_sysconfdir}/unrtf/
+mv %{buildroot}%{_libdir}/unrtf/*.conf %{buildroot}%{_sysconfdir}/unrtf/
 
 %files
-%defattr(-, root, root)
+%defattr(-, root, root,-)
 %doc README ChangeLog COPYING AUTHORS NEWS
 %{_bindir}/%{name}
 %{_mandir}/man1/*
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%{_libdir}/%{name}/
+%config(noreplace) %{_sysconfdir}/%{name}/
 
 %changelog
+* Mon Jun 07 2010 Rahul Sundaram <sundaram at fedoraproject.org> - 0.21.1-1
+- Bump up to the latest release
+- Drop patches
+- Update description
+- License has changed from GPLv2+ to GPLv3+
+- Update spec to match latest guidelines
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


--- unrtf-0.20.2-fb2ansi.patch DELETED ---


--- unrtf-0.20.2-in_pict.patch DELETED ---



More information about the scm-commits mailing list