commit 7ff17ac20583d0907e77c5f01165d270afb37401 Author: tigro Date: Sun Jul 2 21:00:18 2023 +0300 import zimg-3.0.3-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..09b7f85 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/zimg-3.0.3.tar.gz diff --git a/.zimg.metadata b/.zimg.metadata new file mode 100644 index 0000000..b197e77 --- /dev/null +++ b/.zimg.metadata @@ -0,0 +1 @@ +443d5130c38ddef3c6551bd858cce9e49d6fd54e SOURCES/zimg-3.0.3.tar.gz diff --git a/SPECS/zimg.spec b/SPECS/zimg.spec new file mode 100644 index 0000000..af6d76e --- /dev/null +++ b/SPECS/zimg.spec @@ -0,0 +1,117 @@ +Name: zimg +Version: 3.0.3 +Release: 1%{?dist} +Summary: Scaling, color space conversion, and dithering library +License: WTFPL +URL: https://github.com/sekrit-twc/zimg + +Source0: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz + +BuildRequires: make +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool + +%description +The "z" library implements the commonly required image processing basics of +scaling, color space conversion, and depth conversion. A simple API enables +conversion between any supported formats to operate with minimal knowledge from +the programmer. All library routines were designed from the ground-up with +correctness, flexibility, and thread-safety as first priorities. Allocation, +buffering, and I/O are cleanly separated from processing, allowing the +programmer to adapt "z" to many scenarios. + +%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 -p1 -n zimg-release-%{version} + +%build +%ifarch armv7hl +CXXFLAGS=$(echo %{optflags} | sed -e 's/ -mfpu=vfpv3-d16//g') +%endif + +autoreconf -vif +%configure \ + --disable-static \ + --enable-testapp +%make_build V=1 + +%install +%make_install +install -m 755 -p -D testapp %{buildroot}%{_bindir}/testapp + +find %{buildroot} -name '*.la' -delete + +# Pick up docs in the files section +rm -fr %{buildroot}%{_docdir}/%{name} + +%ldconfig_scriptlets + +%files +%license COPYING +%doc README.md ChangeLog +%{_libdir}/lib%{name}.so.2.0.0 +%{_libdir}/lib%{name}.so.2 + +%files devel +%{_bindir}/testapp +%{_includedir}/* +%{_libdir}/lib%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Sun Jul 02 2023 Arkady L. Shane - 3.0.3-1 +- Rebuilt for MSVSphere 9.2 + +* Wed Feb 23 2022 Nicolas Chauvet - 3.0.3-1 +- Update to 3.0.3 + +* Sat Jan 22 2022 Fedora Release Engineering - 3.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 3.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Jan 7 2021 Simone Caronni - 3.0.1-2 +- Fix build on armv7hl. + +* Sat Jan 2 2021 Simone Caronni - 3.0.1-1 +- Update to 3.0.1. + +* Wed Jul 29 2020 Fedora Release Engineering - 2.9.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Apr 20 2020 Simone Caronni - 2.9.3-2 +- Fix FTBFS in Rawhide. + +* Wed Mar 04 2020 Simone Caronni - 2.9.3-1 +- Update to 2.9.3. + +* Fri Jan 31 2020 Fedora Release Engineering - 2.9.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 23 2019 Leigh Scott - 2.9.2-1 +- Update to 2.9.2 release + +* Sat Jul 27 2019 Fedora Release Engineering - 2.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 08 2019 Simone Caronni - 2.8-3 +- Review fixes. + +* Sat May 25 2019 Simone Caronni - 2.8-2 +- rpmlint fixes. + +* Thu Mar 28 2019 Simone Caronni - 2.8-1 +- First build.