Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
1763
config.guess
vendored
1763
config.guess
vendored
File diff suppressed because it is too large
Load Diff
2918
config.sub
vendored
2918
config.sub
vendored
File diff suppressed because it is too large
Load Diff
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
|
15
openjade-configure-c99.patch
Normal file
15
openjade-configure-c99.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/configure b/configure
|
||||||
|
index 89206c1..98bc43a 100755
|
||||||
|
--- a/configure
|
||||||
|
+++ b/configure
|
||||||
|
@@ -3417,8 +3417,8 @@ main ()
|
||||||
|
for (i = 0; i < 256; i++)
|
||||||
|
if (XOR (islower (i), ISLOWER (i))
|
||||||
|
|| toupper (i) != TOUPPER (i))
|
||||||
|
- exit(2);
|
||||||
|
- exit (0);
|
||||||
|
+ return 2;
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
_ACEOF
|
||||||
|
rm -f conftest$ac_exeext
|
193
openjade.spec
193
openjade.spec
@ -1,38 +1,49 @@
|
|||||||
Summary: A DSSSL implementation
|
Summary: A DSSSL implementation
|
||||||
Name: openjade
|
Name: openjade
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 57%{?dist}
|
Release: 82%{?dist}
|
||||||
Requires: sgml-common
|
Requires: sgml-common
|
||||||
URL: http://openjade.sourceforge.net/
|
URL: http://openjade.sourceforge.net/
|
||||||
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
Source: http://download.sourceforge.net/openjade/openjade-%{version}.tar.gz
|
||||||
#config.sub and config.guess from upstream sources (Mar 25th 2013).
|
|
||||||
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
|
|
||||||
#http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
|
|
||||||
#I can't get them from autoreconf, because of the very strange openjade structure of config files
|
|
||||||
Source2:config.guess
|
|
||||||
Source3:config.sub
|
|
||||||
#fix build on ppc64
|
|
||||||
Patch0: openjade-ppc64.patch
|
|
||||||
#do not link against -lnsl
|
|
||||||
Patch1: openjade-1.3.1-nsl.patch
|
|
||||||
#Fix dependent libs for libogrove (bug #198232).
|
|
||||||
Patch2: openjade-deplibs.patch
|
|
||||||
#do not require OpenSP libosp.la file for build(#485114)
|
|
||||||
Patch3: openjade-nola.patch
|
|
||||||
#upstream bug tracker fix for build with gcc46
|
|
||||||
Patch4: openjade-1.3.2-gcc46.patch
|
|
||||||
#use Getopt:Std to prevent build failure
|
|
||||||
Patch5: openjade-getoptperl.patch
|
|
||||||
License: DMIT
|
|
||||||
Group: Applications/Text
|
|
||||||
|
|
||||||
#Last jade version is from Red Hat 6.2
|
# I can't get them from autoreconf, because of the very strange openjade structure of config files
|
||||||
|
# 'config.sub' and 'config.guess' from upstream sources (2023-01-21 and 2023-01-01 respectivelly).
|
||||||
|
# https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
||||||
|
Source2: config.guess
|
||||||
|
# https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||||
|
Source3: config.sub
|
||||||
|
|
||||||
|
# Fix build on ppc64
|
||||||
|
Patch0: openjade-ppc64.patch
|
||||||
|
|
||||||
|
# Do not link against -lnsl
|
||||||
|
Patch1: openjade-1.3.1-nsl.patch
|
||||||
|
|
||||||
|
# Fix dependent libs for libogrove (bug #198232).
|
||||||
|
Patch2: openjade-deplibs.patch
|
||||||
|
|
||||||
|
# Do not require OpenSP libosp.la file for build(#485114)
|
||||||
|
Patch3: openjade-nola.patch
|
||||||
|
|
||||||
|
# Upstream bug tracker fix for build with gcc46
|
||||||
|
Patch4: openjade-1.3.2-gcc46.patch
|
||||||
|
|
||||||
|
# Use Getopt:Std to prevent build failure
|
||||||
|
Patch5: openjade-getoptperl.patch
|
||||||
|
|
||||||
|
Patch6: openjade-configure-c99.patch
|
||||||
|
License: LicenseRef-DMIT
|
||||||
|
|
||||||
|
# Last jade version is from Red Hat 6.2
|
||||||
Provides: jade = %{version}-%{release}
|
Provides: jade = %{version}-%{release}
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: opensp-devel
|
BuildRequires: opensp-devel
|
||||||
|
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl-POSIX
|
||||||
|
BuildRequires: perl-Getopt-Std
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
|
OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
|
||||||
@ -42,15 +53,8 @@ command-line application and a set of components. The DSSSL engine
|
|||||||
inputs an SGML or XML document and can output a variety of formats:
|
inputs an SGML or XML document and can output a variety of formats:
|
||||||
XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
|
XML, RTF, TeX, MIF (FrameMaker), SGML, or XML.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -n %{name}-%{version} -p1
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
%patch2 -p1 -b .deplibs
|
|
||||||
%patch3 -p1 -b .nola
|
|
||||||
%patch4 -p1 -b .gcc46
|
|
||||||
%patch5 -p1 -b .getopt
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -63,49 +67,138 @@ make
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make install install-man DESTDIR=$RPM_BUILD_ROOT
|
make install install-man DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# oMy, othis ois osilly.
|
# oMy, othis ois osilly., oyes
|
||||||
ln -s openjade $RPM_BUILD_ROOT/%{_bindir}/jade
|
ln -s openjade %{buildroot}/%{_bindir}/jade
|
||||||
echo ".so man1/openjade.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/jade.1
|
echo ".so man1/openjade.1" > %{buildroot}/%{_mandir}/man1/jade.1
|
||||||
|
|
||||||
# install jade/jade $RPM_BUILD_ROOT/%{prefix}/bin/jade
|
# Install jade/jade %%{buildroot}/%%{prefix}/bin/jade
|
||||||
cp dsssl/catalog $RPM_BUILD_ROOT/%{_datadir}/sgml/%{name}-%{version}/
|
cp dsssl/catalog %{buildroot}/%{_datadir}/sgml/%{name}-%{version}/
|
||||||
cp dsssl/{dsssl,style-sheet,fot}.dtd $RPM_BUILD_ROOT/%{_datadir}/sgml/%{name}-%{version}/
|
cp dsssl/{dsssl,style-sheet,fot}.dtd %{buildroot}/%{_datadir}/sgml/%{name}-%{version}/
|
||||||
|
|
||||||
# add unversioned/versioned catalog and symlink
|
# Add unversioned/versioned catalog and symlink
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/sgml
|
mkdir -p %{buildroot}/etc/sgml
|
||||||
cd $RPM_BUILD_ROOT/etc/sgml
|
pushd %{buildroot}/etc/sgml
|
||||||
touch %{name}-%{version}-%{release}.soc
|
touch %{name}-%{version}-%{release}.soc
|
||||||
ln -s %{name}-%{version}-%{release}.soc %{name}.soc
|
ln -s %{name}-%{version}-%{release}.soc %{name}.soc
|
||||||
cd -
|
popd
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.so $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.so %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
# Stop check-rpaths from complaining about standard runpaths.
|
||||||
|
export QA_RPATHS=0x0001
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
%{?ldconfig}
|
||||||
/usr/bin/install-catalog --add /etc/sgml/%{name}-%{version}-%{release}.soc \
|
%{_bindir}/install-catalog --add %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc \
|
||||||
%{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
|
%{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
/usr/bin/install-catalog --remove /etc/sgml/%{name}-%{version}-%{release}.soc \
|
%{_bindir}/install-catalog --remove %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc \
|
||||||
%{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
|
%{_datadir}/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
# The install-catalog removes the file making uninstallation throw a warning about removing a non-existent file
|
||||||
|
# This file creation suppresses the warning (rhbz#2193429)
|
||||||
|
touch %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc jadedoc/* dsssl/README.jadetex
|
%doc jadedoc/* dsssl/README.jadetex
|
||||||
%doc README COPYING VERSION
|
%doc README COPYING VERSION
|
||||||
%ghost /etc/sgml/%{name}-%{version}-%{release}.soc
|
|
||||||
/etc/sgml/%{name}.soc
|
# Removed %%ghost for succesful instalation on OSTree (rhbz#2193429)
|
||||||
|
%verify(not size filedigest mtime) %{_sysconfdir}/sgml/%{name}-%{version}-%{release}.soc
|
||||||
|
%{_sysconfdir}/sgml/%{name}.soc
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_datadir}/sgml/%{name}-%{version}
|
%{_datadir}/sgml/%{name}-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.3.2-82
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.2-81
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-80
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-79
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Oct 23 2023 Ondrej Sloup <osloup@redhat.com> - 1.3.2-78
|
||||||
|
- Update license tag to the SPDX format
|
||||||
|
|
||||||
|
* Sun Oct 15 2023 Ondrej Sloup <osloup@redhat.com> - 1.3.2-77
|
||||||
|
- Sync the RHEL version and Fedora version of the specfile
|
||||||
|
- Update sources file and config.{sub|guess}
|
||||||
|
- Skip verification for .soc file as it will change after install
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-76
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 10 2023 Ondrej Sloup <osloup@redhat.com> - 1.3.2-75
|
||||||
|
- Fix installation on OSTree by removing %%ghost (rhbz#2193429)
|
||||||
|
- Remove %%ldconfig_postun as it has no effect in Fedora
|
||||||
|
|
||||||
|
* Tue Jun 27 2023 Ondrej Sloup <osloup@redhat.com> - 1.3.2-74
|
||||||
|
- Use %%{buildroot} instead of $RPM_BUILD_ROOT as it is more recent
|
||||||
|
- Use directory macros and push/popd
|
||||||
|
|
||||||
|
* Thu Jun 08 2023 Ondrej Sloup <osloup@redhat.com> - 1.3.2-73
|
||||||
|
- Use %%autosetup instead of deprecated %%patchN
|
||||||
|
- Update config.sub and config.guess files
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-72
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 14 2023 Peter Fordham <peter.fordham@gmail.com> - 1.3.2-71
|
||||||
|
- Port configure script to C99.
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-70
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-69
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 27 2021 Than Ngo <than@redhat.com> - 1.3.2-68
|
||||||
|
- fixed FTBFS
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-67
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-66
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 27 2020 Than Ngo <than@redhat.com> - 1.3.2-65
|
||||||
|
- fixed FTBFS
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-64
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-63
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-62
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-61
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-60
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 21 2018 Ondrej Vasik <ovasik@redhat.com> - 1.3.2-59
|
||||||
|
- BuildRequires for gcc-c++ (#1605320)
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-58
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Wed Jul 11 2018 Ondrej Vasik <ovasik@redhat.com> - 1.3.2-57
|
* Wed Jul 11 2018 Ondrej Vasik <ovasik@redhat.com> - 1.3.2-57
|
||||||
- License should be DMIT actually
|
- License should be DMIT actually
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user