Split out into sep libs..
OBS-URL: https://build.opensuse.org/package/show/M17N/woff2?expand=0&rev=2
This commit is contained in:
parent
c44ec2e099
commit
ff44081fbc
52
woff2.spec
52
woff2.spec
@ -16,6 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define soname 1_0_2
|
||||||
|
|
||||||
Name: woff2
|
Name: woff2
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -38,11 +40,37 @@ algorithm. The primary purpose of the WOFF2 format is to
|
|||||||
efficiently package fonts linked to Web documents by means of CSS
|
efficiently package fonts linked to Web documents by means of CSS
|
||||||
@font-face rules.
|
@font-face rules.
|
||||||
|
|
||||||
%package -n lib%{name}
|
%package -n libwoff2common%{soname}
|
||||||
Summary: Shared library for %{name}
|
Summary: Shared library for %{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n lib%{name}
|
%description -n libwoff2common%{soname}
|
||||||
|
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
|
||||||
|
@font-face rules.
|
||||||
|
|
||||||
|
This package contains the shared library for %{name}.
|
||||||
|
|
||||||
|
%package -n libwoff2dec%{soname}
|
||||||
|
Summary: Shared library for %{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwoff2dec%{soname}
|
||||||
|
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
|
||||||
|
@font-face rules.
|
||||||
|
|
||||||
|
This package contains the shared library for %{name}.
|
||||||
|
|
||||||
|
%package -n libwoff2enc%{soname}
|
||||||
|
Summary: Shared library for %{name}
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libwoff2enc%{soname}
|
||||||
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF
|
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
|
1.0 with improved compression that is achieved by using the Brotli
|
||||||
algorithm. The primary purpose of the WOFF2 format is to
|
algorithm. The primary purpose of the WOFF2 format is to
|
||||||
@ -54,7 +82,9 @@ This package contains the shared library for %{name}.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: lib%{name} = %{version}
|
Requires: libwoff2common%{soname} = %{version}
|
||||||
|
Requires: libwoff2dec%{soname} = %{version}
|
||||||
|
Requires: libwoff2enc%{soname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF
|
Web Open Font Format (WOFF) 2.0 is an update to the existing WOFF
|
||||||
@ -80,13 +110,23 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n libwoff2common%{soname} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n libwoff2common%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name}
|
%post -n libwoff2dec%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libwoff2dec%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%post -n libwoff2enc%{soname} -p /sbin/ldconfig
|
||||||
|
%postun -n libwoff2enc%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libwoff2common%{soname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libwoff2common.so.*
|
%{_libdir}/libwoff2common.so.*
|
||||||
|
|
||||||
|
%files -n libwoff2dec%{soname}
|
||||||
%{_libdir}/libwoff2dec.so.*
|
%{_libdir}/libwoff2dec.so.*
|
||||||
|
|
||||||
|
%files -n libwoff2enc%{soname}
|
||||||
%{_libdir}/libwoff2enc.so.*
|
%{_libdir}/libwoff2enc.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user