source: projects/specs/trunk/t/texi2html/texi2html-vl.spec @ 521

Revision 521, 4.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: A highly customizable texinfo to HTML and other formats translator
2Name: texi2html
3Version: 1.78
4Release: 4%{?_dist_release}
5
6# GPLv2+ is for the code
7# OFSFDL (Old FSF Documentation License) for the documentation
8# CC-BY-SA or GPLv2 for the images
9License: GPLv2+ and OFSFDL and (CC-BY-SA or GPLv2)
10Group: Applications/Text
11URL: http://www.nongnu.org/texi2html/
12
13Source0: http://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.bz2
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16BuildArch: noarch
17Requires(post): /sbin/install-info
18Requires(preun): /sbin/install-info
19Requires: perl >= 5.004
20Requires: latex2html
21BuildRequires: perl(Text::Unidecode)
22# not detected automatically because it is required at runtime based on
23# user configuration
24Requires: perl(Text::Unidecode)
25
26%description
27The basic purpose of texi2html is to convert Texinfo documents into HTML,
28and other formats.  Configuration files written in perl provide fine degree
29of control over the final output, allowing most every aspect of the final
30output not specified in the Texinfo input file to be specified. 
31
32%prep
33%setup -q
34
35%build
36%configure
37make %{?_smp_mflags}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41make install DESTDIR=$RPM_BUILD_ROOT
42rm -f $RPM_BUILD_ROOT%{_infodir}/dir
43
44# directories shared by all the texinfo implementations for common
45# config files, like htmlxref.cnf
46mkdir -p $RPM_BUILD_ROOT%{_datadir}/texinfo $RPM_BUILD_ROOT%{_sysconfdir}/texinfo
47
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%post
53/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
54
55%preun
56if [ $1 = 0 ]; then
57  /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
58fi
59
60%files
61%defattr(-,root,root,-)
62%doc AUTHORS COPYING ChangeLog NEWS README TODO %{name}.init
63%{_bindir}/%{name}
64%{_datadir}/texinfo/html/%{name}.html
65%{_mandir}/man*/%{name}*
66%{_infodir}/%{name}.info*
67%dir %{_datadir}/%{name}
68%{_datadir}/%{name}/*.init
69%{_datadir}/%{name}/*.texi
70%dir %{_datadir}/%{name}/i18n/
71%{_datadir}/%{name}/i18n/*
72%dir %{_datadir}/%{name}/images/
73%{_datadir}/%{name}/images/*
74%dir %{_datadir}/texinfo
75%dir %{_sysconfdir}/texinfo
76
77%changelog
78* Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 1.78-4vl5
79- applied new versioning policy
80
81* Fri Jan 11 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.78-3vl1
82- fix Release number.
83
84* Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.78-0vl1
85- initial build for Vine Linux
86
87* Tue Aug 28 2007 Patrice Dumas <pertusus@free.fr> 1.78-3
88- use the right license tag for the documentation
89
90* Tue Aug 28 2007 Patrice Dumas <pertusus@free.fr> 1.78-2
91- Requires latex2html and perl(Text::Unidecode)
92- add ownership for directories common for the texinfo implementations
93- correct license
94
95* Wed Jun  6 2007 Jindrich Novy <jnovy@redhat.com> 1.78-1
96- update to 1.78
97
98* Wed Feb 14 2007 Jindrich Novy <jnovy@redhat.com> 1.77-0.1.20070214cvs
99- update to 1.77 release candidate (#226487)
100
101* Fri Jan  5 2007 Jindrich Novy <jnovy@redhat.com> 1.76-6
102- fix post/preun scriptlets so that they won't fail with docs disabled
103  (thanks to Ville Skyttä)
104
105* Wed Nov 29 2006 Jindrich Novy <jnovy@redhat.com> 1.76-5
106- replace PreReq, fix BuildRoot
107
108* Thu Aug 24 2006 Jindrich Novy <jnovy@redhat.com> 1.76-4.fc6
109- correct URLs, name patch backups correctly
110
111* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.76-3.1
112- rebuild
113
114* Sat Feb 25 2006 Jindrich Novy <jnovy@redhat.com> 1.76-3
115- PreReq info (#182888)
116
117* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
118- rebuilt
119
120* Tue Mar 08 2005 Jindrich Novy <jnovy@redhat.com> 1.76-2
121- replace %%configure with ./configure to prevent definition of
122  target, build and host for noarch package
123
124* Fri Feb 18 2005 Jindrich Novy <jnovy@redhat.com> 1.76-1
125- we have separate texi2html package now (#121889)
126- fix Source0
127- BuildArchitectures -> BuildArch
128- create backups for patches
129
130* Thu Feb 10 2005 MATSUURA Takanori <t-matsuu@estyle.ne.jp> - 1.76-0
131- updated to 1.76
132
133* Mon Jan 10 2005 MATSUURA Takanori <t-matsuu@estyle.ne.jp> - 1.72-1.fc3
134- initial build for Fedora Core 3 based on spec file in source tarball
135
136* Mon Mar 23 2004 Patrice Dumas <pertusus@free.fr> 0:1.69-0.fdr.1
137- Initial build.
Note: See TracBrowser for help on using the repository browser.