rock and roll
This commit is contained in:
parent
6a62fa74d1
commit
878f89f26b
@ -1 +1,2 @@
|
|||||||
icu-2.6.2.tar.gz
|
icu-2.6.2.tar.gz
|
||||||
|
icu-3.4.tgz
|
||||||
|
206
icu.spec
206
icu.spec
@ -1,99 +1,169 @@
|
|||||||
# Based off of a spec file by Dag Wieers <dag@wieers.com>
|
|
||||||
# http://dag.wieers.com/packages/icu/icu.spec
|
|
||||||
|
|
||||||
Summary: International Components for Unicode
|
|
||||||
Name: icu
|
Name: icu
|
||||||
Version: 2.6.2
|
Version: 3.4
|
||||||
Release: 2
|
Release: 4
|
||||||
License: X License
|
Summary: International Components for Unicode
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://oss.software.ibm.com/icu/
|
License: X License
|
||||||
Source0: %{name}-%{version}.tar.gz
|
URL: http://www.ibm.com/software/globalization/icu/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
Source0: ftp://ftp.software.ibm.com/software/globalization/icu/%{version}/%{name}-%{version}.tgz
|
||||||
Requires: libicu
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
BuildRequires: doxygen
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ICU is a C++ and C library that provides robust and full-featured Unicode
|
The International Components for Unicode (ICU) libraries provide
|
||||||
support. This package contains the runtime libraries for ICU. It does not
|
robust and full-featured Unicode services on a wide variety of
|
||||||
contain any of the data files needed at runtime and present in the `icu'
|
platforms. ICU supports the most current version of the Unicode
|
||||||
and `icu-locales` packages.
|
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 libicu
|
%package -n lib%{name}
|
||||||
Summary: International Components for Unicode
|
Summary: International Components for Unicode - libraries
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Requires: glibc
|
|
||||||
Requires: /sbin/ldconfig
|
|
||||||
|
|
||||||
%description -n libicu
|
%description -n lib%{name}
|
||||||
ICU is a C++ and C library that provides robust and full-featured Unicode
|
%{summary}.
|
||||||
support. This package contains the runtime libraries for ICU. It does not
|
|
||||||
contain any of the data files needed at runtime and present in the `icu'
|
|
||||||
and `icu-locales` packages.
|
|
||||||
|
|
||||||
%package -n libicu-devel
|
%package -n lib%{name}-devel
|
||||||
Summary: Header files, libraries and development documentation for %{name}
|
Summary: Development files for International Components for Unicode
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libicu = %{version}-%{release}
|
Requires: lib%{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%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}.
|
||||||
|
|
||||||
%description -n libicu-devel
|
|
||||||
This package contains the header files, static libraries, and
|
|
||||||
development documentation for %{name}. If you would like to develop
|
|
||||||
programs using %{name}, you will need to install %{name}-devel.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd source
|
cd source
|
||||||
%configure --disable-samples
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
make
|
%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
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT source/__docs
|
||||||
cd source
|
make -C source install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%makeinstall
|
make -C source install-doc docdir=__docs
|
||||||
|
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
||||||
|
|
||||||
%post -n libicu
|
|
||||||
/sbin/ldconfig 2>/dev/null
|
|
||||||
|
|
||||||
%postun -n libicu
|
%check || :
|
||||||
/sbin/ldconfig 2>/dev/null
|
make -C source check
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{_sysconfdir}/icu/
|
|
||||||
%{_bindir}/*
|
|
||||||
%{_sbindir}/*
|
|
||||||
%dir %{_datadir}/icu/
|
|
||||||
%{_datadir}/icu/%{version}/mkinstalldirs
|
|
||||||
%{_datadir}/icu/%{version}/license.html
|
|
||||||
|
|
||||||
%files -n libicu
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%defattr(-, root, root)
|
|
||||||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%doc license.html readme.html
|
%doc license.html readme.html
|
||||||
|
%{_bindir}/derb
|
||||||
|
%{_bindir}/genbrk
|
||||||
|
%{_bindir}/gencnval
|
||||||
|
%{_bindir}/genrb
|
||||||
|
%{_bindir}/makeconv
|
||||||
|
%{_bindir}/pkgdata
|
||||||
|
%{_bindir}/uconv
|
||||||
|
%{_sbindir}/*
|
||||||
|
%{_mandir}/man1/derb.1*
|
||||||
|
%{_mandir}/man1/gencnval.1*
|
||||||
|
%{_mandir}/man1/genrb.1*
|
||||||
|
%{_mandir}/man1/makeconv.1*
|
||||||
|
%{_mandir}/man1/pkgdata.1*
|
||||||
|
%{_mandir}/man1/uconv.1*
|
||||||
|
%{_mandir}/man8/*.8*
|
||||||
|
|
||||||
|
%files -n lib%{name}
|
||||||
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n libicu-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-, root, root)
|
%defattr(-,root,root,-)
|
||||||
%doc %{_datadir}/icu/%{version}/README
|
%{_bindir}/%{name}-config
|
||||||
%dir %{_libdir}/icu/
|
%{_mandir}/man1/%{name}-config.1*
|
||||||
%dir %{_datadir}/icu/
|
%{_includedir}/layout
|
||||||
%{_includedir}/layout/
|
%{_includedir}/unicode
|
||||||
%{_includedir}/unicode/
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/icu/Makefile.inc
|
%{_libdir}/%{name}
|
||||||
%{_libdir}/icu/%{version}/Makefile.inc
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/icu/%{version}/config/mh-linux
|
%dir %{_datadir}/%{name}/%{version}
|
||||||
|
%{_datadir}/%{name}/%{version}/mkinstalldirs
|
||||||
|
%{_datadir}/%{name}/%{version}/config
|
||||||
|
%doc %{_datadir}/%{name}/%{version}/license.html
|
||||||
|
|
||||||
|
%files -n lib%{name}-doc
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc source/__docs/%{name}/html/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 13 2005 Justin Ross <jross@spellingbee.boston.redhat.com>
|
* Mon Sep 12 2005 Caolan McNamara <caolanm@redhat.com> - 3.4-4
|
||||||
- Quiets the setup phase
|
- import extra icu.spec into fedora core for openoffice.org
|
||||||
- Makes the obvious dependency on glibc explicit
|
- build with gcc 4
|
||||||
- Adds some subpackage dependencies
|
|
||||||
|
|
||||||
* Wed Dec 15 2004 Justin Ross <jross@dhcp83-29.boston.redhat.com>
|
* Wed Aug 31 2005 Thorsten Leemhuis <fedora at leemhuis.info> - 3.4-3
|
||||||
- Initial build.
|
- 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.
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user