Name: woff2 Version: 1.0.2 Release: 1mamba Summary: WOFF - Web Open Font Format libraries Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/google/woff2 ## GITSOURCE https://github.com/google/woff2.git v1.0.2 Source: https://github.com/google/woff2.git/v%{version}/woff2-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libbrotli-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description WOFF - Web Open Font Format libraries. %package -n lib%{name} Group: System/Libraries Summary: WOFF - Web Open Font Format library %description -n lib%{name} WOFF - Web Open Font Format 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} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build export LC_ALL=en_US.UTF-8 %cmake -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libwoff2common.so.* %{_libdir}/libwoff2dec.so.* %{_libdir}/libwoff2enc.so.* %doc LICENSE %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/woff2 %{_includedir}/woff2/*.h %{_libdir}/libwoff2common.so %{_libdir}/libwoff2dec.so %{_libdir}/libwoff2enc.so %{_libdir}/pkgconfig/libwoff2common.pc %{_libdir}/pkgconfig/libwoff2dec.pc %{_libdir}/pkgconfig/libwoff2enc.pc %doc README.md %changelog * Thu Sep 06 2018 Silvan Calarco 1.0.2-1mamba - package created using the webbuild interface