Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
ttmkfdir-3.0.9.tar.bz2
|
SOURCES/ttmkfdir-3.0.9.tar.bz2
|
||||||
|
1
.ttmkfdir.metadata
Normal file
1
.ttmkfdir.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
829473beb905a39f026fc0e9b4aeb10031a5a8a9 SOURCES/ttmkfdir-3.0.9.tar.bz2
|
21
Makefile
21
Makefile
@ -1,21 +0,0 @@
|
|||||||
# Makefile for source rpm: ttmkfdir
|
|
||||||
# $Id$
|
|
||||||
NAME := ttmkfdir
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attempt a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
15
SOURCES/ttmkfdir-3.0.9-tag.patch
Normal file
15
SOURCES/ttmkfdir-3.0.9-tag.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- ttmkfdir-3.0.9.old/Makefile 2020-03-25 16:06:55.999792212 +0100
|
||||||
|
+++ ttmkfdir-3.0.9/Makefile 2020-03-25 17:04:16.179479496 +0100
|
||||||
|
@@ -40,10 +40,10 @@
|
||||||
|
all: ttmkfdir
|
||||||
|
|
||||||
|
.cpp.o:
|
||||||
|
- libtool --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^
|
||||||
|
+ libtool --tag=CC --mode=compile $(CXX) $(CXXFLAGS) -o $@ -c $^
|
||||||
|
|
||||||
|
ttmkfdir: ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o
|
||||||
|
- libtool --mode=link $(CXX) -o $@ $^ $(LDFLAGS)
|
||||||
|
+ libtool --tag=CC --mode=link $(CXX) -o $@ $^ $(LDFLAGS)
|
||||||
|
|
||||||
|
parser.cpp: encoding.l
|
||||||
|
flex -i -8 -o$@ $<
|
@ -1,7 +1,7 @@
|
|||||||
Summary: Utility to create fonts.scale files for truetype fonts
|
Summary: Utility to create fonts.scale files for truetype fonts
|
||||||
Name: ttmkfdir
|
Name: ttmkfdir
|
||||||
Version: 3.0.9
|
Version: 3.0.9
|
||||||
Release: 54%{?dist}
|
Release: 65%{?dist}
|
||||||
# Only licensing attribution is in README, no version.
|
# Only licensing attribution is in README, no version.
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
# This is a Red Hat maintained package which is specific to
|
# This is a Red Hat maintained package which is specific to
|
||||||
@ -20,8 +20,10 @@ Patch8: ttmkfdir-3.0.9-font-scale.patch
|
|||||||
Patch9: ttmkfdir-3.0.9-bug434301.patch
|
Patch9: ttmkfdir-3.0.9-bug434301.patch
|
||||||
Patch10:ttmkfdir-3.0.9-freetype-header-fix2.patch
|
Patch10:ttmkfdir-3.0.9-freetype-header-fix2.patch
|
||||||
Patch11:ttmkfdir-3.0.9-fedora-ldflags.patch
|
Patch11:ttmkfdir-3.0.9-fedora-ldflags.patch
|
||||||
|
Patch12:ttmkfdir-3.0.9-tag.patch
|
||||||
Source10: ttmkfdir.1
|
Source10: ttmkfdir.1
|
||||||
|
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: freetype-devel >= 2.0
|
BuildRequires: freetype-devel >= 2.0
|
||||||
BuildRequires: flex libtool
|
BuildRequires: flex libtool
|
||||||
BuildRequires: bzip2-devel
|
BuildRequires: bzip2-devel
|
||||||
@ -37,10 +39,10 @@ by the font server.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS"
|
%{make_build} OPTFLAGS="$RPM_OPT_FLAGS" RPM_LD_FLAGS="$RPM_LD_FLAGS -pie"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT PREFIX="%{_prefix}" install INSTALL="install -p"
|
%{make_install} PREFIX="%{_prefix}"
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1/
|
mkdir -p %{buildroot}%{_mandir}/man1/
|
||||||
cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
|
cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
@ -50,6 +52,41 @@ cp -p %{SOURCE10} %{buildroot}%{_mandir}/man1/
|
|||||||
%{_mandir}/man1/ttmkfdir.1*
|
%{_mandir}/man1/ttmkfdir.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.9-65
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.0.9-64
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.9-63
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.9-62
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Mar 30 2020 Timm Baeder <tbaeder@redhat.com> - 3.0.9-60
|
||||||
|
- Pass -pie separately to %%{make_build}
|
||||||
|
- Pass --tag=CC to libtool invocations
|
||||||
|
|
||||||
|
* Mon Mar 16 2020 Tom Stellard <tstellar@redhat.com> - 3.0.9-59
|
||||||
|
- Use make_build and make_install macros
|
||||||
|
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
|
||||||
|
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_why_the_makeinstall_macro_should_not_be_used
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Kalev Lember <klember@redhat.com> - 3.0.9-58
|
||||||
|
- Avoid hardcoding /usr prefix
|
||||||
|
- Use globs for man page compression
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.9-57
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.9-56
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.9-55
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Wed Mar 07 2018 Parag Nemade <pnemade AT redhat DOT com> - 3.0.9-54
|
* Wed Mar 07 2018 Parag Nemade <pnemade AT redhat DOT com> - 3.0.9-54
|
||||||
- Partial injection of build flags (rh#1548462)
|
- Partial injection of build flags (rh#1548462)
|
||||||
|
|
@ -1,6 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
1
sources
1
sources
@ -1 +0,0 @@
|
|||||||
SHA512 (ttmkfdir-3.0.9.tar.bz2) = ead6ff6ef364e71f14bbd70a04cc8a78a1add43b443cb46878da0896ee1826cb96c9caebd03295068e715851d426b51ad2b814fbaadf521570576f60324f773e
|
|
@ -1,22 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ -d /tmp/test-ttmkfdir ];then
|
|
||||||
rm -rf /tmp/test-ttmkfdir
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir /tmp/test-ttmkfdir
|
|
||||||
cd /tmp/test-ttmkfdir
|
|
||||||
ttmkfdir -d /usr/share/X11/fonts/TTF .
|
|
||||||
if [ -f ./fonts.scale ]; then
|
|
||||||
diff -urN ./fonts.scale /usr/share/X11/fonts/TTF/fonts.scale
|
|
||||||
retval=$?
|
|
||||||
echo $retval
|
|
||||||
if [ $retval -ne 0 ]; then
|
|
||||||
echo "FAIL: check if xorg-x11-fonts-ethiopic is installed or its packaging is changed"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
echo "PASS: ttmkfdir sucessfully generated fonts.scale file for xorg-x11-fonts-ethiopic directory"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
vars:
|
|
||||||
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
remote_user: root
|
|
||||||
tasks:
|
|
||||||
- name: Install required packages
|
|
||||||
dnf:
|
|
||||||
name:
|
|
||||||
- xorg-x11-fonts-ethiopic
|
|
||||||
|
|
||||||
- name: Install the test files
|
|
||||||
copy: src={{ item.file }} dest=/usr/local/bin/{{ item.dest }} mode=0755
|
|
||||||
with_items:
|
|
||||||
- {file: test-simple, dest: test-simple }
|
|
||||||
|
|
||||||
- name: Test block
|
|
||||||
block:
|
|
||||||
- name: Execute the tests
|
|
||||||
shell: |
|
|
||||||
/usr/local/bin/test-simple &> /tmp/test.log && result=pass || result=fail
|
|
||||||
echo -e "results:\n- {result: $result, test: simple}" > /tmp/results.yml
|
|
||||||
|
|
||||||
always:
|
|
||||||
- name: Pull out the logs
|
|
||||||
fetch:
|
|
||||||
dest: "{{ artifacts }}/"
|
|
||||||
src: "{{ item }}"
|
|
||||||
flat: yes
|
|
||||||
with_items:
|
|
||||||
- /tmp/test.log
|
|
||||||
- /tmp/results.yml
|
|
Loading…
Reference in New Issue
Block a user