Compare commits
50 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86be0a9b1b | ||
|
|
dc69c05fe6 |
||
|
|
f780236621 | ||
|
|
968171e726 |
||
|
|
f2e79e43a2 | ||
|
|
698452b45d | ||
|
|
165135068c | ||
|
|
2c4cb9cd3f | ||
|
|
4fdd08f4b8 |
||
|
|
1aa04ddbae | ||
|
|
c6c1098fa4 |
||
|
|
7ca4b92982 |
||
|
|
1d2e9ab118 | ||
|
|
bc73bd78a6 | ||
|
|
f6bd9108b1 | ||
|
|
5a0af0ed15 | ||
|
|
0bc043d9fe | ||
|
|
d80cd57837 | ||
|
|
6a3974cb58 |
||
|
|
b5509e3ebd |
||
|
|
1125696ebc | ||
|
|
8eb026c441 | ||
|
|
7f0eb359d2 | ||
|
|
67ee947256 | ||
|
|
af44e83fd9 | ||
|
|
50ed8acb8b |
||
|
|
4393266838 | ||
|
|
9f43644568 | ||
|
|
6c3108343f | ||
|
|
e772591936 | ||
|
|
37dd903f83 | ||
|
|
0807c4a263 | ||
|
|
19e11cfe4a | ||
|
|
1958db0d00 | ||
|
|
d602948a53 | ||
|
|
d0ad6ceaee | ||
|
|
f38dd661d0 | ||
|
|
095dc37c62 | ||
|
|
feac27162e | ||
|
|
4437e773e9 | ||
|
|
d455c426c8 | ||
|
|
dcbe579407 | ||
|
|
b49d4ecfca | ||
|
|
fe2fd2b5cc | ||
|
|
02e1a251c3 | ||
|
|
2a279721b3 | ||
|
|
0ae2086f20 | ||
|
|
f04a2832b6 | ||
|
|
1dac0f434e | ||
|
|
ad09193a67 |
10 changed files with 212 additions and 49 deletions
|
|
@ -1 +0,0 @@
|
|||
libspiro_src-20071029.tar.bz2
|
||||
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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
|
||||
/libspiro-dist-20240903.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: libspiro
|
||||
# $Id$
|
||||
NAME := libspiro
|
||||
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 $$/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),)
|
||||
# attept 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)
|
||||
|
|
@ -1 +0,0 @@
|
|||
libspiro-20071029-1_fc11:HEAD:libspiro-20071029-1.fc11.src.rpm:1229561331
|
||||
174
libspiro.spec
174
libspiro.spec
|
|
@ -1,13 +1,16 @@
|
|||
Name: libspiro
|
||||
Version: 20071029
|
||||
Release: 2%{?dist}
|
||||
Version: 20240903
|
||||
Release: 3%{?dist}
|
||||
Summary: Library to simplify the drawing of beautiful curves
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+
|
||||
URL: http://libspiro.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}_src-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
# The files that are used to compile this library are all in GPLv3+
|
||||
# https://github.com/fontforge/libspiro/issues/8
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://github.com/fontforge/libspiro/
|
||||
# Let's use libspiro-dist tarball from upstream as it does not require autoreconf
|
||||
Source0: https://github.com/fontforge/libspiro/releases/download/%{version}/libspiro-dist-%{version}.tar.gz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
|
||||
%description
|
||||
This library will take an array of spiro control points and
|
||||
|
|
@ -16,46 +19,167 @@ be used in the myriad of ways the world has come to use béziers.
|
|||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n libspiro-20071029
|
||||
%autosetup -n libspiro-%{version}
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{make_install}
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README gpl.txt README-RaphLevien
|
||||
%doc README* ChangeLog AUTHORS
|
||||
%license COPYING
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%doc README gpl.txt README-RaphLevien
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/libspiro.pc
|
||||
%{_mandir}/man3/libspiro.3.gz
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 20240903-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 20240903-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Sep 16 2024 Parag Nemade <pnemade AT redhat DOT com> - 20240903-1
|
||||
- Update to 20240903 version (#2309418)
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 20221101-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_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
|
||||
- Correct the License to GPLv3+
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20150131-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150131-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sun Feb 01 2015 Kevin Fenzi <kevin@scrye.com> 20150131-1
|
||||
- Update to 20150131
|
||||
|
||||
* Mon Dec 08 2014 Nils Philippsen <nils@redhat.com> - 20130930-4
|
||||
- explicitly link against libm
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130930-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130930-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Oct 02 2013 Kevin Fenzi <kevin@scrye.com> 20130930-1
|
||||
- Update to 20130930 version
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071029-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sat Mar 23 2013 Kevin Fenzi <kevin@scrye.com> 20071029-10
|
||||
- Add patch to add aarch64 support. Fixes bug #925890
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071029-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Nov 22 2012 Parag <paragn AT fedoraproject DOT org> - 20071029-8
|
||||
- Resolves:rh#879153 - spec cleanup for recent packaging guidelines
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071029-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jan 10 2012 Nils Philippsen <nils@redhat.com> - 20071029-6
|
||||
- rebuild for gcc 4.7
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071029-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Dec 15 2009 Parag <paragn AT fedoraproject.org> - 20071029-4
|
||||
- Fix rpmlint error "libspiro.src:53: E: files-attr-not-set"
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071029-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071029-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
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
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
ab6aaa50bbd8fa55e78f8b8b0112f6cd libspiro_src-20071029.tar.bz2
|
||||
SHA512 (libspiro-dist-20240903.tar.gz) = b6d6d408aaf3cc908bbca931a3343b9efc399196b1b46e0b6a7cd83de730ef2b3a63eb64dd8be2c660a9725143d898b949305cea3ab47f1dd1a2774afcb731aa
|
||||
|
|
|
|||
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…
Add table
Add a link
Reference in a new issue