some spec cleanups
This commit is contained in:
parent
99645ce535
commit
a1bb888777
53
icu.spec
53
icu.spec
@ -1,15 +1,14 @@
|
||||
Name: icu
|
||||
Version: 3.6
|
||||
Release: 16
|
||||
Summary: International Components for Unicode
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: X License
|
||||
URL: http://www.ibm.com/software/globalization/icu/
|
||||
Source0: ftp://ftp.software.ibm.com/software/globalization/icu/icu4c-3_6-src.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
Name: icu
|
||||
Version: 3.6
|
||||
Release: 17%{?dist}
|
||||
Summary: International Components for Unicode
|
||||
Group: System Environment/Libraries
|
||||
License: MIT
|
||||
URL: http://www.ibm.com/software/globalization/icu/
|
||||
Source0: ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: doxygen, autoconf
|
||||
|
||||
Patch1: icu-3.4-multiarchdevel.patch
|
||||
Patch2: icu-config
|
||||
Patch3: icu.icu5365.dependantvowels.patch
|
||||
@ -36,30 +35,29 @@ results across all the various platforms you support, without
|
||||
sacrificing performance. It offers great flexibility to extend and
|
||||
customize the supplied services.
|
||||
|
||||
%package -n lib%{name}
|
||||
Summary: International Components for Unicode - libraries
|
||||
Group: System Environment/Libraries
|
||||
%package -n lib%{name}
|
||||
Summary: International Components for Unicode - libraries
|
||||
Group: System Environment/Libraries
|
||||
|
||||
%description -n lib%{name}
|
||||
%{summary}.
|
||||
|
||||
%package -n lib%{name}-devel
|
||||
Summary: Development files for International Components for Unicode
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
%package -n lib%{name}-devel
|
||||
Summary: Development files for International Components for Unicode
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
%{summary}.
|
||||
|
||||
%package -n lib%{name}-doc
|
||||
Summary: Documentation for International Components for Unicode
|
||||
Group: Documentation
|
||||
%package -n lib%{name}-doc
|
||||
Summary: Documentation for International Components for Unicode
|
||||
Group: Documentation
|
||||
|
||||
%description -n lib%{name}-doc
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%patch1 -p1 -b .multiarchdevel
|
||||
@ -89,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT source/__docs
|
||||
make -C source install DESTDIR=$RPM_BUILD_ROOT
|
||||
make -C source install-doc docdir=__docs
|
||||
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
||||
cp %{PATCH2} $RPM_BUILD_ROOT%{_bindir}/%{name}-config
|
||||
cp -p %{PATCH2} $RPM_BUILD_ROOT%{_bindir}/%{name}-config
|
||||
chmod a+x $RPM_BUILD_ROOT%{_bindir}/%{name}-config
|
||||
sed -i s/\\\$\(THREADSCXXFLAGS\)// $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/icu.pc
|
||||
sed -i s/\\\$\(THREADSCPPFLAGS\)/-D_REENTRANT/ $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/icu.pc
|
||||
@ -97,16 +95,13 @@ sed -i s/\\\$\(THREADSCPPFLAGS\)/-D_REENTRANT/ $RPM_BUILD_ROOT/%{_libdir}/pkgcon
|
||||
%check || :
|
||||
make -C source check
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc license.html readme.html
|
||||
@ -152,8 +147,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root,-)
|
||||
%doc source/__docs/%{name}/html/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Feb 09 2007 Caolan McNamara <caolanm@redhat.com> - 3.6-17
|
||||
- spec cleanups
|
||||
|
||||
* Mon Feb 05 2007 Caolan McNamara <caolanm@redhat.com> - 3.6-16
|
||||
- Resolves: rhbz#226949 layout telegu like pango
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user