icu/icu.spec

267 lines
8.3 KiB
RPMSpec
Raw Normal View History

2005-09-12 18:35:57 +00:00
Name: icu
2006-08-03 10:44:47 +00:00
Version: 3.6
2006-11-02 16:10:48 +00:00
Release: 9
2005-09-12 18:35:57 +00:00
Summary: International Components for Unicode
Group: System Environment/Libraries
License: X License
URL: http://www.ibm.com/software/globalization/icu/
2006-09-04 08:55:35 +00:00
Source0: ftp://ftp.software.ibm.com/software/globalization/icu/icu4c-3_6-src.tgz
2005-09-12 18:35:57 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-root
2006-06-10 10:04:04 +00:00
BuildRequires: doxygen, autoconf
2006-09-04 08:53:40 +00:00
Patch1: icu-3.4-multiarchdevel.patch
Patch2: icu-config
2006-09-06 10:54:33 +00:00
Patch3: icu.icu5365.dependantvowels.patch
2006-09-25 12:16:26 +00:00
Patch4: icu.icu5418.malayam.patch
2006-10-03 13:08:10 +00:00
Patch5: icu.icu5431.malayam.patch
2006-10-03 13:51:32 +00:00
Patch6: icu.icu5433.oriya.patch
2006-10-05 11:19:02 +00:00
Patch7: icu.icuXXXX.virama.prevnext.patch
2006-10-18 08:42:34 +00:00
Patch8: icu.icu5465.telegu.patch
2006-11-01 09:36:44 +00:00
Patch9: icu.icu5488.assamese.patch
%description
2005-09-12 18:35:57 +00:00
The International Components for Unicode (ICU) libraries provide
robust and full-featured Unicode services on a wide variety of
platforms. ICU supports the most current version of the Unicode
standard, and they provide support for supplementary Unicode
characters (needed for GB 18030 repertoire support).
As computing environments become more heterogeneous, software
portability becomes more important. ICU lets you produce the same
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
%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}
2006-10-02 07:14:09 +00:00
Requires: pkgconfig
2005-09-12 18:35:57 +00:00
%description -n lib%{name}-devel
%{summary}.
%package -n lib%{name}-doc
Summary: Documentation for International Components for Unicode
Group: Documentation
%description -n lib%{name}-doc
%{summary}.
%prep
2005-09-12 18:35:57 +00:00
%setup -q -n %{name}
2006-08-14 16:12:32 +00:00
%patch1 -p1 -b .multiarchdevel
2006-09-06 10:43:17 +00:00
%patch3 -p1 -b .dependantvowels
2006-10-03 13:08:10 +00:00
%patch4 -p1 -b .icu5418.malayam.patch
%patch5 -p1 -b .icu5431.malayam.patch
2006-10-03 13:51:32 +00:00
%patch6 -p1 -b .icu5433.oriya.patch
2006-10-05 11:19:02 +00:00
%patch7 -p1 -b .icuXXXX.virama.prevnext.patch
2006-10-18 08:42:34 +00:00
%patch8 -p1 -b .icu5465.telegu.patch
2006-11-01 09:36:44 +00:00
%patch9 -p1 -b .icu5488.assamese.patch
%build
cd source
2005-09-12 18:35:57 +00:00
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
2006-08-08 15:09:52 +00:00
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
2006-05-02 15:58:15 +00:00
autoconf
2005-09-12 18:35:57 +00:00
%configure --with-data-packaging=library --disable-samples
make # %{?_smp_mflags} # -j(X>1) may "break" man pages as of 3.2, b.f.u #2357
make doc
%install
2005-09-12 18:35:57 +00:00
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.*
2006-05-02 15:58:15 +00:00
cp %{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
2005-09-12 18:35:57 +00:00
%check || :
make -C source check
%clean
rm -rf $RPM_BUILD_ROOT
2005-09-12 18:35:57 +00:00
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc license.html readme.html
2005-09-12 18:35:57 +00:00
%{_bindir}/derb
%{_bindir}/genbrk
%{_bindir}/gencnval
2006-08-03 10:44:47 +00:00
%{_bindir}/genctd
2005-09-12 18:35:57 +00:00
%{_bindir}/genrb
%{_bindir}/makeconv
%{_bindir}/pkgdata
%{_bindir}/uconv
%{_sbindir}/*
%{_mandir}/man1/derb.1*
%{_mandir}/man1/gencnval.1*
%{_mandir}/man1/genrb.1*
2006-08-03 10:44:47 +00:00
%{_mandir}/man1/genbrk.1*
%{_mandir}/man1/genctd.1*
2005-09-12 18:35:57 +00:00
%{_mandir}/man1/makeconv.1*
%{_mandir}/man1/pkgdata.1*
%{_mandir}/man1/uconv.1*
%{_mandir}/man8/*.8*
%files -n lib%{name}
%defattr(-,root,root,-)
%{_libdir}/*.so.*
2005-09-12 18:35:57 +00:00
%files -n lib%{name}-devel
%defattr(-,root,root,-)
%{_bindir}/%{name}-config
%{_mandir}/man1/%{name}-config.1*
%{_includedir}/layout
%{_includedir}/unicode
%{_libdir}/*.so
2005-09-12 18:35:57 +00:00
%{_libdir}/%{name}
2006-05-02 15:58:15 +00:00
%{_libdir}/pkgconfig/icu.pc
2005-09-12 18:35:57 +00:00
%dir %{_datadir}/%{name}
2006-08-03 10:44:47 +00:00
%dir %{_datadir}/%{name}/3.6
%{_datadir}/%{name}/3.6/mkinstalldirs
%{_datadir}/%{name}/3.6/config
%doc %{_datadir}/%{name}/3.6/license.html
2005-09-12 18:35:57 +00:00
%files -n lib%{name}-doc
%defattr(-,root,root,-)
%doc source/__docs/%{name}/html/*
%changelog
2006-11-02 16:10:48 +00:00
* Thu Oct 18 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-9
- Resolves: rhbz#213648 extend prev/next to handle ZWJ
2006-11-01 09:36:44 +00:00
* Tue Oct 18 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-8
- Resolves: rhbz213375 (icu.icu5488.assamese.patch)
2006-10-18 08:42:34 +00:00
* Tue Oct 18 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-7
- Resolves: rhbz#211258 (icu.icu5465.telegu.patch)
2006-10-05 11:19:02 +00:00
* Thu Oct 05 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-6
- rh#209391# add icu.icuXXXX.virama.prevnext.patch
2006-10-02 07:14:09 +00:00
* Mon Oct 02 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-5
- rh#208705# add pkg-config Require for -devel package
2006-10-03 13:08:10 +00:00
- add icu.icu5431.malayam.patch for rh#208551#/rh#209084#
2006-10-03 13:51:32 +00:00
- add icu.icu5433.oriya.patch for rh#208559#/rh#209083#
2006-10-02 07:14:09 +00:00
2006-10-01 20:19:34 +00:00
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 3.6-4
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
2006-09-25 12:16:26 +00:00
* Mon Sep 25 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-3
- rh#206615# render malayam like pango
2006-09-06 10:43:17 +00:00
* Wed Sep 06 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-2
2006-09-06 10:54:33 +00:00
- fix rh#205252#/icu#5365 (gnome#121882#/#icu#4026#) to make icu
like pango for multiple dependant vowels
2006-09-06 10:43:17 +00:00
2006-09-04 08:53:40 +00:00
* Mon Sep 03 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-1
- final release
2006-08-14 14:55:32 +00:00
* Mon Aug 14 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-0.1.d02
- bump
2006-08-08 15:09:52 +00:00
* Tue Aug 08 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-0.2.d01
- c++ code not alias correct
2006-08-03 10:44:47 +00:00
* Mon Jul 31 2006 Caolan McNamara <caolanm@redhat.com> - 3.6-0.1.d01
- rh#200728# update to prelease 3.6d01 to pick up on sinhala fixes
- drop integrated rh190879.patch
- drop integrated icu-3.4-sinhala1.patch
2006-07-12 17:33:04 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.4-10.1.1
- rebuild
2006-07-12 17:23:51 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.4-10.1
- rebuild
2006-06-10 10:04:04 +00:00
* Sat Jun 10 2006 Caolan McNamara <caolanm@redhat.com> - 3.4-10
- rh#194686# BuildRequires
2006-05-09 14:32:52 +00:00
* Tue May 09 2006 Caolan McNamara <caolanm@redhat.com> - 3.4-9
- rh#190879# backport fix
2006-05-03 11:54:40 +00:00
* Wed May 03 2006 Caolan McNamara <caolanm@redhat.com> - 3.4-8
- add Harshula's icu-3.4-sinhala1.patch for some Sinhala support
2006-05-02 15:58:15 +00:00
* Tue May 02 2006 Caolan McNamara <caolanm@redhat.com> - 3.4-7
- add a pkgconfig.pc, make icu-config use it
2006-02-11 03:28:13 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.4-6.2
- bump again for double-long bug on ppc(64)
2006-02-07 12:14:46 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.4-6.1
- rebuilt for new gcc4.1 snapshot and glibc changes
2006-01-03 10:55:14 +00:00
* Tue Jan 03 2006 Caolan McNamara <caolanm@redhat.com> - 3.4-6
2006-01-03 10:54:36 +00:00
- add icu-gcc41.patch
2005-12-09 22:40:57 +00:00
2005-10-11 04:20:05 +00:00
* Tue Oct 11 2005 Caolan McNamara <caolanm@redhat.com> - 3.4-5
- clear execstack requirement for libicudata
2005-09-12 18:35:57 +00:00
* Mon Sep 12 2005 Caolan McNamara <caolanm@redhat.com> - 3.4-4
- import extra icu.spec into fedora core for openoffice.org
- build with gcc 4
* Wed Aug 31 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 3.4-3
- Use dist
- gcc32 does not understand -fstack-protector and
--param=ssp-buffer-size=4
* Tue Aug 2 2005 Ville Skyttä <ville.skytta at iki.fi> - 3.4-2
- 3.4.
* Sun Jul 31 2005 Ville Skyttä <ville.skytta at iki.fi> - 3.4-0.2.d02
- 3.4-d02.
- Don't ship static libraries.
* Wed Apr 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 3.2-3
- Apply upstream case mapping mutex lock removal patch.
- Build with gcc 3.2 as a temporary workaround for #152495.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 3.2-2
- rebuilt
* Sat Jan 1 2005 Ville Skyttä <ville.skytta at iki.fi> - 3.2-1
- Don't use %%{_smp_mflags} (b.f.u #2357).
- Remove unnecessary Epochs.
* Sat Dec 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.2-0.fdr.1
- Update to 3.2.
* Sun Jul 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:3.0-0.fdr.1
- Update to 3.0, datadirs patch no longer needed.
- Package data in shared libs, drop -locales subpackage.
- Rename -docs subpackage to libicu-doc, and generate graphs with graphviz.
* Sat Dec 13 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.6.1-0.fdr.3
- Partial fix for bad datadirs returned by icu-config (works as long as
data packaging mode is not "common" or "dll").
* Sun Nov 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.6.1-0.fdr.2
- First complete version.
* Sun Sep 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.6.1-0.fdr.1
- Update to 2.6.1.
2005-01-13 18:33:06 +00:00
2005-09-12 18:35:57 +00:00
* Wed Aug 27 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:2.6-0.fdr.1
- First build, based on upstream and SuSE 8.2 packages.