From 635b8b5935fd9e12671e99f0dcbe9607e35fa935 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 17 Jan 2025 09:39:19 +0100 Subject: [PATCH] package created using the webbuild interface [release 3.0.5-1mamba;Thu Jan 16 2025] --- README.md | 2 ++ zimg.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 zimg.spec diff --git a/README.md b/README.md index aa1c2c6..78f884c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # zimg +Scaling, colorspace conversion, and dithering library. + diff --git a/zimg.spec b/zimg.spec new file mode 100644 index 0000000..dd72517 --- /dev/null +++ b/zimg.spec @@ -0,0 +1,71 @@ +Name: zimg +Version: 3.0.5 +Release: 1mamba +Summary: Scaling, colorspace conversion, and dithering library +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/sekrit-twc/zimg +Source: https://github.com/sekrit-twc/zimg.git/release-%{version}/zimg-%{version}.tar.bz2 +License: WTFPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Scaling, colorspace conversion, and dithering library. + +%package -n lib%{name} +Group: System/Libraries +Summary: Scaling, colorspace conversion, and dithering library + +%description -n lib%{name} +Scaling, colorspace conversion, and dithering library. +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libzimg.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/zimg++.hpp +%{_includedir}/zimg.h +%{_libdir}/libzimg.a +%{_libdir}/libzimg.so +%{_libdir}/pkgconfig/zimg.pc +%dir %{_docdir}/zimg +%{_docdir}/zimg/* +%doc ChangeLog README.md + +%changelog +* Thu Jan 16 2025 Silvan Calarco 3.0.5-1mamba +- package created using the webbuild interface