source: projects/specs/trunk/o/opensp/opensp-vl.spec @ 12538

Revision 12538, 5.3 KB checked in by tomop, 3 years ago (diff)

updated 7 packages

aqbanking-6.2.8-1

gnucash-4.4-1

gwenhywfar-5.6.0-1

libofx-0.10.1-1

libxml++-2.42.0-1

openjade-1.3.2-34

opensp-1.5.2-11

Line 
1Summary: SGML and XML parser
2Summary(ja): SGML, XML パーサ
3Name: opensp
4Version: 1.5.2
5Release: 11%{?_dist_release}
6Group: publishing
7Vendor: Project Vine
8Distribution: Vine Linux
9
10License: MIT
11URL: http://openjade.sourceforge.net/
12Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
13Patch0: opensp-multilib.patch
14Patch1: opensp-nodeids.patch
15Patch2: opensp-sigsegv.patch
16Patch3: opensp-manpage.patch
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19#BuildRequires: jadetex
20BuildRequires: xmlto
21Requires: sgml-common >= 0.5
22
23%description
24OpenSP is an implementation of the ISO/IEC 8879:1986 standard SGML
25(Standard Generalized Markup Language). OpenSP is based on James
26Clark's SP implementation of SGML. OpenSP is a command-line
27application and a set of components, including a generic API.
28
29
30%package devel
31Summary: Files for developing applications that use OpenSP
32Summary(ja): OpenSP を用いるアプリケーションの開発に必要なファイル
33Group: programming
34Requires: %{name} = %{version}-%{release}
35
36%description devel
37Header files and libtool library for developing applications that use OpenSP.
38
39
40%debug_package
41
42
43%prep
44%setup -q -n OpenSP-%{version}
45%patch0 -p1 -b .multilib
46%patch1 -p1 -b .nodeids
47%patch2 -p1 -b .sigsegv
48%patch3 -p1 -b .manpage
49# convert files to UTF-8
50iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp
51mv -f ChangeLog.tmp ChangeLog
52
53
54%build
55%configure --disable-dependency-tracking --disable-static --enable-http \
56 --enable-default-catalog=%{_sysconfdir}/sgml/catalog \
57 --enable-default-search-path=%{_datadir}/sgml:%{_datadir}/xml
58
59# specify --skip-validation option
60make %{?_smp_mflags} XMLTO="%{_bindir}/xmlto --skip-validation"
61
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66make install DESTDIR=$RPM_BUILD_ROOT
67
68# Get rid of libtool libraries
69rm $RPM_BUILD_ROOT%{_libdir}/*.la
70
71# oMy, othis ois osilly.
72for file in nsgmls sgmlnorm spam spent sx ; do
73   ln -s o$file $RPM_BUILD_ROOT%{_bindir}/$file
74   echo ".so man1/o${file}.1" > $RPM_BUILD_ROOT%{_mandir}/man1/${file}.1
75done
76
77#
78# Rename sx to sgml2xml.
79mv $RPM_BUILD_ROOT%{_bindir}/sx $RPM_BUILD_ROOT%{_bindir}/sgml2xml
80mv $RPM_BUILD_ROOT%{_mandir}/man1/{sx,sgml2xml}.1
81
82#
83# Clean out (installed) redundant copies of the docs and DTDs.
84rm -rf $RPM_BUILD_ROOT%{_docdir}/OpenSP
85rm -rf $RPM_BUILD_ROOT%{_datadir}/OpenSP
86
87%find_lang sp5
88
89
90%check
91make check || : # failures as of 1.5.2pre1 :(
92
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101
102%files -f sp5.lang
103%defattr(-,root,root)
104%license COPYING
105%doc doc/*.htm
106%doc docsrc/releasenotes.html
107%doc AUTHORS BUGS ChangeLog NEWS README
108%doc pubtext/opensp-implied.dcl
109%{_bindir}/*
110%{_libdir}/libosp.so.*
111%{_mandir}/man1/*.1*
112
113%files devel
114%defattr(-,root,root)
115%{_includedir}/OpenSP/
116%{_libdir}/libosp.so
117
118
119%changelog
120* Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-11
121- rebuilt with current environment.
122
123* Mon Jul  4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-10
124- rebuilt with new toolchain.
125
126* Mon Nov  3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.5.2-9
127- converted doc files to UTF
128- added XMLTO option to build on current xmlto
129- added Patch3 from FC
130  * Thu Aug 15 2013 Ondrej Vasik <ovasik@redhat.com> - 1.5.2-18
131  - fix the inconsistency between man page and help (#854941)
132
133* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.2-8
134- rebuild with VineSeed environment
135
136* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.5.2-7
137- rebuilt with rpm-4.8.1-3
138
139* Fri Feb 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.2-6
140- rebuilt with new toolchain
141
142* Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.5.2-5vl5
143- removed *.la
144- spec in utf-8
145
146* Sun May 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5.2-4vl5
147- added Patch1 and 2 from Fedora
148  * Thu Jun 21 2007 Ondrej Vasik <ovasik@redhat.com>
149  - fixed SIGSEGV (bug #245104)
150  * Mon Feb 12 2007 Tim Waugh <twaugh@redhat.com>
151  - Give IDs to nodes in the release notes source to prevent releasenotes.html
152    having multilib conflicts (bug #228320).
153
154* Wed May 09 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.5.2-3vl1
155- based on FC6 1.5.2-3.1, built on new toolchain
156
157* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.5.2-3.1
158- rebuild
159
160* Tue Jun 13 2006 Tim Waugh <twaugh@redhat.com> 1.5.2-3
161- Fixed multilib fix (bug #194702).
162
163* Fri May 26 2006 Tim Waugh <twaugh@redhat.com> 1.5.2-2
164- Fixed multilib devel conflicts (bug #192741).
165
166* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.2-1.2
167- bump again for double-long bug on ppc(64)
168
169* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.2-1.1
170- rebuilt for new gcc4.1 snapshot and glibc changes
171
172* Thu Jan  5 2006 Tim Waugh <twaugh@redhat.com>  1.5.2-1
173- 1.5.2.
174
175* Wed Dec 14 2005 Tim Waugh <twaugh@redhat.com>  1.5.1-2
176- Backported patch from 1.5.2pre1 to fix ArcEngine crash.
177
178* Tue Dec 13 2005 Tim Waugh <twaugh@redhat.com>  1.5.1-1
179- Back down to 1.5.1 for now.
180- Fixes for GCC4.1.
181
182* Sun Dec  4 2005 Ville Skytt辰 <ville.skytta at iki.fi> - 1.5.2-0.1.pre1
183- Fix build dependencies.
184- Require exact version of main package in -devel.
185- Build with dependency tracking disabled.
186- Add %%{_datadir}/xml to default search path.
187- Run test suite during build.
188- Add URL tag.
189- Use %%find_lang.
190- Cosmetic improvements.
191
192* Tue Nov 29 2005 Terje Bless <link@pobox.com> 1.5.2-0.pre1
193- New package OpenSP.
194
Note: See TracBrowser for help on using the repository browser.