source: projects/specs/trunk/d/docbook2X/docbook2X-vl.spec @ 12170

Revision 12170, 4.1 KB checked in by tomop, 5 years ago (diff)

updated netfilter packages

docbook2X-0.8.8-5
libnftnl-1.1.4-1
iptables-1.8.3-1
nftables-0.9.2-1

Line 
1Name:           docbook2X
2Version:        0.8.8
3Release:        5%{?_dist_release}
4Summary:        Convert DocBook documents into man and Texinfo
5Summary(ja):    DocBook ドキュメントを man と Texinfo へ変換
6
7Group:          Applications/Text
8License:        BSD
9URL:            http://docbook2x.sourceforge.net/
10Source0:        http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
11
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15Patch0:        01_fix_static_datadir_evaluation.patch
16Patch1:        02_fix_418703_dont_use_abbreviated_sfnet_address.patch
17Patch2:        03_fix_420153_filename_whitespace_handling.patch
18Patch3:        04_fix_442782_preprocessor_declaration_syntax.patch
19Patch4:        05_fix_439214_error_on_missing_refentry.patch
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22
23BuildRequires:  perl libxslt openjade texinfo opensp
24# required by the perl -c calls during build
25BuildRequires:  perl-XML-SAX
26# rpmlint isn't happy with libxslt, but we need xsltproc
27Requires:       libxslt openjade texinfo %{_bindir}/sgml2xml
28Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
29Requires(post): /sbin/install-info
30Requires(preun): /sbin/install-info
31
32%description
33docbook2X converts DocBook documents into man pages and Texinfo
34documents.
35
36%description -l ja
37docbook2X は DocBook ドキュメントを man ページと Texinfo ドキュメントへ
38変換します。
39
40%prep
41%setup -q
42%patch0 -p1
43%patch1 -p1
44%patch2 -p1
45%patch3 -p1
46%patch4 -p1
47
48%build
49# to avoid clashing with docbook2* from docbook-utils
50%configure --program-transform-name='s/docbook2/db2x_docbook2/'
51make %{?_smp_mflags}
52rm -rf __dist_html
53mkdir -p __dist_html/html
54cp -p doc/*.html __dist_html/html
55
56
57%install
58rm -rf $RPM_BUILD_ROOT
59make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -c -p'
60rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
61rm -f $RPM_BUILD_ROOT%{_infodir}/dir
62
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post
68/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
69
70%preun
71if [ $1 = 0 ]; then
72   /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
73fi
74
75%files
76%defattr(-,root,root,-)
77%doc COPYING README THANKS AUTHORS __dist_html/html/
78%{_bindir}/db2x_manxml
79%{_bindir}/db2x_texixml
80%{_bindir}/db2x_xsltproc
81%{_bindir}/db2x_docbook2man
82%{_bindir}/db2x_docbook2texi
83%{_bindir}/sgml2xml-isoent
84%{_bindir}/utf8trans
85%dir %{_datadir}/docbook2X
86%{_datadir}/docbook2X/VERSION
87%dir %{_datadir}/docbook2X/charmaps
88%dir %{_datadir}/docbook2X/dtd
89%dir %{_datadir}/docbook2X/xslt
90%{_datadir}/docbook2X/charmaps/*
91%{_datadir}/docbook2X/dtd/*
92%{_datadir}/docbook2X/xslt/*
93%{_mandir}/man1/*.1*
94%{_infodir}/docbook2*
95
96
97%changelog
98* Mon Sep 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-5
99- rebuild with perl-5.26.
100
101* Wed Jul  8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.8.8-4
102- rebuilt to fix dependency.
103
104* Sat Jul 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.8-3
105- rebuilt with current environment
106- fix %%{_bindir}/sgml2xml to opensp in BuildRequires
107
108* Tue Sep 8 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.8-2
109- added Patch0,1,2,3,4 from Debian
110
111* Mon Mar 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.8.8-1vl5
112- initial build for VineSeed
113
114* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-4
115- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
116
117* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8.8-3
118Rebuild for new perl
119
120* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-2
121- Autorebuild for GCC 4.3
122
123* Wed Aug  8 2007 Patrice Dumas <pertusus@free.fr> 0.8.8-1
124- update to 0.8.8
125
126* Mon Sep 11 2006 Patrice Dumas <pertusus@free.fr> 0.8.7-2
127- correct the perl-XML-SAX to be perl(XML::SAX::ParserFactory)
128
129* Thu May 18 2006 Patrice Dumas <pertusus@free.fr> - 0.8.7-1
130- update to 0.8.7
131
132* Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> - 0.8.6-1
133- update to 0.8.6
134- drop patch as SGMLSpl.pm is included in the scripts, not distributed
135- BR perl-XML-SAX (close 188481)
136
137* Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> - 0.8.5-2
138- rebuild for fc5
139
140* Fri Feb  3 2006 Patrice Dumas <pertusus@free.fr> - 0.8.5-1
141- FE submission
Note: See TracBrowser for help on using the repository browser.