/[packages]/cauldron/icu/current/SPECS/icu.spec
ViewVC logotype

Diff of /cauldron/icu/current/SPECS/icu.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 248932 by anssi, Fri Dec 30 03:50:41 2011 UTC revision 248933 by fwang, Tue May 29 01:43:31 2012 UTC
# Line 1  Line 1 
1  %define major 48  %define major 49
2  %define libname %mklibname icu %{major}  %define libname %mklibname icu %{major}
3  %define develname %mklibname icu -d  %define develname %mklibname icu -d
4  %define tarballver %(echo %version|sed -e 's|\\.|_|g')  %define tarballver %(echo %version|sed -e 's|\\.|_|g')
5    
6  Summary:        International Components for Unicode  Summary:        International Components for Unicode
7  Name:           icu  Name:           icu
8  Version:        4.8.1.1  Version:        49.1.1
9  Release:        %mkrel 2  Release:        %mkrel 1
10  Epoch:          1  Epoch:          1
11  License:        MIT  License:        MIT
12  Group:          System/Libraries  Group:          System/Libraries
13  URL:            http://www.icu-project.org/index.html  URL:            http://www.icu-project.org/index.html
14  Source0:        http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-src.tgz  Source0:        http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-src.tgz
15  Source1:        http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-docs.zip  Source1:        http://download.icu-project.org/files/icu4c/%{version}/%{name}4c-%{tarballver}-docs.zip
 Patch0:         %{name}4c-3_8-setBreakType.patch  
16  Patch6:         icu-4.6.1-do-not-promote-ldflags.patch  Patch6:         icu-4.6.1-do-not-promote-ldflags.patch
 Patch7:         icu4c-mdv-CVE-2011-4599.diff  
17  BuildRequires:  doxygen  BuildRequires:  doxygen
18  Requires:       %{libname} = %{epoch}:%{version}-%{release}  Requires:       %{libname} = %{epoch}:%{version}-%{release}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot  
19    
20  %description  %description
21  The International Components for Unicode (ICU) libraries provide robust and  The International Components for Unicode (ICU) libraries provide robust and
# Line 70  Provides:      %{name}-devel = %{epoch}:%{ver Line 67  Provides:      %{name}-devel = %{epoch}:%{ver
67  Provides:       lib%{name}-devel = %{epoch}:%{version}-%{release}  Provides:       lib%{name}-devel = %{epoch}:%{version}-%{release}
68  Obsoletes:      %mklibname -d icu 36  Obsoletes:      %mklibname -d icu 36
69  Obsoletes:      %mklibname -d icu 34  Obsoletes:      %mklibname -d icu 34
 #define _requires_exceptions statically\\|linked  
70    
71  %description -n %{develname}  %description -n %{develname}
72  Development files and headers for the International Components for Unicode.  Development files and headers for the International Components for Unicode.
73    
74  %prep  %prep
75  %setup -q -n %{name}  %setup -q -n %{name}
 %patch0 -p1 -b .setBreakType  
76  %patch6 -p0 -b .ldflags  %patch6 -p0 -b .ldflags
 %patch7 -p0  
77    
78  mkdir -p docs  mkdir -p docs
79  cd docs  cd docs
# Line 110  pushd source Line 104  pushd source
104  %makeinstall_std  %makeinstall_std
105  popd  popd
106    
 %clean  
 rm -rf %{buildroot}  
   
107  %files  %files
108  %defattr(-,root,root)  %defattr(-,root,root)
109  %{_bindir}/*  %{_bindir}/*

Legend:
Removed from v.248932  
changed lines
  Added in v.248933

  ViewVC Help
Powered by ViewVC 1.1.30