[521] | 1 | Summary: SGML and XML parser |
---|
| 2 | Summary(ja): SGML, XML パーサ |
---|
| 3 | Name: opensp |
---|
| 4 | Version: 1.5.2 |
---|
[12538] | 5 | Release: 11%{?_dist_release} |
---|
| 6 | Group: publishing |
---|
| 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
[9058] | 9 | |
---|
| 10 | License: MIT |
---|
[521] | 11 | URL: http://openjade.sourceforge.net/ |
---|
| 12 | Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz |
---|
| 13 | Patch0: opensp-multilib.patch |
---|
| 14 | Patch1: opensp-nodeids.patch |
---|
| 15 | Patch2: opensp-sigsegv.patch |
---|
[9058] | 16 | Patch3: opensp-manpage.patch |
---|
[521] | 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[10529] | 19 | #BuildRequires: jadetex |
---|
[9058] | 20 | BuildRequires: xmlto |
---|
[521] | 21 | Requires: sgml-common >= 0.5 |
---|
| 22 | |
---|
| 23 | %description |
---|
| 24 | OpenSP is an implementation of the ISO/IEC 8879:1986 standard SGML |
---|
| 25 | (Standard Generalized Markup Language). OpenSP is based on James |
---|
| 26 | Clark's SP implementation of SGML. OpenSP is a command-line |
---|
| 27 | application and a set of components, including a generic API. |
---|
| 28 | |
---|
[12538] | 29 | |
---|
[521] | 30 | %package devel |
---|
| 31 | Summary: Files for developing applications that use OpenSP |
---|
[9058] | 32 | Summary(ja): OpenSP を用いるアプリケーションの開発に必要なファイル |
---|
[12538] | 33 | Group: programming |
---|
[521] | 34 | Requires: %{name} = %{version}-%{release} |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | Header files and libtool library for developing applications that use OpenSP. |
---|
| 38 | |
---|
| 39 | |
---|
[12538] | 40 | %debug_package |
---|
| 41 | |
---|
| 42 | |
---|
[521] | 43 | %prep |
---|
| 44 | %setup -q -n OpenSP-%{version} |
---|
| 45 | %patch0 -p1 -b .multilib |
---|
| 46 | %patch1 -p1 -b .nodeids |
---|
| 47 | %patch2 -p1 -b .sigsegv |
---|
[9058] | 48 | %patch3 -p1 -b .manpage |
---|
| 49 | # convert files to UTF-8 |
---|
| 50 | iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp |
---|
| 51 | mv -f ChangeLog.tmp ChangeLog |
---|
[521] | 52 | |
---|
[12538] | 53 | |
---|
[521] | 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 | |
---|
[9058] | 59 | # specify --skip-validation option |
---|
| 60 | make %{?_smp_mflags} XMLTO="%{_bindir}/xmlto --skip-validation" |
---|
| 61 | |
---|
[12538] | 62 | |
---|
[521] | 63 | %install |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 67 | |
---|
[9058] | 68 | # Get rid of libtool libraries |
---|
| 69 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
[521] | 70 | |
---|
| 71 | # oMy, othis ois osilly. |
---|
| 72 | for 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 |
---|
| 75 | done |
---|
| 76 | |
---|
| 77 | # |
---|
| 78 | # Rename sx to sgml2xml. |
---|
| 79 | mv $RPM_BUILD_ROOT%{_bindir}/sx $RPM_BUILD_ROOT%{_bindir}/sgml2xml |
---|
| 80 | mv $RPM_BUILD_ROOT%{_mandir}/man1/{sx,sgml2xml}.1 |
---|
| 81 | |
---|
| 82 | # |
---|
| 83 | # Clean out (installed) redundant copies of the docs and DTDs. |
---|
| 84 | rm -rf $RPM_BUILD_ROOT%{_docdir}/OpenSP |
---|
| 85 | rm -rf $RPM_BUILD_ROOT%{_datadir}/OpenSP |
---|
| 86 | |
---|
| 87 | %find_lang sp5 |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %check |
---|
| 91 | make check || : # failures as of 1.5.2pre1 :( |
---|
| 92 | |
---|
[12538] | 93 | |
---|
[521] | 94 | %clean |
---|
| 95 | rm -rf $RPM_BUILD_ROOT |
---|
| 96 | |
---|
[12538] | 97 | |
---|
[521] | 98 | %post -p /sbin/ldconfig |
---|
| 99 | %postun -p /sbin/ldconfig |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %files -f sp5.lang |
---|
| 103 | %defattr(-,root,root) |
---|
[12538] | 104 | %license COPYING |
---|
[521] | 105 | %doc doc/*.htm |
---|
| 106 | %doc docsrc/releasenotes.html |
---|
[12538] | 107 | %doc AUTHORS BUGS ChangeLog NEWS README |
---|
[521] | 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 |
---|
[12538] | 120 | * Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-11 |
---|
| 121 | - rebuilt with current environment. |
---|
| 122 | |
---|
[10529] | 123 | * Mon Jul 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.2-10 |
---|
| 124 | - rebuilt with new toolchain. |
---|
| 125 | |
---|
[9058] | 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 | |
---|
[8084] | 133 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.2-8 |
---|
| 134 | - rebuild with VineSeed environment |
---|
| 135 | |
---|
[3526] | 136 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.5.2-7 |
---|
| 137 | - rebuilt with rpm-4.8.1-3 |
---|
| 138 | |
---|
[521] | 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 | |
---|
[8084] | 175 | * Wed Dec 14 2005 Tim Waugh <twaugh@redhat.com> 1.5.1-2 |
---|
[521] | 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 | |
---|