Resolves: rhbz#804313 multi-lib pain
This commit is contained in:
parent
5a905df54a
commit
91ee317d71
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/icu4c-4*-src.tgz
|
/icu4c-4*-src.tgz
|
||||||
|
/icu-config.sh
|
||||||
|
15
icu.spec
15
icu.spec
@ -1,11 +1,12 @@
|
|||||||
Name: icu
|
Name: icu
|
||||||
Version: 49.1.1
|
Version: 49.1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: International Components for Unicode
|
Summary: International Components for Unicode
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: MIT and UCD and Public Domain
|
License: MIT and UCD and Public Domain
|
||||||
URL: http://www.icu-project.org/
|
URL: http://www.icu-project.org/
|
||||||
Source: http://download.icu-project.org/files/icu4c/49.1.1/icu4c-49_1_1-src.tgz
|
Source0: http://download.icu-project.org/files/icu4c/49.1.1/icu4c-49_1_1-src.tgz
|
||||||
|
Source1: icu-config.sh
|
||||||
BuildRequires: doxygen, autoconf
|
BuildRequires: doxygen, autoconf
|
||||||
Requires: lib%{name} = %{version}-%{release}
|
Requires: lib%{name} = %{version}-%{release}
|
||||||
|
|
||||||
@ -84,6 +85,11 @@ rm -rf $RPM_BUILD_ROOT source/__docs
|
|||||||
make -C source install DESTDIR=$RPM_BUILD_ROOT
|
make -C source install DESTDIR=$RPM_BUILD_ROOT
|
||||||
make -C source install-doc docdir=__docs
|
make -C source install-doc docdir=__docs
|
||||||
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
||||||
|
(
|
||||||
|
cd $RPM_BUILD_ROOT%{_bindir}
|
||||||
|
mv icu-config icu-config-%{__isa_bits}
|
||||||
|
)
|
||||||
|
install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/icu-config
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make -C source check
|
make -C source check
|
||||||
@ -121,7 +127,7 @@ make -C source check
|
|||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/%{name}-config
|
%{_bindir}/%{name}-config-*
|
||||||
%{_bindir}/icuinfo
|
%{_bindir}/icuinfo
|
||||||
%{_mandir}/man1/%{name}-config.1*
|
%{_mandir}/man1/%{name}-config.1*
|
||||||
%{_includedir}/layout
|
%{_includedir}/layout
|
||||||
@ -142,6 +148,9 @@ make -C source check
|
|||||||
%doc source/__docs/%{name}/html/*
|
%doc source/__docs/%{name}/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 15 2012 Caolán McNamara <caolanm@redhat.com> - 49.1.1-2
|
||||||
|
- Resolves: rhbz#804313 multi-lib pain
|
||||||
|
|
||||||
* Thu Apr 19 2012 Eike Rathke <erack@redhat.com> - 49.1.1-1
|
* Thu Apr 19 2012 Eike Rathke <erack@redhat.com> - 49.1.1-1
|
||||||
- Update to 49.1.1
|
- Update to 49.1.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user