source: projects/specs/trunk/i/icu/icu-vl.spec @ 9791

Revision 9791, 5.1 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME 3.18.1, BlueZ 5.35, ICU 56.1, Mesa 11.0.4, PulseAudio 7.1, xserver 1.17.4, etc.

Line 
1%define sover 56
2Summary: International Components for Unicode
3Summary(ja): ユニコード用国際化コンポーネント
4Name: icu
5Version: 56.1
6Release: 1%{?_dist_release}
7Group:   Development/Tools
8License: MIT
9URL:     http://icu-project.org/
10
11Source0: http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.tgz
12Source1: http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-docs.zip
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: gcc-c++
16BuildRequires: unzip perl
17#Requires: libicu%{sover} = %{version}
18Requires: libicu = %{version}-%{release}
19
20Vendor: Project Vine
21Distribution: Vine Linux
22
23%description
24ICU is a C++ and C library that provides robust and full-featured Unicode
25support. This package contains the Unicode character database and derived
26properties, along with converters and time zones data.
27
28#package -n libicu%{sover}
29%package -n libicu
30Summary: International Components for Unicode (library)
31Summary(ja): ユニコード用国際化コンポーネント (ライブラリ)
32Group: System Environment/Libraries
33Provides: libicu%{sover} = %{version}-%{release}
34
35#description -n libicu%{sover}
36%description -n libicu
37ICU is a C++ and C library that provides robust and full-featured Unicode
38support. This package contains the runtime libraries for ICU. It does not
39contain any of the data files needed at runtime.
40
41%package -n libicu-devel
42Summary: Header files, libraries and development documentation for libicu
43Summary(ja): libicu 用のヘッダファイル、ライブラリおよび開発用ドキュメント
44Group: Development/Libraries
45Requires: libicu = %{version}-%{release}
46
47%description -n libicu-devel
48This package contains the header files, static libraries for %{name}.
49If you like to develop programs using %{name}, you will need to install
50%{name}-devel.
51
52%package -n libicu-doc
53Summary: Documentation for International Components for Unicode
54Summary(ja): ユニコード用国際化コンポーネントのドキュメント
55Group: Applications/Documentation
56
57%description -n libicu-doc
58This package contains the development documentation for %{name}.
59
60%prep
61%setup -q -n %{name}
62find . -name CVS -o -name .cvsignore | xargs -r rm -rf
63perl -pi -e 's/^(HAVE_DOT\b.*=).*$/$1 YES/' source/Doxyfile.in
64
65mkdir docs
66pushd docs
67unzip %{SOURCE1}
68popd
69
70%build
71cd source
72export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
73export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
74%configure --disable-static --with-data-packaging=library --disable-samples
75make
76
77%install
78rm -rf $RPM_BUILD_ROOT
79make -C source install DESTDIR=$RPM_BUILD_ROOT
80cp -pR ./source/tools/ctestfw/libicutest.so* $RPM_BUILD_ROOT/%{_libdir}
81chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
82
83%check || :
84make -C source check
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%post -n libicu -p /sbin/ldconfig
90
91%postun -n libicu -p /sbin/ldconfig
92
93%files
94%defattr(-, root, root, 0755)
95%doc license.html readme.html
96%{_bindir}/derb
97%{_bindir}/genbrk
98%{_bindir}/gencfu
99%{_bindir}/gencnval
100%{_bindir}/gendict
101%{_bindir}/genrb
102%{_bindir}/icuinfo
103%{_bindir}/makeconv
104%{_bindir}/pkgdata
105%{_bindir}/uconv
106%{_sbindir}/*
107%{_mandir}/man?/*
108%exclude %{_mandir}/man1/icu-config.1*
109
110%files -n libicu
111%defattr(-, root, root, 0755)
112%{_libdir}/*.so.*
113
114%files -n libicu-devel
115%defattr(-, root, root, 0755)
116%{_bindir}/icu-config
117%{_includedir}/layout
118%{_includedir}/unicode
119%{_libdir}/*.so
120%{_libdir}/%{name}
121%{_libdir}/pkgconfig/icu-i18n.pc
122%{_libdir}/pkgconfig/icu-io.pc
123%{_libdir}/pkgconfig/icu-le.pc
124%{_libdir}/pkgconfig/icu-lx.pc
125%{_libdir}/pkgconfig/icu-uc.pc
126%{_mandir}/man1/icu-config.1*
127%{_datadir}/%{name}
128
129%files -n libicu-doc
130%defattr(-,root,root,-)
131%doc docs/*
132
133%changelog
134* Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 56.1-1
135- update to 56.1
136
137* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 54.1-1
138- update to 54.1
139
140* Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 52.1-1
141- new upstream release
142
143* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 51.2-1
144- update to 51.2
145
146* Tue Apr 13 2010 Shu KONNO <owa@bg.wakwak.com> 4.4-2
147- install libicutest.so*
148
149* Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4-1
150- new upstream release
151- built with new toolchain
152
153* Sun Mar 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0.1-1vl5
154- new upstream release
155- updated URL
156
157* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 3.6-1vl5
158- applied new versioning policy, spec in utf-8
159
160* Tue Sep  4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.6-0vl1
161- updated to 3.6
162- removed ".so ver" from libicu package name
163- changed Group to Development/Tools
164- changed libicu-doc Group to Applications/Documentation
165
166* Tue Mar 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.4.1-0vl1
167- updated to 3.4.1
168
169* Sun Jul 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.2-3vl1
170- updated to 3.2 based on Fedora extra
171- new subpackage libicu-doc for API document
172
173* Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 3.0-0vl1
174- Build for Vine Linux
175- add developers document to devel package
176- add Japanese summary
177
178* Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-1
179- Fixed a typo in the dependencies "libuci" should be "libicu". (Daniel Demus)
180
181* Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 2.6.2-0
182- Initial package. (using DAR)
Note: See TracBrowser for help on using the repository browser.