From 0da93eea9550691c8e2fd427cbb444a1cd12c893 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 30 Nov 2024 16:04:04 +0000 Subject: automatic import of libunistring --- .gitignore | 1 + libunistring.spec | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 99 insertions(+) create mode 100644 libunistring.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..27cae5a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libunistring-1.2.tar.xz diff --git a/libunistring.spec b/libunistring.spec new file mode 100644 index 0000000..8e13eb2 --- /dev/null +++ b/libunistring.spec @@ -0,0 +1,97 @@ +Name: libunistring +Version: 1.2 +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.1.0 + +%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 +* Mon Aug 5 2024 dillon chen - 1.2-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update version to 1.2 + +* Tue Nov 15 2022 fuanan - 1.1-2 +- Delete the old symbol + +* Fri Nov 04 2022 fuanan - 1.1-1 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:update version to 1.1 + +* Tue Oct 25 2022 zhangruifang - 0.9.10-9 +- Rebuild for next release + +* Fri Jun 4 2021 panxiaohe - 0.9.10-8 +- add gcc to BuildRequires + +* Fri Sep 27 2019 shenyangyang - 0.9.10-7 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:move COPYING and add check + +* Sat Sep 21 2019 shenyangyang - 0.9.10-6 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:add help package + +* Thu Aug 08 2019 openEuler Buildteam - 0.9.10-5 +- Package init diff --git a/sources b/sources new file mode 100644 index 0000000..94b2cf6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6b4ea63617bf09d76e5234379e75e7f9 libunistring-1.2.tar.xz -- cgit v1.2.3