zimg/zimg.spec

72 lines
1.9 KiB
RPMSpec
Raw Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 3.0.5-1mamba
- package created using the webbuild interface