Group :: Ferramentas de Arquivo
RPM: woff2
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: woff2
Version: 1.0.2
Release: alt3
Summary: WOFF2 compress/decompress tools
License: MIT
Group: File tools
Url: https://github.com/google/woff2
Packager: Vitaly Lipatov <lav at altlinux.ru>
Vcs: https://github.com/google/woff2.git
Source: %name-%version.tar
#Source: %url/archive/v%version/%name-%version.tar.gz
Requires: lib%name = %version-%release
BuildRequires(pre): cmake
BuildRequires: gcc-c++
BuildRequires: libbrotli-devel >= 0.6.0
%description
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0
with improved compression that is achieved by using the Brotli algorithm.
The primary purpose of the WOFF2 format is to efficiently package fonts
linked to Web documents by means of CSS at font-face rules.
This package provides WOFF2 compress/decompress tools.
%package -n lib%name
Summary: WOFF2 compress/decompress libraries
Group: System/Libraries
%description -n lib%name
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0
with improved compression that is achieved by using the Brotli algorithm.
The primary purpose of the WOFF2 format is to efficiently package fonts
linked to Web documents by means of CSS at font-face rules.
This package provides WOFF2 compress/decompress shared libraries.
%package -n lib%name-devel
Summary: WOFF2 compress/decompress libraries
Group: Development/C++
Requires: lib%name = %version-%release
%description -n lib%name-devel
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0
with improved compression that is achieved by using the Brotli algorithm.
The primary purpose of the WOFF2 format is to efficiently package fonts
linked to Web documents by means of CSS at font-face rules.
This package provides development files for WOFF2 compress/decompress
libraries.
%prep
%setup
%build
%cmake \
-DCMAKE_INSTALL_LIBDIR=%_libdir \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCANONICAL_PREFIXES=ON \
%nil
%cmake_build
%install
%cmake_install
mkdir -p %buildroot%_bindir/
cp -a %_cmake__builddir/woff2_* %buildroot%_bindir/
%files
%_bindir/woff2_compress
%_bindir/woff2_decompress
%_bindir/woff2_info
%files -n lib%name
%_libdir/libwoff2common.so.*
%_libdir/libwoff2dec.so.*
%_libdir/libwoff2enc.so.*
%doc LICENSE README.md
%files -n lib%name-devel
%_includedir/%name/
%_libdir/*.so
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.2
Release: alt3
Summary: WOFF2 compress/decompress tools
License: MIT
Group: File tools
Url: https://github.com/google/woff2
Packager: Vitaly Lipatov <lav at altlinux.ru>
Vcs: https://github.com/google/woff2.git
Source: %name-%version.tar
#Source: %url/archive/v%version/%name-%version.tar.gz
Requires: lib%name = %version-%release
BuildRequires(pre): cmake
BuildRequires: gcc-c++
BuildRequires: libbrotli-devel >= 0.6.0
%description
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0
with improved compression that is achieved by using the Brotli algorithm.
The primary purpose of the WOFF2 format is to efficiently package fonts
linked to Web documents by means of CSS at font-face rules.
This package provides WOFF2 compress/decompress tools.
%package -n lib%name
Summary: WOFF2 compress/decompress libraries
Group: System/Libraries
%description -n lib%name
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0
with improved compression that is achieved by using the Brotli algorithm.
The primary purpose of the WOFF2 format is to efficiently package fonts
linked to Web documents by means of CSS at font-face rules.
This package provides WOFF2 compress/decompress shared libraries.
%package -n lib%name-devel
Summary: WOFF2 compress/decompress libraries
Group: Development/C++
Requires: lib%name = %version-%release
%description -n lib%name-devel
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF 1.0
with improved compression that is achieved by using the Brotli algorithm.
The primary purpose of the WOFF2 format is to efficiently package fonts
linked to Web documents by means of CSS at font-face rules.
This package provides development files for WOFF2 compress/decompress
libraries.
%prep
%setup
%build
%cmake \
-DCMAKE_INSTALL_LIBDIR=%_libdir \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCANONICAL_PREFIXES=ON \
%nil
%cmake_build
%install
%cmake_install
mkdir -p %buildroot%_bindir/
cp -a %_cmake__builddir/woff2_* %buildroot%_bindir/
%files
%_bindir/woff2_compress
%_bindir/woff2_decompress
%_bindir/woff2_info
%files -n lib%name
%_libdir/libwoff2common.so.*
%_libdir/libwoff2dec.so.*
%_libdir/libwoff2enc.so.*
%doc LICENSE README.md
%files -n lib%name-devel
%_includedir/%name/
%_libdir/*.so
%_pkgconfigdir/*.pc
%changelog
…
Todas as alterações você pod ver aqui