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

Revision 12263, 5.6 KB checked in by tomop, 5 years ago (diff)

updated 10 packages

epiphany-3.30.5-1

evolution-data-server-3.30.5-1

harfbuzz-2.6.2-1

icu-65.1-1

icu60-60.3-2

libboost-1.66.0-4

php73-7.3.10-1

postfix-3.4.7-1

webkitgtk4-2.26.1-1

xfsprogs-5.2.1-2

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