Blame SPECS/libidn2.spec

cdcb29
Summary:          Library to support IDNA2008 internationalized domain names
cdcb29
Name:             libidn2
cdcb29
Version:          2.2.0
cdcb29
Release:          1%{?dist}
cdcb29
License:          (GPLv2+ or LGPLv3+) and GPLv3+
cdcb29
URL:              https://www.gnu.org/software/libidn/#libidn2
cdcb29
cdcb29
Source0:          https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
cdcb29
Source1:          https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
cdcb29
Patch0:           libidn2-2.0.0-rpath.patch
cdcb29
cdcb29
BuildRequires:    gcc
cdcb29
BuildRequires:    gettext
cdcb29
BuildRequires:    libunistring-devel
cdcb29
Provides:         bundled(gnulib)
cdcb29
cdcb29
%description
cdcb29
Libidn2 is an implementation of the IDNA2008 specifications in RFC
cdcb29
5890, 5891, 5892, 5893 and TR46 for internationalized domain names
cdcb29
(IDN). It is a standalone library, without any dependency on libidn.
cdcb29
cdcb29
%package devel
cdcb29
Summary:          Development files for libidn2
cdcb29
Requires:         %{name}%{?_isa} = %{version}-%{release}, pkgconfig
cdcb29
cdcb29
%description devel
cdcb29
The libidn2-devel package contains libraries and header files for
cdcb29
developing applications that use libidn2.
cdcb29
cdcb29
%package -n idn2
cdcb29
Summary:          IDNA2008 internationalized domain names conversion tool
cdcb29
License:          GPLv3+
cdcb29
Requires:         %{name}%{?_isa} = %{version}-%{release}
cdcb29
cdcb29
%description -n idn2
cdcb29
The idn2 package contains the idn2 command line tool for testing
cdcb29
IDNA2008 conversions.
cdcb29
cdcb29
%prep
cdcb29
%setup -q
cdcb29
%patch0 -p1 -b .rpath
cdcb29
touch -c -r configure.rpath configure
cdcb29
touch -c -r m4/libtool.m4.rpath m4/libtool.m4
cdcb29
cdcb29
%build
cdcb29
%configure --disable-static
cdcb29
make %{?_smp_mflags}
cdcb29
cdcb29
%install
cdcb29
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
cdcb29
cdcb29
# Clean-up examples for documentation
cdcb29
make %{?_smp_mflags} -C examples distclean
cdcb29
rm -f examples/Makefile*
cdcb29
cdcb29
# Don't install any libtool .la files
cdcb29
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
cdcb29
cdcb29
# Some file cleanups
cdcb29
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
cdcb29
cdcb29
%find_lang %{name}
cdcb29
cdcb29
%check
cdcb29
make %{?_smp_mflags} -C tests check
cdcb29
cdcb29
%ldconfig_scriptlets
cdcb29
cdcb29
%files -f %{name}.lang
cdcb29
%license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
cdcb29
%doc AUTHORS NEWS README.md
cdcb29
%{_libdir}/%{name}.so.*
cdcb29
cdcb29
%files devel
cdcb29
%doc doc/%{name}.html examples
cdcb29
%{_libdir}/%{name}.so
cdcb29
%{_libdir}/pkgconfig/%{name}.pc
cdcb29
%{_includedir}/*.h
cdcb29
%{_mandir}/man3/*
cdcb29
%{_datadir}/gtk-doc/
cdcb29
cdcb29
%files -n idn2
cdcb29
%{_bindir}/idn2
cdcb29
%{_mandir}/man1/idn2.1*
cdcb29
%{_infodir}/%{name}.info*
cdcb29
cdcb29
%changelog
cdcb29
* Mon Jun 10 2019 Miroslav Lichvar <mlichvar@redhat.com> 2.2.0-1
cdcb29
- Update to 2.2.0 (#1674201)
cdcb29
- Drop obsolete scriptlets
cdcb29
cdcb29
* Mon May 21 2018 Robert Scheck <robert@fedoraproject.org> 2.0.5-1
cdcb29
- Upgrade to 2.0.5 (#1577864, #1579825)
cdcb29
cdcb29
* Wed Apr 04 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-7
cdcb29
- Split RPM scriptlets (#1563832)
cdcb29
cdcb29
* Mon Apr 02 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-6
cdcb29
- Use splitting suggestions from Nikos Mavrogiannopoulos instead
cdcb29
cdcb29
* Mon Apr  2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 2.0.4-5
cdcb29
- Split cli utilities out into a sub package
cdcb29
- Spec file cleanups
cdcb29
cdcb29
* Fri Mar 30 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-4
cdcb29
- Added upstream patch to fix silently transliterated decoded
cdcb29
  domain names (#1556954)
cdcb29
cdcb29
* Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-3
cdcb29
- Added upstream patch to fix STD3 ASCII rules (#1543021)
cdcb29
cdcb29
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cdcb29
cdcb29
* Wed Aug 30 2017 Robert Scheck <robert@fedoraproject.org> 2.0.4-1
cdcb29
- Upgrade to 2.0.4 (#1486881, #1486882)
cdcb29
cdcb29
* Tue Aug 01 2017 Robert Scheck <robert@fedoraproject.org> 2.0.3-1
cdcb29
- Upgrade to 2.0.3 (#1468608, #1474324)
cdcb29
cdcb29
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cdcb29
cdcb29
* Sun Apr 30 2017 Robert Scheck <robert@fedoraproject.org> 2.0.2-1
cdcb29
- Upgrade to 2.0.2 (#1444712)
cdcb29
cdcb29
* Thu Apr 06 2017 Robert Scheck <robert@fedoraproject.org> 2.0.0-1
cdcb29
- Upgrade to 2.0.0 (#1439727)
cdcb29
cdcb29
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cdcb29
cdcb29
* Fri Jan 27 2017 Robert Scheck <robert@fedoraproject.org> 0.16-1
cdcb29
- Upgrade to 0.16 (#1416642)
cdcb29
cdcb29
* Mon Nov 21 2016 Robert Scheck <robert@fedoraproject.org> 0.11-1
cdcb29
- Upgrade to 0.11
cdcb29
- Reflect dual-licensing of library in license tag (#1397021)
cdcb29
cdcb29
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cdcb29
cdcb29
* Mon Dec 7 2015 Than Ngo <than@redhat.com> 0.10-2
cdcb29
- fix build failure related to missing automake-1.14
cdcb29
cdcb29
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cdcb29
cdcb29
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.10-2
cdcb29
- Rebuilt for Fedora 23 Change
cdcb29
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
cdcb29
cdcb29
* Sun Oct 12 2014 Robert Scheck <robert@fedoraproject.org> 0.10-1
cdcb29
- Upgrade to 0.10
cdcb29
cdcb29
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-7
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cdcb29
cdcb29
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-6
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cdcb29
cdcb29
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-5
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cdcb29
cdcb29
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cdcb29
cdcb29
* Fri Nov 16 2012 Robert Scheck <robert@fedoraproject.org> 0.8-3
cdcb29
- Added provide bundled(gnulib) as it's a copylib (#821769)
cdcb29
cdcb29
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cdcb29
cdcb29
* Sun Jan 15 2012 Robert Scheck <robert@fedoraproject.org> 0.8-1
cdcb29
- Upgrade to 0.8
cdcb29
cdcb29
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
cdcb29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cdcb29
cdcb29
* Sat Aug 13 2011 Robert Scheck <robert@fedoraproject.org> 0.7-1
cdcb29
- Upgrade to 0.7
cdcb29
cdcb29
* Sat Jun 04 2011 Robert Scheck <robert@fedoraproject.org> 0.6-1
cdcb29
- Upgrade to 0.6
cdcb29
cdcb29
* Wed May 18 2011 Robert Scheck <robert@fedoraproject.org> 0.5-1
cdcb29
- Upgrade to 0.5
cdcb29
cdcb29
* Mon May 16 2011 Robert Scheck <robert@fedoraproject.org> 0.4-1
cdcb29
- Upgrade to 0.4
cdcb29
cdcb29
* Sat May 07 2011 Robert Scheck <robert@fedoraproject.org> 0.3-1
cdcb29
- Upgrade to 0.3
cdcb29
- Initial spec file for Fedora and Red Hat Enterprise Linux