2011-05-16 16:29:13 +00:00
|
|
|
Summary: Library to support IDNA2008 internationalized domain names
|
|
|
|
Name: libidn2
|
2012-01-15 13:24:00 +00:00
|
|
|
Version: 0.8
|
2013-08-03 05:49:54 +00:00
|
|
|
Release: 5%{?dist}
|
2011-05-16 16:29:13 +00:00
|
|
|
License: GPLv3+
|
|
|
|
Group: System Environment/Libraries
|
2011-05-16 16:44:57 +00:00
|
|
|
URL: http://www.gnu.org/software/libidn/#libidn2
|
2011-06-03 23:28:25 +00:00
|
|
|
Source: http://alpha.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
|
2011-05-16 16:29:13 +00:00
|
|
|
Patch0: libidn2-0.3-rpath.patch
|
|
|
|
Requires(post): /sbin/install-info, /sbin/ldconfig
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
Requires(postun): /sbin/ldconfig
|
2012-11-16 22:09:06 +00:00
|
|
|
Provides: bundled(gnulib)
|
2011-05-16 16:29:13 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libidn2 is an implementation of the IDNA2008 specifications in RFC
|
|
|
|
5890, 5891, 5892 and 5893 for internationalized domain names (IDN).
|
2011-05-16 16:44:57 +00:00
|
|
|
It is a standalone library, without any dependency on libidn.
|
2011-05-16 16:29:13 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libidn2
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The libidn2-devel package contains libraries and header files for
|
|
|
|
developing applications that use libidn2.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .rpath
|
|
|
|
touch -c -r m4/libtool.m4.rpath m4/libtool.m4
|
|
|
|
|
|
|
|
%build
|
2011-06-03 23:28:25 +00:00
|
|
|
%configure --disable-static
|
2011-05-16 16:29:13 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
|
|
|
|
|
|
|
# Clean-up examples for documentation
|
|
|
|
make %{?_smp_mflags} -C examples distclean
|
|
|
|
rm -f examples/Makefile*
|
|
|
|
|
2011-06-03 23:28:25 +00:00
|
|
|
# Don't install any libtool .la files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2011-05-16 16:29:13 +00:00
|
|
|
|
|
|
|
# Some file cleanups
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
|
|
|
|
|
|
|
|
# Remove example-only binaries for now
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/{lookup,register}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make %{?_smp_mflags} -C tests check
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%{_bindir}/idn2
|
|
|
|
%{_mandir}/man1/idn2.1*
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
%{_infodir}/%{name}.info*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc doc/%{name}.html examples
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
|
|
|
|
%changelog
|
2013-08-03 05:49:54 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 04:33:10 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-16 22:09:06 +00:00
|
|
|
* Fri Nov 16 2012 Robert Scheck <robert@fedoraproject.org> 0.8-3
|
|
|
|
- Added provide bundled(gnulib) as it's a copylib (#821769)
|
|
|
|
|
2012-07-19 20:08:41 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-15 13:24:00 +00:00
|
|
|
* Sun Jan 15 2012 Robert Scheck <robert@fedoraproject.org> 0.8-1
|
|
|
|
- Upgrade to 0.8
|
|
|
|
|
2012-01-13 07:53:04 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-13 12:27:17 +00:00
|
|
|
* Sat Aug 13 2011 Robert Scheck <robert@fedoraproject.org> 0.7-1
|
|
|
|
- Upgrade to 0.7
|
|
|
|
|
2011-06-03 23:28:25 +00:00
|
|
|
* Sat Jun 04 2011 Robert Scheck <robert@fedoraproject.org> 0.6-1
|
|
|
|
- Upgrade to 0.6
|
|
|
|
|
2011-05-18 10:40:32 +00:00
|
|
|
* Wed May 18 2011 Robert Scheck <robert@fedoraproject.org> 0.5-1
|
|
|
|
- Upgrade to 0.5
|
|
|
|
|
2011-05-16 16:44:57 +00:00
|
|
|
* Mon May 16 2011 Robert Scheck <robert@fedoraproject.org> 0.4-1
|
|
|
|
- Upgrade to 0.4
|
|
|
|
|
2011-05-16 16:29:13 +00:00
|
|
|
* Sat May 07 2011 Robert Scheck <robert@fedoraproject.org> 0.3-1
|
|
|
|
- Upgrade to 0.3
|
|
|
|
- Initial spec file for Fedora and Red Hat Enterprise Linux
|