[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texi2html-cvs] texi2html texi2html.spec.in

From: Patrice Dumas
Subject: [Texi2html-cvs] texi2html texi2html.spec.in
Date: Sun, 09 Sep 2007 21:02:25 +0000

CVSROOT:        /cvsroot/texi2html
Module name:    texi2html
Changes by:     Patrice Dumas <pertusus>        07/09/09 21:02:25

Modified files:
        .              : texi2html.spec.in 

Log message:
        Incorporate elements of fedora package spec file.
        Generate a vesion dependent changelog.


Index: texi2html.spec.in
RCS file: /cvsroot/texi2html/texi2html/texi2html.spec.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- texi2html.spec.in   14 Nov 2005 11:13:58 -0000      1.3
+++ texi2html.spec.in   9 Sep 2007 21:02:25 -0000       1.4
@@ -1,26 +1,27 @@
 Release: 1
-#Epoch: 0
-License: GPL
+# GPLv2+ is for the code
+# OFSFDL (Old FSF Documentation License) for the documentation
+# CC-BY-SA or GPLv2 for the images
+License: GPLv2+ and OFSFDL and (CC-BY-SA or GPLv2)
 Group: Applications/Text
 Summary: A highly customizable texinfo to HTML and other formats translator
-Source: http://savannah.nongnu.org/download/texi2html/%{name}-%{version}.tar.gz
 URL: http://www.nongnu.org/texi2html/
-BuildArch: noarch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# You may want to uncomment the following
-#BuildRequires: perl
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
 # perl is picked up automatically in most cases and the package may have 
 # a different name so it is better not to require it. Moreover such old perl
 # is unlikely to show up in a rpm based distribution.
 #Requires: perl >= 5.004
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
-# uncomment this if you want to build a relocatable package
-#Prefix: %{_prefix}
+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
 The basic purpose of texi2html is to convert Texinfo documents into HTML, 
@@ -38,10 +39,13 @@
 make install DESTDIR=$RPM_BUILD_ROOT 
-#%find_lang %{name}
 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 
@@ -54,15 +58,26 @@
-%doc AUTHORS NEWS README ChangeLog %{name}.init
+%doc AUTHORS COPYING ChangeLog NEWS README TODO %{name}.init
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/i18n/
+%dir %{_datadir}/%{name}/images/
+%dir %{_datadir}/texinfo
+%dir %{_sysconfdir}/texinfo
+* Sun Sep  9 2007 Patrice Dumas <address@hidden> @address@hidden
+- update to @PACKAGE_VERSION@
 * Mon Nov 14 2005 Patrice Dumas <address@hidden> 1.77-1
 - cleanups

reply via email to

[Prev in Thread] Current Thread [Next in Thread]