[main] Removing AGPL packages. (#2120)

This commit is contained in:
Pawel Winogrodzki 2022-02-07 21:01:43 -08:00 коммит произвёл GitHub
Родитель f87c918334
Коммит 49f52f0e05
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
16 изменённых файлов: 1 добавлений и 3246 удалений

Просмотреть файл

@ -1,50 +0,0 @@
From 41ef9a0bc36b9db7115fbe9623f989bfb47bbade Mon Sep 17 00:00:00 2001
From: Chris Liddell <chris.liddell@artifex.com>
Date: Tue, 20 Oct 2020 09:49:45 +0100
Subject: [PATCH] Bug 702985: drop use of FT_CALLBACK_DEF() def
From 2.10.3, Freetype disappeared the FT_CALLBACK_DEF() macro, which is what
we used when defining our callbacks from Freetype.
No guidance forthcoming from the Freetype developer who made those changes,
so change to explicitly declaring the callbacks file static.
Should fix the reported build failures.
---
base/fapi_ft.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/fapi_ft.c b/base/fapi_ft.c
index 65fa6dcf4..21aef2f06 100644
--- a/base/fapi_ft.c
+++ b/base/fapi_ft.c
@@ -125,7 +125,7 @@ static void
delete_inc_int_info(gs_fapi_server * a_server,
FT_IncrementalRec * a_inc_int_info);
-FT_CALLBACK_DEF(void *)
+static void *
FF_alloc(FT_Memory memory, long size)
{
gs_memory_t *mem = (gs_memory_t *) memory->user;
@@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size)
return (gs_malloc(mem, size, 1, "FF_alloc"));
}
-FT_CALLBACK_DEF(void *)
+static void *
FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block)
{
gs_memory_t *mem = (gs_memory_t *) memory->user;
@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *)
return (tmp);
}
-FT_CALLBACK_DEF(void)
+static void
FF_free(FT_Memory memory, void *block)
{
gs_memory_t *mem = (gs_memory_t *) memory->user;
--
2.17.1

Просмотреть файл

@ -1,65 +0,0 @@
From 6c2c8af4270e258ce30885547e9e9c67b3275493 Mon Sep 17 00:00:00 2001
Message-Id: <6c2c8af4270e258ce30885547e9e9c67b3275493.1608637099.git.mjg@fedoraproject.org>
From: rpm-build <mjg@fedoraproject.org>
Date: Tue, 22 Dec 2020 12:35:51 +0100
Subject: [PATCH] restore ovp for good
The original patch touches configure.ac only. Patch configure as well
for our release builds: These are the ovp-related changes after autogen.sh
(which one would use for git builds).
Signed-off-by: rpm-build <mjg@fedoraproject.org>
---
configure | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)
diff --git a/configure b/configure
index 317885c..d51c574 100755
--- a/configure
+++ b/configure
@@ -961,7 +961,6 @@ with_gpdl
enable_compile_inits
with_drivers
with_driversfile
-with_openprinting
enable_hidden_visibility
enable_dynamic
with_fontpath
@@ -11218,15 +11217,7 @@ IBM_DEVS='ibmpro jetp3852'
OKI_DEVS='oki182 okiibm oki4w'
JAPAN_DEVS='lips4 lips4v ljet4pjl lj4dithp dj505j picty180 lips2p bjc880j pr201 pr150 pr1000 pr1000_4 jj100 bj10v bj10vh mj700v2c mj500c mj6000c mj8000c fmpr fmlbp ml600 lbp310 lbp320 md50Mono md50Eco md1xMono escpage lp2000 npdl rpdl'
MISC_PDEVS='uniprint ap3250 atx23 atx24 atx38 itk24i itk38 coslw2p coslwxl declj250 fs600 imagen lj250 m8510 necp6 oce9050 r4081 sj48 tek4696 t4693d2 t4693d4 t4693d8 dl2100 la50 la70 la75 la75plus ln03 xes md2k md5k gdi samsunggdi'
-
-
-# Check whether --with-openprinting was given.
-if test "${with_openprinting+set}" = set; then :
- withval=$with_openprinting; OPVP_DEVS='opvp oprp'
-else
- OPVP_DEVS=''
-fi
-
+OPVP_DEVS='opvp oprp'
ETS_HALFTONING_DEVS='rinkj'
@@ -11265,12 +11256,11 @@ while test -n "$drivers"; do
PRINTERS)
P_DEVS0="$P_DEVS0 $CANON_DEVS $EPSON_DEVS $HP_DEVS $LEXMARK_DEVS $BROTHER_DEVS $APPLE_DEVS $IBM_DEVS $OKI_DEVS $JAPAN_DEVS $MISC_PDEVS $ETS_HALFTONING_DEVS $URF_DEVS"
IJS_DEVS0="$IJSDEVS"
- if test x"$OPVP_DEVS" != x"" ; then
- if test x$ac_cv_lib_dl_dlopen != xno -a x$found_iconv != xno; then
- P_DEVS0="$P_DEVS0 $OPVP_DEVS"
- else
- as_fn_error $? "Unable to include opvp/oprp driver due to missing or disabled prerequisites..." "$LINENO" 5
- fi
+ if test x$ac_cv_lib_dl_dlopen != xno -a x$found_iconv != xno; then
+ P_DEVS0="$P_DEVS0 $OPVP_DEVS"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to include opvp/oprp driver due to missing or disabled prerequisites..." >&5
+$as_echo "$as_me: WARNING: Unable to include opvp/oprp driver due to missing or disabled prerequisites..." >&2;}
fi
;;
FILES)
--
2.30.0.rc0.297.gbcca948854

Просмотреть файл

@ -1,46 +0,0 @@
From c6ce09aa5c9ed0c66c597478a2c4fb75aa25267f Mon Sep 17 00:00:00 2001
From: Chris Liddell <chris.liddell@artifex.com>
Date: Wed, 7 Oct 2020 17:41:36 +0100
Subject: [PATCH] Revert "Remove deprecated opvp/oprp devices from default
build"
This reverts commit 66c2469c7d4543f32d6dc93edf1d649e809b8419.
A user got in touch to say that he maintains a printer driver "back end" that
uses the opvp device. So reinstating it - at least we know it's getting
tested.
---
configure.ac | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 640aca7f0..fafe37c36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2638,8 +2638,7 @@ IBM_DEVS='ibmpro jetp3852'
OKI_DEVS='oki182 okiibm oki4w'
JAPAN_DEVS='lips4 lips4v ljet4pjl lj4dithp dj505j picty180 lips2p bjc880j pr201 pr150 pr1000 pr1000_4 jj100 bj10v bj10vh mj700v2c mj500c mj6000c mj8000c fmpr fmlbp ml600 lbp310 lbp320 md50Mono md50Eco md1xMono escpage lp2000 npdl rpdl'
MISC_PDEVS='uniprint ap3250 atx23 atx24 atx38 itk24i itk38 coslw2p coslwxl declj250 fs600 imagen lj250 m8510 necp6 oce9050 r4081 sj48 tek4696 t4693d2 t4693d4 t4693d8 dl2100 la50 la70 la75 la75plus ln03 xes md2k md5k gdi samsunggdi'
-
-AC_ARG_WITH([openprinting],, OPVP_DEVS='opvp oprp', OPVP_DEVS='')
+OPVP_DEVS='opvp oprp'
ETS_HALFTONING_DEVS='rinkj'
@@ -2679,12 +2678,10 @@ while test -n "$drivers"; do
PRINTERS)
P_DEVS0="$P_DEVS0 $CANON_DEVS $EPSON_DEVS $HP_DEVS $LEXMARK_DEVS $BROTHER_DEVS $APPLE_DEVS $IBM_DEVS $OKI_DEVS $JAPAN_DEVS $MISC_PDEVS $ETS_HALFTONING_DEVS $URF_DEVS"
IJS_DEVS0="$IJSDEVS"
- if test x"$OPVP_DEVS" != x"" ; then
- if test x$ac_cv_lib_dl_dlopen != xno -a x$found_iconv != xno; then
- P_DEVS0="$P_DEVS0 $OPVP_DEVS"
- else
- AC_MSG_ERROR(Unable to include opvp/oprp driver due to missing or disabled prerequisites...)
- fi
+ if test x$ac_cv_lib_dl_dlopen != xno -a x$found_iconv != xno; then
+ P_DEVS0="$P_DEVS0 $OPVP_DEVS"
+ else
+ AC_MSG_WARN(Unable to include opvp/oprp driver due to missing or disabled prerequisites...)
fi
;;
FILES)

Просмотреть файл

@ -1,5 +0,0 @@
{
"Signatures": {
"ghostscript-9.53.3.tar.xz": "9c9f5bc85b6c7eb08368c05b1e3339f7aaf9677ddca710c6283f872d55e2a234"
}
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,5 +0,0 @@
{
"Signatures": {
"jbig2dec-0.19.tar.gz": "279476695b38f04939aa59d041be56f6bade3422003a406a85e9792c27118a37"
}
}

Просмотреть файл

@ -1,196 +0,0 @@
Vendor: Microsoft Corporation
Distribution: Mariner
Name: jbig2dec
Version: 0.19
Release: 3%{?dist}
Summary: A decoder implementation of the JBIG2 image compression format
License: AGPLv3+
URL: http://jbig2dec.sourceforge.net/
Source0: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/%{name}-%{version}.tar.gz
Requires: %{name}-libs = %{version}-%{release}
BuildRequires: libtool
BuildRequires: libpng-devel
%description
jbig2dec is a decoder implementation of the JBIG2 image compression format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1.
%package libs
Summary: A decoder implementation of the JBIG2 image compression format
%description libs
jbig2dec is a decoder implementation of the JBIG2 image compression format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1.
This package provides the shared jbig2dec library.
%package devel
Summary: Static library and header files for development with jbig2dec
Requires: %{name}-libs = %{version}-%{release}
%description devel
jbig2dec is a decoder implementation of the JBIG2 image compression format.
JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit
monochrome) images at moderately high resolution, and in particular scanned
paper documents. In this domain it is very efficient, offering compression
ratios on the order of 100:1.
This package is only needed if you plan to develop or compile applications
which requires the jbig2dec library.
%prep
%autosetup
%build
autoreconf -i
%configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/*.la
%ldconfig_scriptlets libs
%files
%doc CHANGES COPYING LICENSE README
%{_bindir}/jbig2dec
%{_mandir}/man?/jbig2dec.1*
%files devel
%doc CHANGES COPYING LICENSE README
%{_includedir}/jbig2.h
%{_libdir}/libjbig2dec.so
%{_libdir}/pkgconfig/%{name}.pc
%files libs
%doc CHANGES COPYING LICENSE README
%{_libdir}/libjbig2dec.so.0
%{_libdir}/libjbig2dec.so.0.0.0
%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.19-3
- Initial CBL-Mariner import from Fedora 33 (license: MIT).
* Fri Sep 18 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.19-2
- remove ABI patch (and coordinate builds)
* Thu Sep 17 2020 Anna Khaitovich <akhaitov@redhat.com> - 0.19-1
- Rebase to 0.19
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 08 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.18-3
- build with libpng
* Wed Jul 08 2020 Nikola Forró <nforro@redhat.com> - 0.18-2
- fix License
* Mon May 11 2020 Michael J Gruber <mjg@fedoraproject.org> - 0.18-1
- rebase to 0.18 (bz #1818706)
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Dec 14 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-3
- require exact libs version
- clean up white space
* Sat Nov 09 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-2
- restore ABI-compatibilty (#1770160)
* Thu Nov 07 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.17-1
- bugfix release (bz #1761919)
* Thu Aug 15 2019 Michael J Gruber <mjg@fedoraproject.org> - 0.16-1
- rebase to 0.16 (bz #1741605)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Sep 18 2018 Owen Taylor <otaylor@redhat.com> - 0.14-4
- Handle both compressed and uncompressed man pages
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Nov 11 2017 Michael J Gruber <mjg@fedoraproject.org> - 0.14-1
- update to 0.14 (bugfix release)
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Thu May 11 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13.4
- Add fix for CVE-2017-7976 (#1443898)
* Wed May 03 2017 Pavel Zhukov <pzhukov@redhat.com> - 0.13-3
- Prevent segserv due to int overflow (#1443898)
* Tue Mar 07 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 0.13-1
- New release 0.13
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Nov 27 2015 Pavel Zhukov <landgraf@fedoraproject.org> - 0.12-2
- New release (#1208076)
- Require autotools
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Mar 23 2013 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-7
- Add ARM64 patch
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-2.fc14
- Fixed some spec errors
* Tue Jan 11 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.11-1.fc14
- Initial package

Просмотреть файл

@ -1,5 +0,0 @@
{
"Signatures": {
"ijs-0.35.tar.gz": "a8e3d10f5c4dd307655a7b6ff4002aeb827c44ba5ec41e99c6c46edfcf07aecc"
}
}

Просмотреть файл

@ -1,171 +0,0 @@
Vendor: Microsoft Corporation
Distribution: Mariner
# === GLOBAL MACROS ===========================================================
# According to Fedora Package Guidelines, it is advised that packages that can
# process untrusted input are build with position-independent code (PIC).
#
# Koji should override the compilation flags and add the -fPIC or -fPIE flags
# by default. This is here just in case this wouldn't happen for some reason.
# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
%global _hardened_build 1
# =============================================================================
Name: libijs
Summary: IJS Raster Image Transport Protocol Library
Version: 0.35
Release: 12%{?dist}
License: AGPLv3+
URL: https://ghostscript.com/
Source: https://github.com/ArtifexSoftware/ijs/archive/%{version}.tar.gz#/ijs-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: git
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
# =============================================================================
# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
# ->> All the patches should be provided in 'git format-patch' format.
# ->> Auxiliary repository will be created during 'fedpkg prep', you
# can see all the applied patches there via 'git log'.
# Upstream patches -- official upstream patches released by upstream since the
# ---------------- last rebase that are necessary for any reason:
#Patch000: example000.patch
# Downstream patches -- these should be always included when doing rebase:
# ------------------
#Patch100: example100.patch
# Downstream patches for RHEL -- patches that we keep only in RHEL for various
# --------------------------- reasons, but are not enabled in Fedora:
%if %{defined rhel} || %{defined centos}
#Patch200: example200.patch
%endif
# Patches to be removed -- deprecated functionality which shall be removed at
# --------------------- some point in the future:
%description
The IJS (InkJet Server) Raster Image Transport Protocol is a library, which
is no longer actively developed, and often other alternatives are used instead.
This library, however, still seem to be useful for Ghostscript application
to be able to connect to the HP IJS server to print on an HP printer.
# === SUBPACKAGES =============================================================
%package devel
Summary: Header & pkgconfig files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: pkgconfig
%description devel
This subpackage provides /usr/include/ijs/ijs.h header file, as well as ijs.pc
pkgconfig file. Both of these files are useful for development purposes only.
# ---------------
%package doc
Summary: Documentation for %{name}
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
This subpackage contains PDF documentation with IJS protocol specification,
which is useful for development purposes only.
# === BUILD INSTRUCTIONS ======================================================
# We have to override the folder name, because upstream's archive cotains the
# name 'ijs' (not 'libijs')...
%prep
%autosetup -n ijs-%{version} -S git
# ---------------
%build
autoreconf -ifv
%configure --disable-static --enable-shared
%make_build
# ---------------
%install
%make_install
# Remove files that we don't want to ship:
rm -rf %{buildroot}%{_bindir}
rm -rf %{buildroot}%{_libdir}/*.la
# Install the ijs_spec.pdf to correct location:
install -m 0755 -d %{buildroot}%{_docdir}/%{name}
install -m 0644 -p ijs_spec.pdf %{buildroot}%{_docdir}/%{name}
# === PACKAGING INSTRUCTIONS ==================================================
%files
%license COPYING
%{_libdir}/libijs-%{version}.so
# ---------------
%files devel
%dir %{_includedir}/ijs
%{_includedir}/ijs/*.h
%{_libdir}/libijs.so
%{_libdir}/pkgconfig/*.pc
# ---------------
%files doc
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/ijs_spec.pdf
# =============================================================================
%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.35-12
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.35-8
- Rebuild with fixed binutils
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.35-7
- Rebuild for new binutils
* Fri Jul 27 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 0.35-6
- FTBFS caused by new version of aclocal fixed (bug #1604599)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Mar 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.35-4
- Remove unneeded ldconfig scriptlets
* Wed Feb 28 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 0.35-3
- source updated to point at upstream's Github
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.35-2.gitd26d2bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Nov 22 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 0.35-1.gitd26d2bb
- initial specfile

Просмотреть файл

@ -1,5 +0,0 @@
{
"Signatures": {
"libspectre-0.2.8.tar.gz": "65256af389823bbc4ee4d25bfd1cc19023ffc29ae9f9677f2d200fa6e98bc7a8"
}
}

Просмотреть файл

@ -1,177 +0,0 @@
Vendor: Microsoft Corporation
Distribution: Mariner
Name: libspectre
Version: 0.2.8
Release: 12%{?dist}
Summary: A library for rendering PostScript(TM) documents
License: GPLv2+
URL: http://libspectre.freedesktop.org
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
Requires: libgs >= 9.53
BuildRequires: gcc
BuildRequires: libgs-devel >= 9.53
%description
%{name} is a small library for rendering PostScript(TM) documents.
It provides a convenient easy to use API for handling and rendering
PostScript documents.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup
%build
%configure \
--disable-silent-rules \
--disable-static
%make_build
%install
%make_install
rm -fv %{buildroot}%{_libdir}/libspectre.la
%ldconfig_scriptlets
%files
%license COPYING
%doc AUTHORS NEWS README TODO
%{_libdir}/libspectre.so.1*
%files devel
%{_includedir}/libspectre/
%{_libdir}/libspectre.so
%{_libdir}/pkgconfig/libspectre.pc
%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.2.8-12
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Thu Oct 15 2020 Marek Kasik <mkasik@redhat.com> - 0.2.8-11
- Rebuild due to update of Ghostscript to 9.53.3
- Resolves: #1887544
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Mar 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.2.8-6
- BR: gcc, use %%ldconfig_scriptlets %%make_build %%make_install
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 15 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.2.8-5
- BR: libgs-devel (f28+)
- .spec cleanup/cosmetics (drop deprecated tags, use %%autosetup/%%license, tighten subpkg dep)
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Jul 12 2016 Martin Hatina <mhatina@redhat.com> - 0.2.8-1
- Update to 0.2.8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jul 31 2015 Marek Kasik <mkasik@redhat.com> - 0.2.7-7
- Rotate result of rendering in libspectre
- Resolves: #1172317
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Sep 19 2012 Marek Kasik <mkasik@redhat.com> - 0.2.7-1
- Update to 0.2.7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Sep 29 2010 jkeating - 0.2.6-3
- Rebuilt for gcc bug 634757
* Sat Sep 25 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.2.6-2
- rebuild (ghostscript)
- %%files: track sonames (and friends) closer
* Sat Jun 12 2010 Matthias Clasen <mclasen@redhat.com> - 0.2.6-1
- Update to 0.2.6
* Wed Mar 3 2010 Matthias Clasen <mclasen@redhat.com> - 0.2.4-1
- Update to 0.2.4
- See http://mail.gnome.org/archives/gnome-announce-list/2010-February/msg00059.html
* Fri Jan 8 2010 Marek Kasik <mkasik@redhat.com> - 0.2.3-4
- Correct release number
* Fri Jan 8 2010 Marek Kasik <mkasik@redhat.com> - 0.2.3-1
- Update to 0.2.3
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Dec 3 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.2-1
- Update to 0.2.2
* Sun Aug 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.1-1
- Update to 0.2.1
* Sat Feb 9 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0-2
- Rebuild for gcc 4.3
* Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.0-1
- Initial packaging

Просмотреть файл

@ -1,6 +0,0 @@
{
"Signatures": {
"urw-base35-fonts-20200910.tar.gz": "e0d9b7f11885fdfdc4987f06b2aa0565ad2a4af52b22e5ebf79e1a98abd0ae2f",
"urw-fonts-1.0.7pre44.tar.bz2": "df0ad8413f1e4bc0b6e5f964192879b0dc66d7be521f9666357ac30bad4c7a32"
}
}

Просмотреть файл

@ -1,531 +0,0 @@
Vendor: Microsoft Corporation
Distribution: Mariner
#
# Important notes regarding the package:
# ======================================
# This package contains 35 fonts defined as PostScript Level 2 Core Font Set:
# > https://en.wikipedia.org/wiki/PostScript_fonts#Core_Font_Set
#
# This package is the replacement for previous 'urw-fonts' package (obsolete now).
#
# However, there are currently several issues that needed to be adressed:
# 1) This font set is owned by company (URW)++ [https://www.urwpp.de/en/], but
# the company Artifex Software [http://www.artifex.com/] has negotiated with
# (URW)++ the Open Source release of several fonts that (URW)++ owns, which
# can be used as Level 2 Core Font Set.
#
# Artifex Software is the owner/creator of Ghostscript software, and they use
# those fonts as part of Ghostscript's resources.
#
# However, (URW++) company does not provide any way to download those fonts.
# So right now, we are using the fonts which Artifex Software company uses
# in Ghostscript, and made available. They do not officially provide them,
# but they have become the 'de facto' standard across Linux distributions.
#
# Therefore, from now on, I will refer to Artifex Software as to 'upstream'.
#
# 2) Upstream has its own git repository for Core Font Set Level 2 sources:
# > https://github.com/ArtifexSoftware/urw-base35-fonts
#
# Here you can find 4 types of files (regarding the fonts):
# *.t1 - https://en.wikipedia.org/wiki/PostScript_fonts#Type_1
# *.afm - https://de.wikipedia.org/wiki/Adobe_Font_Metrics
# *.ttf - https://en.wikipedia.org/wiki/TrueType
# *.otf - https://en.wikipedia.org/wiki/OpenType
#
# According to upstream, Ghostscript needs only Type 1 fonts to work properly.
# It can use TTF or OTF fonts as substitutions as well in case the Type 1
# fonts are missing, but the substitution is not (and can't be) guaranteed to
# be absolutely flawless, unless the fonts use the CFF outlines:
# > https://en.wikipedia.org/wiki/PostScript_fonts#Compact_Font_Format
#
# And even though the OTF font files have CFF outlines embedded inside them,
# those OTF fonts still cause problems when they are used with Ghostscript's
# 'pdfwrite' device as substitutions. This can break printing or conversions
# for many users out there using Ghostscript. At the moment, upstream does
# not have reason/motivation to fix the 'pdfwrite' device in the near future.
#
# The AFM (Adobe Font Metrics) are useful for layout purposes of other
# applications, and they contain general font information and font metrics.
# These AFM files were distributed in the previous 'urw-fonts' package, so in
# order to avoid possible regressions in the future, we need to continue
# distributing them.
#
# However, distributing AFM files would not be possible if we would create
# this package from Ghostscript source package only. It does not contain
# these AFM files, because as stated above - Ghostscript requires only T1
# fonts. Therefore, we're using the archive with fonts provided from upstream.
#
#
# 3) The previous package 'urw-fonts' shipped the fonts in different format:
# *.pfb - Printer Font Binary (compressed Type 1 fonts, which require an
# 8-bit transmission method)
# *.pfm - Printer Font Metrics (same as *.afm files according to upstream)
#
# These formats were basically replaced with T1 and AFM formats, currently
# used by upstream.
#
# 4) (URW)++ does not have any sane versioning procedure. After reaching
# version 1.10, they returned to version 1.00. That is the reason why
# upstream switched to using git snapshot dates for versioning, and we
# are sticking to that after discussion at fedora-devel mailing list.
#
# 5) The package scheme is this:
#
# * urw-base35-fonts -- Metapackage which does not contain anything,
# but requires all its font subpackages. This
# is a wrapper package to ease-up installation
# of all fonts.
#
# * urw-base35-fonts-common -- Package that contains only the license file,
# to avoid duplication of it and to make the
# font packages size smaller.
#
# * urw-base35-[***]-fonts -- Subpackage of base35 fonts, containing only
# one font family, as required by FPG.
#
# * urw-base35-fonts-devel -- Devel subpackage that provides useful RPM
# macro(s), so other packages can more easily
# build against base35 fonts.
#
# ==========================================================================
#
# urw-base35-fonts ----- urw-base35-fonts-common
# | |
# | |
# \-- urw-base35-[***]-fonts
#
# ==========================================================================
#
# NOTE: Fedora Packaging Guidelines (FPG) requires to use OTF or TTF format:
# https://fedoraproject.org/wiki/Choosing_the_right_font_format_to_package
#
# However, there are several packages in Fedora that still hadn't been
# updated to work with OTF/TTF formats, and thus still require the
# Type1 font format to work correctly. These packages include e.g.:
# * ghostscript
# * ImageMagick
# * hylafax+
#
# On the other hand, more and more software (e.g. LibreOffice) is
# moving away from Type1 format completely and dropping its support.
#
# As a result, we currently need to ship both OTF and Type1/AFM formats.
# In case all the packages depending on base35 fonts will finally start
# supporting the OTF, then we will make complete switch to OTF only.
#
# ==========================================================================
# GLOBAL MACROS:
# --------------
%global fontname urw-base35
%global fontconfig_prio 61
%global urw_fonts_vers 3:2.4-25
%global tmpdir %{_localstatedir}/lib/rpm-state/urw-base35-fonts
%global tmpfile %{tmpdir}/cache-update-needed
%global legacydir %{_datadir}/X11/fonts/urw-fonts
# By redefining the '_docdir_fmt' macro we override the default location of
# documentation or license files. Instead of them being located in
# 'urw-base35-fonts-common', they are located in 'urw-base35-fonts' folder.
%global _docdir_fmt %{name}
# This will create an auxiliary file if it does not exist, to indicate that X11
# Logical Font Description database and fontconfig cache needs to be updated.
%global post_scriptlet() \
( \
if ! [[ -x %{tmpfile} ]]; then \
rm -rf %{tmpdir} \
mkdir -p %{tmpdir} \
\
touch %{tmpfile} \
chmod +x %{tmpfile} \
fi \
)
# NOTE: At the moment, there's no equivalent of 'posttrans' macro for
# uninstallation, meaning we can only use the 'posttrans'.
#
# Because of it , we have to use 'postun' instead. That means this
# scriptlet will be called for every font family subpackage being
# uninstalled...
%global postun_scriptlet() \
( \
if [[ $1 -eq 0 ]]; then \
# mkfontscale %{_fontdir} &> /dev/null || : \
# mkfontdir %{_fontdir} &> /dev/null || : \
true || : \
fi \
)
# The content of this scriptlet is only run once during install/update.
%global posttrans_scriptlet() \
( \
if [[ -x %{tmpfile} ]]; then \
# mkfontscale %{_fontdir} \
# mkfontdir %{_fontdir} \
# \
true || : \
rm -rf %{tmpdir} \
fi \
)
%global common_desc \
The Level 2 Core Font Set is a PostScript specification of 35 base fonts that \
can be used with any PostScript file. In Fedora, these fonts are provided freely \
by (URW)++ company, and are mainly utilized by applications using Ghostscript.
# Necessary after removal of *-nimbus-sans-narrow subpackage.
# Remove this once F27 is EOL.
%global obsolete_vers 20170801-4
# =============================================================================
Name: %{fontname}-fonts
Summary: Core Font Set containing 35 freely distributable fonts from (URW)++
Version: 20200910
Release: 3%{?dist}
# NOTE: (URW)++ holds the copyright, but Artifex Software has obtained rights to
# release these fonts under GNU Affero General Public License (version 3).
License: AGPLv3
URL: https://github.com/ArtifexSoftware/urw-base35-fonts
Source: https://github.com/ArtifexSoftware/urw-base35-fonts/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: urw-fonts-1.0.7pre44.tar.bz2
BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRequires: libappstream-glib
BuildRequires: git
BuildRequires: sed
# ---------------
Provides: urw-fonts = %{urw_fonts_vers}
Obsoletes: urw-fonts < %{urw_fonts_vers}
# This is metapackage for installation all font subpackages, require them:
Requires: %{name}-common = %{version}-%{release}
Requires: %{fontname}-bookman-fonts
Requires: %{fontname}-c059-fonts
Requires: %{fontname}-d050000l-fonts
Requires: %{fontname}-gothic-fonts
Requires: %{fontname}-nimbus-mono-ps-fonts
Requires: %{fontname}-nimbus-roman-fonts
Requires: %{fontname}-nimbus-sans-fonts
Requires: %{fontname}-p052-fonts
Requires: %{fontname}-standard-symbols-ps-fonts
Requires: %{fontname}-z003-fonts
# Upstream patches -- official upstream patches released by upstream since the
# ---------------- last rebase that are necessary for any reason:
%description
%{common_desc}
This meta-package will install all the 35 fonts from the %{name}.
# =============================================================================
# Macro for creating a subpackage for a given font family.
#
# USAGE: font_subpkg [-c] [-o old_subpackage_name]
# -c Make this subpackage conflict with the previous versions of URW fonts.
# -o Marks this supbackage to obsolete (& provide) other previous subpackage.
%define fontfamily_subpkg(co:) \
\
%define ff_filename %(echo %{*} | tr --delete " ") \
%define subpkg_name %(echo %{*} | tr "A-Z " "a-z-" | sed -e 's/urw-//') \
\
%package -n %{fontname}-%{subpkg_name}-fonts \
Summary: %{*} font family [part of Level 2 Core Font Set] \
Requires: %{name}-common = %{version}-%{release} \
\
Requires(post): fontconfig \
Requires(postun): fontconfig \
\
# NOTE: Remove the -o section below once F27 is EOL. \
\
# The section below will be only added if the '-c' option was specified: \
%{-c: \
Conflicts: urw-fonts < %{urw_fonts_vers} } \
\
%description -n %{fontname}-%{subpkg_name}-fonts \
This package contains %{*} font family, \
which is part of Level 2 Core Font Set. \
\
%{common_desc} \
\
%post -n %{fontname}-%{subpkg_name}-fonts \
%{post_scriptlet} \
\
%postun -n %{fontname}-%{subpkg_name}-fonts \
%{postun_scriptlet} \
\
%posttrans -n %{fontname}-%{subpkg_name}-fonts \
%{posttrans_scriptlet} \
\
%files -n %{fontname}-%{subpkg_name}-fonts \
%{_fontdir}/%{ff_filename}*.t1 \
%{_fontdir}/%{ff_filename}*.afm \
%{_fontdir}/%{ff_filename}*.otf \
%{_datadir}/appdata/de.urwpp.%{ff_filename}.metainfo.xml \
%{_datadir}/fontconfig/conf.avail/%{fontconfig_prio}-urw-%{subpkg_name}.conf \
%{_sysconfdir}/fonts/conf.d/%{fontconfig_prio}-urw-%{subpkg_name}.conf \
# Temporary workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1534206:\
%exclude %{_fontdir}/StandardSymbolsPS.otf \
# =============================================================================
%package common
Summary: Common files of the (URW)++ Level 2 Core Font Set
Requires: filesystem
Requires: fontpackages-filesystem
%description common
%{common_desc}
This package contains the necessary license files for this font set.
# ---------------
%package devel
Summary: RPM macros related to (URW)++ Level 2 Core Font Set
Requires: %{name} = %{version}-%{release}
%description devel
%{common_desc}
This package is useful for Fedora development purposes only. It installs RPM
macros useful for building packages against %{name},
as well as all the fonts contained in this font set.
# ---------------
%package legacy
Summary: Legacy version of (URW)++ Level 2 Core Font Set
%description legacy
%{common_desc}
This package provides previous (legacy) versions of these fonts, which are still
required by some of the software in Fedora, like e.g. xfig, X11, etc.
# =============================================================================
# NOTE: When making an update, make sure to check if any font families were
# added/removed. We always need to pack all the fonts into subpackages.
# =============================================================================
%fontfamily_subpkg C059
%fontfamily_subpkg D050000L
%fontfamily_subpkg Nimbus Mono PS -c
%fontfamily_subpkg Nimbus Roman -c
%fontfamily_subpkg Nimbus Sans -c -o nimbus-sans-narrow
%fontfamily_subpkg P052
%fontfamily_subpkg Standard Symbols PS -c
%fontfamily_subpkg URW Bookman -c
%fontfamily_subpkg URW Gothic -c
%fontfamily_subpkg Z003
# =============================================================================
# We need to ship the legacy fonts for now as well (BZ #1551219):
%prep
%autosetup -N -S git
mkdir -p legacy
tar --directory=legacy/ -xf %{SOURCE1}
rm -f legacy/ChangeLog legacy/README* legacy/fonts*
# Amend all the files to the initial commit, and patch the sources:
git add --all --force
git commit --all --amend --no-edit > /dev/null
%autopatch -p1
%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_datadir}/appdata
install -m 0755 -d %{buildroot}%{_datadir}/fontconfig/conf.avail
install -m 0755 -d %{buildroot}%{_sysconfdir}/fonts/conf.d
install -m 0755 -d %{buildroot}%{legacydir}
install -m 0755 -d %{buildroot}%{_datadir}/licenses/urw-fonts
install -m 0644 -p fonts/*.t1 %{buildroot}%{_fontdir}
install -m 0644 -p fonts/*.afm %{buildroot}%{_fontdir}
install -m 0644 -p fonts/*.otf %{buildroot}%{_fontdir}
install -m 0644 -p legacy/*.afm legacy/*.pfm legacy/*.pfb %{buildroot}%{legacydir}
install -m 0644 -p legacy/COPYING %{buildroot}%{_datadir}/licenses/urw-fonts
install -m 0644 -p appstream/*.metainfo.xml %{buildroot}%{_datadir}/appdata/
# Install the fontconfig files with correct priority for our distribution:
for file in fontconfig/*.conf; do
DISTRO_FILENAME="%{fontconfig_prio}-$(basename $file)"
install -m 0644 -p $file %{buildroot}%{_datadir}/fontconfig/conf.avail/$DISTRO_FILENAME
ln -sf %{_datadir}/fontconfig/conf.avail/$DISTRO_FILENAME %{buildroot}%{_sysconfdir}/fonts/conf.d/$DISTRO_FILENAME
done
# Some of the fontconfig files are not to be shipped:
# * urw-fallback-specifics.conf - these mappings are already provided by fontconfig
# * urw-fallback-generics.conf - no use-cases for this as far as we know
rm -f %{buildroot}%{_datadir}/fontconfig/conf.avail/%{fontconfig_prio}-urw-fallback-{specifics,generics}.conf
rm -f %{buildroot}%{_sysconfdir}/fonts/conf.d/%{fontconfig_prio}-urw-fallback-{specifics,generics}.conf
# We need to touch these files -- otherwise running 'rpm --setperms' would
# result in these files having incorrect permissions like this: [-------.]
#touch %{buildroot}%{_fontdir}/fonts.dir
#touch %{buildroot}%{_fontdir}/fonts.scale
touch %{buildroot}%{legacydir}/fonts.dir
touch %{buildroot}%{legacydir}/fonts.scale
# Install the symlink for the X11 Logical Font Description to actually work:
install -m 0755 -d %{buildroot}%{_sysconfdir}/X11/fontpath.d
#ln -sf %{_fontdir} %{buildroot}%{_sysconfdir}/X11/fontpath.d/%{name}
ln -sf %{legacydir} %{buildroot}%{_sysconfdir}/X11/fontpath.d/urw-fonts
# Generate the macro containing the path to our fonts:
install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d
cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.%{name} << _EOF
%%urw_base35_fontpath %{_fontdir}
_EOF
# Check that the AppStream files are valid and safe. Otherwise they might not
# get used in Gnome Software...
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.metainfo.xml
%post legacy
mkfontscale %{legacydir}
mkfontdir %{legacydir}
%postun legacy
mkfontscale %{legacydir}
mkfontdir %{legacydir}
# NOTE: There's no reason to run 'post' and 'postun' scriptlets for the main
# metapackage or the *-common subpackage. Everything necessary is handled
# by any of the actual font family subpackages.
# =============================================================================
%files
%{_datadir}/appdata/de.urwpp.URWCoreFontSetLevel2.metainfo.xml
# ---------------
%files common
%license LICENSE COPYING
%dir %{_fontdir}
#%ghost %verify (not md5 size mtime) %{_fontdir}/fonts.dir
#%ghost %verify (not md5 size mtime) %{_fontdir}/fonts.scale
%{_datadir}/fontconfig/conf.avail/%{fontconfig_prio}-urw-fallback-backwards.conf
%{_sysconfdir}/fonts/conf.d/%{fontconfig_prio}-urw-fallback-backwards.conf
#%{_sysconfdir}/X11/fontpath.d/%{name}
# ---------------
%files devel
%{_rpmconfigdir}/macros.d/macros.%{name}
# ---------------
%files legacy
%license %{_datadir}/licenses/urw-fonts/COPYING
%ghost %verify (not md5 size mtime) %{legacydir}/fonts.dir
%ghost %verify (not md5 size mtime) %{legacydir}/fonts.scale
%{_sysconfdir}/X11/fontpath.d/urw-fonts
%{legacydir}/*.afm
%{legacydir}/*.pfm
%{legacydir}/*.pfb
# =============================================================================
%changelog
* Fri Mar 19 2021 Henry Li <lihl@microsoft.com> - 20200910-3
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
- Remove old distro conditions that no longer apply
- Remove x11 packages from runtime dependencies
* Fri Jan 22 2021 Anna Khaitovich <akhaitov@redhat.com> - 20200910-2
- Fix some X11-related packaging bugs (#1918947)
* Thu Oct 22 2020 Anna Khaitovich <akhaitov@redhat.com> - 20200910-1
- Rebase to 20200910 version (#1877974)
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20170801-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20170801-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20170801-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170801-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jun 18 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-10
- fc-cache call dropped (from scriptlets)
* Fri Apr 06 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-9
- *-legacy subpackage introduced (temporary workaround for BZ #1551219)
* Wed Feb 28 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-8
- copy-paste error fixed in de.urwpp.URWCoreFontSetLevel2.metainfo.xml file
* Wed Feb 21 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-7
- added %%check section for validation of AppStream files
* Mon Feb 19 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-6
- temporary workaround for BZ #1534206
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20170801-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 11 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-4
- added missing Obsoletes/Provides for *-nimbus-sans-narrow subpackage
* Wed Dec 13 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> 20170801-3
- *-devel subpackage added
- typos & syntax fixed for AppStream files
- NimbusSansNarrow-BdOblique.* renamed to *-BoldOblique
- *-nimbus-sans-narrow subpackage dropped
- priority/ordering decreased [60->61]
- ship *.otf format files as well
* Mon Sep 25 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-2
- urw-base35-fonts-20170801-000-split-urw-fallback.patch added
- decrease the fontconfig priority/ordering value to 60 (bug #1494850)
- set same priority value for urw-fallback.conf as for other files (bug #1495199)
* Fri Sep 22 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20170801-1
- rebase to 20170801 version
- removed urw-* string from subpackages
- fontconfig priority value updated to 35
- error messages from 'xset fp rehash' suppressed (bug #1466254)
- AppStream files added into (sub)packages
- fontconfig files added into (sub)packages
- fixed fonts path during %%install
- source location updated to point at github.com
* Mon Jun 05 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 20160926-1
- %%description line in 'fontfamily_subpkg' macro split
- requirement for 'fontpackages-filesystem' added
- mark 'font.dir' and 'font.scale' as %%ghost files
- fix the upgrading process (for Obsoletes|Provides|Conflicts)
- simplify creation of the subpackages with auxiliary %%fontfamily_subpkg macro
- update the fontconfig cache and X11 Logical Font Description database
(during install/update/erase)
- initial version of specfile created

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -309,7 +309,6 @@
"geronimo-saaj", "geronimo-saaj",
"gfs2-utils", "gfs2-utils",
"ghc-srpm-macros", "ghc-srpm-macros",
"ghostscript",
"giflib", "giflib",
"gl-manpages", "gl-manpages",
"glassfish-dtd-parser", "glassfish-dtd-parser",
@ -605,7 +604,6 @@
"javapackages-tools", "javapackages-tools",
"javapackages-tools-meta", "javapackages-tools-meta",
"javaparser", "javaparser",
"jbig2dec",
"jbigkit", "jbigkit",
"jboss-annotations-1.2-api", "jboss-annotations-1.2-api",
"jboss-el-2.2-api", "jboss-el-2.2-api",
@ -762,7 +760,6 @@
"libidn2", "libidn2",
"libiec61883", "libiec61883",
"libieee1284", "libieee1284",
"libijs",
"libimobiledevice", "libimobiledevice",
"libindicator", "libindicator",
"libinput", "libinput",
@ -852,7 +849,6 @@
"libsmi", "libsmi",
"libsndfile", "libsndfile",
"libsodium", "libsodium",
"libspectre",
"libspiro", "libspiro",
"libsrtp", "libsrtp",
"libssh", "libssh",
@ -2195,7 +2191,6 @@
"univocity-parsers", "univocity-parsers",
"upower", "upower",
"urlview", "urlview",
"urw-base35-fonts",
"usb_modeswitch", "usb_modeswitch",
"usb_modeswitch-data", "usb_modeswitch-data",
"usbguard", "usbguard",

Просмотреть файл

@ -4405,16 +4405,6 @@
} }
} }
}, },
{
"component": {
"type": "other",
"other": {
"name": "ghostscript",
"version": "9.53.3",
"downloadUrl": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9.53.3/ghostscript-9.53.3.tar.xz"
}
}
},
{ {
"component": { "component": {
"type": "other", "type": "other",
@ -7986,16 +7976,6 @@
} }
} }
}, },
{
"component": {
"type": "other",
"other": {
"name": "jbig2dec",
"version": "0.19",
"downloadUrl": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs952/jbig2dec-0.19.tar.gz"
}
}
},
{ {
"component": { "component": {
"type": "other", "type": "other",
@ -10056,16 +10036,6 @@
} }
} }
}, },
{
"component": {
"type": "other",
"other": {
"name": "libijs",
"version": "0.35",
"downloadUrl": "https://github.com/ArtifexSoftware/ijs/archive/0.35.tar.gz"
}
}
},
{ {
"component": { "component": {
"type": "other", "type": "other",
@ -11306,16 +11276,6 @@
} }
} }
}, },
{
"component": {
"type": "other",
"other": {
"name": "libspectre",
"version": "0.2.8",
"downloadUrl": "http://libspectre.freedesktop.org/releases/libspectre-0.2.8.tar.gz"
}
}
},
{ {
"component": { "component": {
"type": "other", "type": "other",
@ -29002,16 +28962,6 @@
} }
} }
}, },
{
"component": {
"type": "other",
"other": {
"name": "urw-base35-fonts",
"version": "20200910",
"downloadUrl": "https://github.com/ArtifexSoftware/urw-base35-fonts/archive/20200910.tar.gz"
}
}
},
{ {
"component": { "component": {
"type": "other", "type": "other",