Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
8
.gitignore
vendored
8
.gitignore
vendored
@ -1 +1,7 @@
|
|||||||
SOURCES/0.3.20150131.tar.gz
|
libspiro_src-20071029.tar.bz2
|
||||||
|
/v0.2.tar.gz
|
||||||
|
/0.3.20150131.tar.gz
|
||||||
|
/libspiro-20190731.tar.gz
|
||||||
|
/libspiro-dist-20200505.tar.gz
|
||||||
|
/libspiro-dist-20220722.tar.gz
|
||||||
|
/libspiro-dist-20221101.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
fd897b4ae9640de9d395f4c037dd6ff779c1e8ca SOURCES/0.3.20150131.tar.gz
|
|
||||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: }
|
||||||
@ -1,14 +1,16 @@
|
|||||||
Name: libspiro
|
Name: libspiro
|
||||||
Version: 20150131
|
Version: 20221101
|
||||||
Release: 8%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Library to simplify the drawing of beautiful curves
|
Summary: Library to simplify the drawing of beautiful curves
|
||||||
|
|
||||||
# The files that are used to compile this library are all in GPLv3+
|
# The files that are used to compile this library are all in GPLv3+
|
||||||
# https://github.com/fontforge/libspiro/issues/8
|
# https://github.com/fontforge/libspiro/issues/8
|
||||||
License: GPLv3+
|
License: GPL-3.0-or-later
|
||||||
URL: https://github.com/fontforge/libspiro/
|
URL: https://github.com/fontforge/libspiro/
|
||||||
Source0: https://github.com/fontforge/libspiro/archive/0.3.20150131.tar.gz
|
# Let's use libspiro-dist tarball from upstream as it does not require autoreconf
|
||||||
BuildRequires: automake autoconf libtool
|
Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-dist-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library will take an array of spiro control points and
|
This library will take an array of spiro control points and
|
||||||
@ -24,18 +26,19 @@ The %{name}-devel package contains libraries and header files for
|
|||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n libspiro-0.3.20150131
|
%autosetup -n libspiro-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -i
|
|
||||||
automake --foreign -Wall
|
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
%{make_install}
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README* ChangeLog AUTHORS
|
%doc README* ChangeLog AUTHORS
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -45,8 +48,70 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/libspiro.pc
|
%{_libdir}/pkgconfig/libspiro.pc
|
||||||
|
%{_mandir}/man3/libspiro.3.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 20221101-8
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 20221101-7
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20221101-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20221101-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221101-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 23 2023 Parag Nemade <pnemade AT redhat DOT com> - 20221101-3
|
||||||
|
- Migrate to SPDX license expression
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 20221101-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Nov 10 2022 Parag Nemade <pnemade AT redhat DOT com> - 20221101-1
|
||||||
|
- Update to 20221101 version (#2139603)
|
||||||
|
|
||||||
|
* Sun Jul 24 2022 Parag Nemade <pnemade AT redhat DOT com> - 20220722-1
|
||||||
|
- Update to 20220722 version (#2110088)
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20200505-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 20200505-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200505-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20200505-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20200505-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed May 06 2020 Parag Nemade <pnemade AT redhat DOT com> - 20200505-1
|
||||||
|
- Update to 20200505 version (#1831576)
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20190731-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 22 2019 Kevin Fenzi <kevin@scrye.com> - 20190731-1
|
||||||
|
- Update to 20190731. Fixes bug #1742423
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jul 09 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 20150131-8
|
* Mon Jul 09 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 20150131-8
|
||||||
- Correct the License to GPLv3+
|
- Correct the License to GPLv3+
|
||||||
|
|
||||||
5
plans/libspiro.fmf
Normal file
5
plans/libspiro.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (libspiro-dist-20221101.tar.gz) = a4fd1d225da94f4146b2d086f1c0d0111ca0b1efc1d1a051d4f1d995af424cf573072791118d6e0a5c06462ff1dd58b2ce662dbb6a46c6aa082c1319030899f8
|
||||||
11
tests/main.fmf
Normal file
11
tests/main.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
test: ./runtests.sh
|
||||||
|
duration: 10m
|
||||||
|
framework: beakerlib
|
||||||
|
require:
|
||||||
|
- libspiro
|
||||||
|
- libtool
|
||||||
|
- gcc
|
||||||
|
- m4
|
||||||
|
- sed
|
||||||
|
- make
|
||||||
|
- rpm-build
|
||||||
37
tests/runtests.sh
Executable file
37
tests/runtests.sh
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
NAME=libspiro
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm ${NAME}
|
||||||
|
rlShowPackageVersion ${NAME}
|
||||||
|
rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION"
|
||||||
|
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||||
|
rlRun "pushd $tmp"
|
||||||
|
rlFetchSrcForInstalled "${NAME}"
|
||||||
|
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
|
||||||
|
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
|
||||||
|
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
|
||||||
|
if [ -d BUILD/${NAME}-${VERSION}-build ]; then
|
||||||
|
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}"
|
||||||
|
else
|
||||||
|
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}"
|
||||||
|
fi
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun "set -o pipefail"
|
||||||
|
rlRun "./configure && make check"
|
||||||
|
rlRun "retval=$?"
|
||||||
|
rlRun "echo $retval"
|
||||||
|
rlRun "popd" 0
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalEnd
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user