summaryrefslogtreecommitdiff
path: root/libunistring.spec
blob: 82c3950942d343845f6c3ebeed2a92a6b3a0f0e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Name:		libunistring
Version:	1.3
Release:	1
Summary:	GNU Unicode string library
License:	GPLV2+ or LGPLv3+
URL:		http://www.gnu.org/software/libunistring/
Source0:	https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz

BuildRequires:  gcc
Provides:	bundled(gnulib)

%description
Libunistring is a library that provides functions for manipulating Unicode strings
and for manipulating C strings according to the Unicode standard.

%package devel
Group: Development/Libraries
Summary: Development files for GNU Unicode string library
Requires: %{name} = %{version}-%{release}

%description devel
This package is the development files for GUN Unicode string library.

%package_help

%prep
%autosetup -n %{name}-%{version} -p1

%build
%configure --disable-static --disable-rpath
%make_build

%install
%make_install
rm -f %{buildroot}%{_libdir}/%{name}.la
rm -f %{buildroot}%{_infodir}/dir
mv %{buildroot}%{_datadir}/doc/%{name} tmp_doc

%check
make check

%ldconfig_scriptlets

%files
%defattr(-,root,root)
%doc THANKS AUTHORS
%license COPYING*
%{_libdir}/%{name}.so.5
%{_libdir}/%{name}.so.5.*

%files devel
%defattr(-,root,root)
%{_libdir}/%{name}.so
%{_includedir}/*.h
%{_includedir}/unistring
%{_infodir}/%{name}.info*

%files help
%doc ChangeLog tmp_doc/* BUGS HACKING 
%doc README DEPENDENCIES

%changelog
* Fri Oct 18 2024 GuoCe <guoce@kylinos.cn> - 1.3-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.3

* Mon Aug  5 2024 dillon chen<dillon.chen@gmail.com> - 1.2-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.2

* Tue Nov 15 2022 fuanan <fuanan3@h-partners.com> - 1.1-2
- Delete the old symbol

* Fri Nov 04 2022 fuanan <fuanan3@h-partners.com> - 1.1-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update version to 1.1

* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 0.9.10-9
- Rebuild for next release

* Fri Jun 4 2021 panxiaohe<panxiaohe@huawei.com> - 0.9.10-8
- add gcc to BuildRequires

* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 0.9.10-7
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move COPYING and add check

* Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 0.9.10-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add help package

* Thu Aug 08 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.9.10-5
- Package init