|
@@ -2,17 +2,21 @@ Summary: SGML and XML parser
|
|
|
Summary(ja): SGML, XML パーサ
|
|
|
Name: opensp
|
|
|
Version: 1.5.2
|
|
|
-Release: 8%{?_dist_release}
|
|
|
+Release: 9%{?_dist_release}
|
|
|
+
|
|
|
+License: MIT
|
|
|
+Group: Applications/Text
|
|
|
URL: http://openjade.sourceforge.net/
|
|
|
+
|
|
|
Source: http://download.sourceforge.net/openjade/OpenSP-%{version}.tar.gz
|
|
|
Patch0: opensp-multilib.patch
|
|
|
Patch1: opensp-nodeids.patch
|
|
|
Patch2: opensp-sigsegv.patch
|
|
|
-License: BSD
|
|
|
-Group: Applications/Text
|
|
|
+Patch3: opensp-manpage.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildRequires: xmlto, jadetex
|
|
|
+BuildRequires: jadetex
|
|
|
+BuildRequires: xmlto
|
|
|
Requires: sgml-common >= 0.5
|
|
|
|
|
|
Vendor: Project Vine
|
|
@@ -26,6 +30,7 @@ application and a set of components, including a generic API.
|
|
|
|
|
|
%package devel
|
|
|
Summary: Files for developing applications that use OpenSP
|
|
|
+Summary(ja): OpenSP を用いるアプリケーションの開発に必要なファイル
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
@@ -38,21 +43,26 @@ Header files and libtool library for developing applications that use OpenSP.
|
|
|
%patch0 -p1 -b .multilib
|
|
|
%patch1 -p1 -b .nodeids
|
|
|
%patch2 -p1 -b .sigsegv
|
|
|
+%patch3 -p1 -b .manpage
|
|
|
+# convert files to UTF-8
|
|
|
+iconv -f latin1 -t utf8 ChangeLog -o ChangeLog.tmp
|
|
|
+mv -f ChangeLog.tmp ChangeLog
|
|
|
|
|
|
%build
|
|
|
%configure --disable-dependency-tracking --disable-static --enable-http \
|
|
|
--enable-default-catalog=%{_sysconfdir}/sgml/catalog \
|
|
|
--enable-default-search-path=%{_datadir}/sgml:%{_datadir}/xml
|
|
|
-make %{?_smp_mflags}
|
|
|
+
|
|
|
+# specify --skip-validation option
|
|
|
+make %{?_smp_mflags} XMLTO="%{_bindir}/xmlto --skip-validation"
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
-# Fix up libtool libraries
|
|
|
-find $RPM_BUILD_ROOT -name '*.la' | \
|
|
|
- xargs perl -p -i -e "s|-L$RPM_BUILD_DIR[\w/.-]*||g"
|
|
|
+# Get rid of libtool libraries
|
|
|
+rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
# oMy, othis ois osilly.
|
|
|
for file in nsgmls sgmlnorm spam spent sx ; do
|
|
@@ -72,18 +82,13 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/OpenSP
|
|
|
|
|
|
%find_lang sp5
|
|
|
|
|
|
-## remove unuse files
|
|
|
-rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
-
|
|
|
|
|
|
%check
|
|
|
make check || : # failures as of 1.5.2pre1 :(
|
|
|
|
|
|
-
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
@@ -106,6 +111,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Nov 3 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.5.2-9
|
|
|
+- converted doc files to UTF
|
|
|
+- added XMLTO option to build on current xmlto
|
|
|
+- added Patch3 from FC
|
|
|
+ * Thu Aug 15 2013 Ondrej Vasik <ovasik@redhat.com> - 1.5.2-18
|
|
|
+ - fix the inconsistency between man page and help (#854941)
|
|
|
+
|
|
|
* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.5.2-8
|
|
|
- rebuild with VineSeed environment
|
|
|
|