defa9c
# This spec file has been automatically updated
defa9c
Version:	0.9.10
defa9c
Release: 15%{?dist}
defa9c
Name: libunistring
defa9c
Summary: GNU Unicode string library
defa9c
License: GPLv2+ or LGPLv3+
defa9c
URL: https://www.gnu.org/software/libunistring/
defa9c
Source0: https://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz
defa9c
Patch0: fix-memory-leak-in-vasnprintf.patch
defa9c
BuildRequires: gcc
defa9c
BuildRequires: make
defa9c
Provides: bundled(gnulib)
defa9c
defa9c
%description
defa9c
This portable C library implements Unicode string types in three flavours:
defa9c
(UTF-8, UTF-16, UTF-32), together with functions for character processing
defa9c
(names, classifications, properties) and functions for string processing
defa9c
(iteration, formatted output, width, word breaks, line breaks, normalization,
defa9c
case folding and regular expressions).
defa9c
defa9c
%package devel
defa9c
Summary: GNU Unicode string library - development files
defa9c
Requires: %{name}%{?_isa} = %{version}-%{release}
defa9c
defa9c
%description devel
defa9c
Development files for programs using libunistring.
defa9c
defa9c
%prep
defa9c
%setup -q
defa9c
%patch0 -p1 -b .fix-memory-leak-in-vasnprintf
defa9c
defa9c
%build
defa9c
%configure --disable-static --disable-rpath
defa9c
%make_build
defa9c
defa9c
%install
defa9c
%make_install
defa9c
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
defa9c
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
defa9c
# Move staged docs so not picked up by %%doc in main package
defa9c
mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name} __doc
defa9c
defa9c
%files
defa9c
%license COPYING COPYING.LIB
defa9c
%doc AUTHORS NEWS README
defa9c
%{_libdir}/%{name}.so.*
defa9c
defa9c
%files devel
defa9c
%doc HACKING DEPENDENCIES THANKS ChangeLog
defa9c
%doc __doc/*
defa9c
%{_infodir}/%{name}.info*
defa9c
%{_libdir}/%{name}.so
defa9c
%{_includedir}/unistring
defa9c
%{_includedir}/*.h
defa9c
defa9c
%ldconfig_scriptlets
defa9c
defa9c
%changelog
defa9c
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.10-15
defa9c
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
defa9c
  Related: rhbz#1991688
defa9c
defa9c
* Mon Jun 21 2021 Mike FABIAN <mfabian@redhat.com> - 0.9.10-14
defa9c
- Related rhbz#1938800: Fix CI tests and convert them to tmt
defa9c
defa9c
* Mon Jun 14 2021 Mike FABIAN <mfabian@redhat.com> - 0.9.10-13
defa9c
- Related rhbz#1938800: Fix spelling in license GPLV2+ -> GPLv2+
defa9c
defa9c
* Mon Jun 14 2021 Mike FABIAN <mfabian@redhat.com> - 0.9.10-12
defa9c
- Fix memory leak in vasnprint. Resolves: rhbz#1938800
defa9c
  (Backported from upstream: https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=4d288a80bf7ebe29334b9805cdcc70eacb6059c1)
defa9c
defa9c
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.9.10-11
defa9c
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
defa9c
defa9c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-10
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
defa9c
defa9c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-9
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
defa9c
defa9c
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.9.10-8
defa9c
- Use make macros
defa9c
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
defa9c
defa9c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-7
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
defa9c
defa9c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-6
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
defa9c
defa9c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-5
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
defa9c
defa9c
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.9.10-4
defa9c
- Rebuild with fixed binutils
defa9c
defa9c
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.10-3
defa9c
- Replace obsolete scriptlets
defa9c
defa9c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-2
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
defa9c
defa9c
* Mon May 28 2018 Daiki Ueno <dueno@redhat.com> - 0.9.10-1
defa9c
- Update to upstream 0.9.10 release
defa9c
defa9c
* Thu Mar 01 2018 Daiki Ueno <dueno@redhat.com> - 0.9.9-1
defa9c
- Update to upstream 0.9.9 release
defa9c
defa9c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.8-3
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
defa9c
defa9c
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.8-2
defa9c
- Switch to %%ldconfig_scriptlets
defa9c
defa9c
* Sat Dec  2 2017 Daiki Ueno <dueno@redhat.com> - 0.9.8-1
defa9c
- Update to 0.9.8
defa9c
defa9c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-3
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
defa9c
defa9c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-2
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
defa9c
defa9c
* Fri Feb 17 2017 Daiki Ueno <dueno@redhat.com> - 0.9.7-1
defa9c
- Update to 0.9.7
defa9c
- Update license to "GPLv2+ or LGPLv2+"
defa9c
defa9c
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.9.4-4
defa9c
- Add missing %%license macro
defa9c
defa9c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-3
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
defa9c
defa9c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
defa9c
defa9c
* Tue Sep 02 2014 Pádraig Brady <pbrady@redhat.com> - 0.9.4-1
defa9c
- Latest upstream
defa9c
defa9c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-11
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
defa9c
defa9c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-10
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
defa9c
defa9c
* Thu Aug 29 2013 Pádraig Brady <P@draigBrady.com> 0.9.3-9
defa9c
- Adjust to avoid duplicate docs caused by %%doc macro changes in Fedora 20
defa9c
defa9c
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-8
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
defa9c
defa9c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-7
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
defa9c
defa9c
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-6
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
defa9c
defa9c
* Tue Jun 26 2012 Akira TAGOH <tagoh@redhat.com> - 0.9.3-5
defa9c
- Fix a typo in %%preun. (#737638)
defa9c
defa9c
* Tue May 15 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 0.9.3-4
defa9c
- Add bundled(gnulib) provides
defa9c
defa9c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-3
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
defa9c
defa9c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.3-2
defa9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
defa9c
defa9c
* Sun May 23 2010 Pádraig Brady <P@draigBrady.com> 0.9.3-1
defa9c
- Update to 0.9.3
defa9c
defa9c
* Thu Nov 19 2009 Pádraig Brady <P@draigBrady.com> 0.9.1-3
defa9c
- Remove glibc-devel and texinfo build deps
defa9c
defa9c
* Thu Nov 19 2009 Pádraig Brady <P@draigBrady.com> 0.9.1-2
defa9c
- Changes as per initial review by panemade@gmail.com
defa9c
defa9c
* Tue Nov 17 2009 Pádraig Brady <P@draigBrady.com> 0.9.1-1
defa9c
- Initial version