From e0ae834196976c25bf8a6eb126230e1331d80b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Oct 2020 17:39:02 +0200 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libspiro#d80cd57837a6742ca39a6af933dfb78181d062df --- .gitignore | 5 ++ libspiro.spec | 141 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + tests/smoke/runtest.sh | 3 + tests/tests.yml | 20 ++++++ 5 files changed, 170 insertions(+) create mode 100644 libspiro.spec create mode 100644 sources create mode 100644 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/.gitignore b/.gitignore index e69de29..a89ba54 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,5 @@ +libspiro_src-20071029.tar.bz2 +/v0.2.tar.gz +/0.3.20150131.tar.gz +/libspiro-20190731.tar.gz +/libspiro-dist-20200505.tar.gz diff --git a/libspiro.spec b/libspiro.spec new file mode 100644 index 0000000..ab6fead --- /dev/null +++ b/libspiro.spec @@ -0,0 +1,141 @@ +Name: libspiro +Version: 20200505 +Release: 2%{?dist} +Summary: Library to simplify the drawing of beautiful curves + +# The files that are used to compile this library are all in GPLv3+ +# https://github.com/fontforge/libspiro/issues/8 +License: GPLv3+ +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 + +%description +This library will take an array of spiro control points and +convert them into a series of bézier splines which can then +be used in the myriad of ways the world has come to use béziers. + +%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 -n libspiro-%{version} + +%build +%configure --disable-static +%{make_build} + +%install +%{make_install} +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%check +make check + +%files +%doc README* ChangeLog AUTHORS +%license COPYING +%{_libdir}/*.so.* + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/libspiro.pc +%{_mandir}/man3/libspiro.3.gz + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 20200505-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed May 06 2020 Parag Nemade - 20200505-1 +- Update to 20200505 version (#1831576) + +* Wed Jan 29 2020 Fedora Release Engineering - 20190731-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Aug 22 2019 Kevin Fenzi - 20190731-1 +- Update to 20190731. Fixes bug #1742423 + +* Thu Jul 25 2019 Fedora Release Engineering - 20150131-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 20150131-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 20150131-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jul 09 2018 Parag Nemade - 20150131-8 +- Correct the License to GPLv3+ + +* Wed Feb 07 2018 Fedora Release Engineering - 20150131-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 20150131-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 20150131-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 20150131-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 20150131-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 20150131-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Feb 01 2015 Kevin Fenzi 20150131-1 +- Update to 20150131 + +* Mon Dec 08 2014 Nils Philippsen - 20130930-4 +- explicitly link against libm + +* Sun Aug 17 2014 Fedora Release Engineering - 20130930-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 20130930-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Oct 02 2013 Kevin Fenzi 20130930-1 +- Update to 20130930 version + +* Sat Aug 03 2013 Fedora Release Engineering - 20071029-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Mar 23 2013 Kevin Fenzi 20071029-10 +- Add patch to add aarch64 support. Fixes bug #925890 + +* Thu Feb 14 2013 Fedora Release Engineering - 20071029-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Nov 22 2012 Parag - 20071029-8 +- Resolves:rh#879153 - spec cleanup for recent packaging guidelines + +* Thu Jul 19 2012 Fedora Release Engineering - 20071029-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jan 10 2012 Nils Philippsen - 20071029-6 +- rebuild for gcc 4.7 + +* Tue Feb 08 2011 Fedora Release Engineering - 20071029-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Dec 15 2009 Parag - 20071029-4 +- Fix rpmlint error "libspiro.src:53: E: files-attr-not-set" + +* Sat Jul 25 2009 Fedora Release Engineering - 20071029-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 20071029-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Dec 16 2008 Kevin Fenzi - 20071029-1 +- Initial version for Fedora diff --git a/sources b/sources new file mode 100644 index 0000000..cfb3184 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (libspiro-dist-20200505.tar.gz) = 84627e8925bd6090cd7d234a0b5f3ee109d3341d24c038a0fb1ce4c09ab97fe8fc7eb92bc5df040d559c5ebe3b4fc8f51652a2538e155be9b2f3c78b96b706ee diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..d6750ec --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd ../source +./configure && make check diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..75c4a9c --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-source + +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + tests: + - smoke + required_packages: + - libtool + - m4 + - gcc + - sed + - make