mirror of
https://abf.rosa.ru/djam/icu.git
synced 2025-02-23 10:52:49 +00:00
68.1
This commit is contained in:
parent
d756d06122
commit
ef97afb530
1 changed files with 20 additions and 2 deletions
22
icu.spec
22
icu.spec
|
@ -1,9 +1,16 @@
|
||||||
|
%define icule 0
|
||||||
|
%define iculx 0
|
||||||
|
|
||||||
%define major %(echo %{version} |cut -d. -f1)
|
%define major %(echo %{version} |cut -d. -f1)
|
||||||
%define libicudata %mklibname %{name}data %{major}
|
%define libicudata %mklibname %{name}data %{major}
|
||||||
%define libicui18n %mklibname %{name}i18n %{major}
|
%define libicui18n %mklibname %{name}i18n %{major}
|
||||||
%define libicuio %mklibname %{name}io %{major}
|
%define libicuio %mklibname %{name}io %{major}
|
||||||
|
%if %icule
|
||||||
%define libicule %mklibname %{name}le %{major}
|
%define libicule %mklibname %{name}le %{major}
|
||||||
|
%endif
|
||||||
|
%if %iculx
|
||||||
%define libiculx %mklibname %{name}lx %{major}
|
%define libiculx %mklibname %{name}lx %{major}
|
||||||
|
%endif
|
||||||
%define libicutest %mklibname %{name}test %{major}
|
%define libicutest %mklibname %{name}test %{major}
|
||||||
%define libicutu %mklibname %{name}tu %{major}
|
%define libicutu %mklibname %{name}tu %{major}
|
||||||
%define libicuuc %mklibname %{name}uc %{major}
|
%define libicuuc %mklibname %{name}uc %{major}
|
||||||
|
@ -25,6 +32,7 @@ Group: System/Libraries
|
||||||
URL: https://icu.unicode.org
|
URL: https://icu.unicode.org
|
||||||
Source0: https://github.com/unicode-org/icu/releases/download/release-%{releasever}/%{name}4c-%{tarballver}-src.tgz
|
Source0: https://github.com/unicode-org/icu/releases/download/release-%{releasever}/%{name}4c-%{tarballver}-src.tgz
|
||||||
Source1: https://github.com/unicode-org/icu/releases/download/release-%{releasever}/%{name}4c-%{tarballver}-docs.zip
|
Source1: https://github.com/unicode-org/icu/releases/download/release-%{releasever}/%{name}4c-%{tarballver}-docs.zip
|
||||||
|
Source1000: %{name}.rpmlintrc
|
||||||
Patch0: %{name}4c-49.1-setBreakType.patch
|
Patch0: %{name}4c-49.1-setBreakType.patch
|
||||||
Patch1: icu-57.1-ICU-12936.patch
|
Patch1: icu-57.1-ICU-12936.patch
|
||||||
# From Fedora package
|
# From Fedora package
|
||||||
|
@ -123,8 +131,11 @@ Library for the International Components for Unicode - icuio.
|
||||||
%files -n %{libicuio}
|
%files -n %{libicuio}
|
||||||
%{_libdir}/libicuio.so.%{major}*
|
%{_libdir}/libicuio.so.%{major}*
|
||||||
|
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%if %icule
|
||||||
|
|
||||||
%package -n %{libicule}
|
%package -n %{libicule}
|
||||||
Summary: Library for the International Components for Unicode - icule
|
Summary: Library for the International Components for Unicode - icule
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
@ -135,8 +146,10 @@ Library for the International Components for Unicode - icule.
|
||||||
%files -n %{libicule}
|
%files -n %{libicule}
|
||||||
%{_libdir}/libicule.so.%{major}*
|
%{_libdir}/libicule.so.%{major}*
|
||||||
|
|
||||||
|
%endif
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
%if %icule
|
||||||
%package -n %{libiculx}
|
%package -n %{libiculx}
|
||||||
Summary: Library for the International Components for Unicode - iculx
|
Summary: Library for the International Components for Unicode - iculx
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
@ -146,6 +159,7 @@ Library for the International Components for Unicode - iculx.
|
||||||
|
|
||||||
%files -n %{libiculx}
|
%files -n %{libiculx}
|
||||||
%{_libdir}/libiculx.so.%{major}*
|
%{_libdir}/libiculx.so.%{major}*
|
||||||
|
%endif
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -191,8 +205,12 @@ Group: Development/Other
|
||||||
Requires: %{libicudata} = %{EVRD}
|
Requires: %{libicudata} = %{EVRD}
|
||||||
Requires: %{libicui18n} = %{EVRD}
|
Requires: %{libicui18n} = %{EVRD}
|
||||||
Requires: %{libicuio} = %{EVRD}
|
Requires: %{libicuio} = %{EVRD}
|
||||||
|
%if %icule
|
||||||
Requires: %{libicule} = %{EVRD}
|
Requires: %{libicule} = %{EVRD}
|
||||||
|
%endif
|
||||||
|
%if %iculx
|
||||||
Requires: %{libiculx} = %{EVRD}
|
Requires: %{libiculx} = %{EVRD}
|
||||||
|
%endif
|
||||||
Requires: %{libicutest} = %{EVRD}
|
Requires: %{libicutest} = %{EVRD}
|
||||||
Requires: %{libicutu} = %{EVRD}
|
Requires: %{libicutu} = %{EVRD}
|
||||||
Requires: %{libicuuc} = %{EVRD}
|
Requires: %{libicuuc} = %{EVRD}
|
||||||
|
@ -206,9 +224,9 @@ Development files and headers for the International Components for Unicode.
|
||||||
%{_bindir}/icu-config
|
%{_bindir}/icu-config
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%dir %{_includedir}/layout
|
#dir %{_includedir}/layout
|
||||||
%dir %{_includedir}/unicode
|
%dir %{_includedir}/unicode
|
||||||
%{_includedir}/layout/*
|
#{_includedir}/layout/*
|
||||||
%{_includedir}/unicode/*
|
%{_includedir}/unicode/*
|
||||||
%dir %{_libdir}/%{name}
|
%dir %{_libdir}/%{name}
|
||||||
%{_libdir}/%{name}/*
|
%{_libdir}/%{name}/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue