|
|
|
@ -1,15 +1,16 @@
|
|
|
|
|
Name: paps
|
|
|
|
|
Version: 0.7.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.8.0
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://paps.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
License: LGPL-2.0-or-later
|
|
|
|
|
URL: https://github.com/dov/paps
|
|
|
|
|
Source0: https://github.com/dov/paps/archive/v%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: paps.convs
|
|
|
|
|
Source2: 29-paps.conf
|
|
|
|
|
Source2: 29-paps.conf
|
|
|
|
|
Source3: http://downloads.sourceforge.net/%{name}/%{name}-0.6.8.tar.gz
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pango-devel automake autoconf libtool doxygen cups-devel intltool
|
|
|
|
|
BuildRequires: fmt-devel gcc-c++
|
|
|
|
|
## https://sourceforge.net/tracker/index.php?func=detail&aid=1832897&group_id=153049&atid=786241
|
|
|
|
|
Patch0: paps-0.6.8-shared.patch
|
|
|
|
|
## https://sourceforge.net/tracker/index.php?func=detail&aid=1832924&group_id=153049&atid=786241
|
|
|
|
@ -42,6 +43,10 @@ Patch59: %{name}-ft-header.patch
|
|
|
|
|
Patch60: %{name}-a3.patch
|
|
|
|
|
## rhbz#1214939
|
|
|
|
|
Patch61: %{name}-fix-paper-size-truncate.patch
|
|
|
|
|
Patch62: paps-c99.patch
|
|
|
|
|
### For paps
|
|
|
|
|
Patch100: %{name}-fix-src-to-paps.patch
|
|
|
|
|
Patch101: %{name}-fix-build.patch
|
|
|
|
|
|
|
|
|
|
Summary: Plain Text to PostScript converter
|
|
|
|
|
%description
|
|
|
|
@ -61,31 +66,39 @@ This package contains a CUPS filter based on paps.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -a 3
|
|
|
|
|
%patch 100 -p1 -b .src-to-paps
|
|
|
|
|
%patch 101 -p1 -b .build
|
|
|
|
|
pushd %{name}-0.6.8
|
|
|
|
|
%patch0 -p1 -b .shared
|
|
|
|
|
%patch1 -p1 -b .wordwrap
|
|
|
|
|
%patch2 -p1 -b .langinfo
|
|
|
|
|
%patch3 -p1 -b .lcnumeric
|
|
|
|
|
%patch4 -p1 -b .exitcode
|
|
|
|
|
%patch5 -p1 -b .manpage
|
|
|
|
|
%patch50 -p1 -b .cups
|
|
|
|
|
%patch51 -p1 -b .cpilpi
|
|
|
|
|
%patch52 -p1 -b .dsc
|
|
|
|
|
%patch53 -p1 -b .autoconf262
|
|
|
|
|
%patch54 -p1 -b .fixcpi
|
|
|
|
|
%patch55 -p1 -b .loop
|
|
|
|
|
%patch56 -p1 -b .tab
|
|
|
|
|
%patch57 -p1 -b .weak-symbol
|
|
|
|
|
%patch58 -p1 -b .fsf
|
|
|
|
|
%patch59 -p1 -b .ft-header
|
|
|
|
|
%patch60 -p1 -b .a3
|
|
|
|
|
%patch61 -p1 -b .paper-size
|
|
|
|
|
%patch 0 -p1 -b .shared
|
|
|
|
|
%patch 1 -p1 -b .wordwrap
|
|
|
|
|
%patch 2 -p1 -b .langinfo
|
|
|
|
|
%patch 3 -p1 -b .lcnumeric
|
|
|
|
|
%patch 4 -p1 -b .exitcode
|
|
|
|
|
%patch 5 -p1 -b .manpage
|
|
|
|
|
%patch 50 -p1 -b .cups
|
|
|
|
|
%patch 51 -p1 -b .cpilpi
|
|
|
|
|
%patch 52 -p1 -b .dsc
|
|
|
|
|
%patch 53 -p1 -b .autoconf262
|
|
|
|
|
%patch 54 -p1 -b .fixcpi
|
|
|
|
|
%patch 55 -p1 -b .loop
|
|
|
|
|
%patch 56 -p1 -b .tab
|
|
|
|
|
%patch 57 -p1 -b .weak-symbol
|
|
|
|
|
%patch 58 -p1 -b .fsf
|
|
|
|
|
%patch 59 -p1 -b .ft-header
|
|
|
|
|
%patch 60 -p1 -b .a3
|
|
|
|
|
%patch 61 -p1 -b .paper-size
|
|
|
|
|
%patch 62 -p2 -b .configure-c99
|
|
|
|
|
libtoolize -f -c
|
|
|
|
|
autoreconf -f -i
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./autogen.sh
|
|
|
|
|
%set_build_flags
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
CXXFLAGS="$CXXFLAGS -DFMT_HEADER_ONLY"
|
|
|
|
|
%endif
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
@ -123,6 +136,8 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p"
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS COPYING.LIB README
|
|
|
|
|
%{_bindir}/paps
|
|
|
|
|
%{_bindir}/src-to-paps
|
|
|
|
|
%{_datadir}/paps/pango_markup.outlang
|
|
|
|
|
%{_mandir}/man1/paps.1*
|
|
|
|
|
|
|
|
|
|
%files -n texttopaps
|
|
|
|
@ -135,12 +150,53 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="/usr/bin/install -p"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.1-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.8.0-9
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 17 2024 Akira TAGOH <tagoh@redhat.com> - 0.8.0-6
|
|
|
|
|
- Fix C type error in paps 0.6.8.
|
|
|
|
|
Resolves: rhbz#2256906
|
|
|
|
|
|
|
|
|
|
* Mon Aug 14 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.8.0-5
|
|
|
|
|
- Use fmt in header-only mode in RHEL builds
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 28 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.8.0-3
|
|
|
|
|
- Rebuilt due to fmt 10 update.
|
|
|
|
|
|
|
|
|
|
* Thu Apr 13 2023 Florian Weimer <fweimer@redhat.com> - 0.8.0-2
|
|
|
|
|
- C99 compatibility fixes for paps 0.6.8
|
|
|
|
|
|
|
|
|
|
* Wed Mar 1 2023 Akira TAGOH <tagoh@redhat.com> - 0.8.0-1
|
|
|
|
|
- New upstream release.
|
|
|
|
|
Resolves: rhbz#2168726
|
|
|
|
|
|
|
|
|
|
* Tue Feb 7 2023 Akira TAGOH <tagoh@redhat.com> - 0.7.9-1
|
|
|
|
|
- New upstream release.
|
|
|
|
|
Resolves: rhbz#2164212
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 5 2022 Akira TAGOH <tagoh@redhat.com> - 0.7.1-6
|
|
|
|
|
- Convert License tag to SPDX.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|