libidn2/libidn2.spec

113 lines
2.5 KiB
RPMSpec
Raw Normal View History

2020-01-01 01:01:38 +08:00
Name: libidn2
2020-07-23 14:39:39 +08:00
Version: 2.3.0
Release: 1
2020-01-01 01:01:38 +08:00
Summary: GNU IDN Library
License: (GPLv2+ or LGPLv3+) and GPLv3+
URL: https://www.gnu.org/software/libidn/#libidn2
Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
Patch0: bugfix-libidn2-change-rpath.patch
2020-07-23 14:39:39 +08:00
Patch1: Implement-full-roundtrip-for-lookup-functionality.patch
2020-01-01 01:01:38 +08:00
#Dependency
2020-06-17 16:32:11 +08:00
BuildRequires: gcc gettext libunistring-devel autoconf texinfo automake
2020-01-01 01:01:38 +08:00
Provides: bundled(gnulib)
Provides: idn2
Obsoletes: idn2
%description
Libidn2 is a free software implementation of IDNA2008, Punycode and TR46.
Its purpose is to encode and decode internationalized domain names.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Files for %{name} development
%package_help
#Build sections
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf
%configure --disable-static
%make_build
%install
%make_install
%delete_la
make %{?_smp_mflags} -C examples distclean
%find_lang %{name}
%check
make %{?_smp_mflags} -C tests check
#Install and uninstall scripts
%pre
%preun
%ldconfig_scriptlets
%files -f %{name}.lang
%doc AUTHORS NEWS README.md
%license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
%{_bindir}/idn2
%{_libdir}/%{name}.so.*
%exclude %{_datadir}/info/dir
%files devel
%{_includedir}/*.h
%{_libdir}/%{name}.so
%doc doc/%{name}.html examples
%{_libdir}/pkgconfig/%{name}.pc
%files help
%{_mandir}/man1/idn2.1*
%{_mandir}/man3/*
%{_infodir}/%{name}.info*
%{_datadir}/gtk-doc/
%changelog
2020-07-23 14:39:39 +08:00
* Thu Jul 23 2020 zhangxingliang <zhangxingliang3@huawei.com> - 2.3.0-1
- Type:update
- ID:NA
- SUG:NA
- DESC:update to 2.3.0
2020-06-17 16:32:11 +08:00
* Wed Jun 17 2020 Liquor <lirui130@hauwei.com> - 2.0.5-9
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add Buildrequires:automake
2020-03-18 16:28:45 +08:00
* Wed Mar 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.5-8
- Type:CVE
- ID:NA
- SUG:NA
- DESC:fix CVE-2019-12290
2020-01-01 02:06:26 +08:00
* Wed Jan 1 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.5-7
- Fix bug in patched
2020-01-01 01:01:38 +08:00
* Wed Jan 1 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.0.5-6
- Fix bug in patched
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.5-5
- Fix Memory access out of bounds
* Mon Oct 28 2019 shenyangyang <shenyangyang4@huawei.com> - 2.0.5-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:add build requires of texinfo to solve the build problem
* Wed Jul 18 2018 openEuler Buildteam <buildteam@openeuler.org> - 2.0.5-3
- Package init