rpms/texi2html/devel texi2html.spec,1.14,1.15

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Tue Aug 28 12:13:01 UTC 2007


Author: pertusus

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

Modified Files:
	texi2html.spec 
Log Message:
* Tue Aug 28 2007 Patrice Dumas <pertusus at free.fr> 1.78-2
- Requires latex2html and perl(Text::Unidecode)
- add ownership for directories common for the texinfo implementations
- correct license



Index: texi2html.spec
===================================================================
RCS file: /cvs/extras/rpms/texi2html/devel/texi2html.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- texi2html.spec	6 Jun 2007 04:27:53 -0000	1.14
+++ texi2html.spec	28 Aug 2007 12:12:29 -0000	1.15
@@ -1,7 +1,10 @@
 Name: texi2html
 Version: 1.78
-Release: 1%{?dist}
-License: GPL
+Release: 2%{?dist}
+# GPLv2+ is for the code
+# MIT-like for the documentation
+# CC-BY-SA or GPLv2 for the images
+License: GPLv2+ and MIT-like and (CC-BY-SA or GPLv2)
 Group: Applications/Text
 Summary: A highly customizable texinfo to HTML and other formats translator
 Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.bz2
@@ -9,6 +12,11 @@
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
 Requires: perl >= 5.004
+Requires: latex2html
+BuildRequires: perl(Text::Unidecode) 
+# not detected automatically because it is required at runtime based on
+# user configuration
+Requires: perl(Text::Unidecode)
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 
@@ -30,15 +38,20 @@
 make install DESTDIR=$RPM_BUILD_ROOT 
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
+# directories shared by all the texinfo implementations for common
+# config files, like htmlxref.cnf
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/texinfo $RPM_BUILD_ROOT%{_sysconfdir}/texinfo
+
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
+/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
 
 %preun
 if [ $1 = 0 ]; then
-  /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
+  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
 fi
 
 %files
@@ -55,8 +68,15 @@
 %{_datadir}/%{name}/i18n/*
 %dir %{_datadir}/%{name}/images/
 %{_datadir}/%{name}/images/*
+%dir %{_datadir}/texinfo
+%dir %{_sysconfdir}/texinfo
 
 %changelog
+* Tue Aug 28 2007 Patrice Dumas <pertusus at free.fr> 1.78-2
+- Requires latex2html and perl(Text::Unidecode)
+- add ownership for directories common for the texinfo implementations
+- correct license
+
 * Wed Jun  6 2007 Jindrich Novy <jnovy at redhat.com> 1.78-1
 - update to 1.78
 




More information about the fedora-extras-commits mailing list