Name: libcss Version: 0.9.2 Release: 1mamba Summary: Cascading Style Sheets library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/netsurf-browser/libcss Source: https://github.com/netsurf-browser/libcss.git/release%2F%{version}/libcss-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libparserutils-devel BuildRequires: libwapcaplet-devel ## AUTOBUILDREQ-END BuildRequires: netsurf-buildsystem %description LibCSS is a CSS parser and selection engine. It aims to parse the forward compatible CSS grammar. %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %prep %setup -q sed -i 's,_BSD_SOURCE,_DEFAULT_SOURCE,' Makefile %build export CFLAGS="%{optflags} -shared -fPIC -w" export LDFLAGS="%{optflags} -shared -z,now" %make COMPONENT_TYPE=lib-shared INCLUDEDIR=include LIBDIR=%{_lib} PREFIX=%{_prefix} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall COMPONENT_TYPE=lib-shared INCLUDEDIR=include LIBDIR=%{_lib} PREFIX=%{_prefix} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/libcss.so.* %doc COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/libcss %{_includedir}/libcss/* %{_libdir}/libcss.so %{_libdir}/pkgconfig/libcss.pc %doc README %changelog * Thu Jan 02 2025 Silvan Calarco 0.9.2-1mamba - package created using the webbuild interface