|
|
|
@ -1,14 +1,14 @@
|
|
|
|
|
Summary: Internationalized Domain Name support library
|
|
|
|
|
Name: libidn
|
|
|
|
|
Version: 0.5.1
|
|
|
|
|
Version: 0.5.2
|
|
|
|
|
Release: 1
|
|
|
|
|
URL: http://www.gnu.org/software/libidn
|
|
|
|
|
License: LGPL
|
|
|
|
|
Source0: http://josefsson.org/libidn/releases/libidn-%{version}.tar.gz
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
Prereq: /sbin/ldconfig
|
|
|
|
|
BuildRequires: pkgconfig, gettext
|
|
|
|
|
Prereq: /sbin/ldconfig, /sbin/install-info
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
GNU Libidn is an implementation of the Stringprep, Punycode and
|
|
|
|
@ -45,17 +45,24 @@ make %{?_smp_mflags} -C examples distclean
|
|
|
|
|
|
|
|
|
|
# clean up docs
|
|
|
|
|
find doc -name "Makefile*" | xargs rm
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir
|
|
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/{locale,info}
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%post
|
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%preun
|
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
|
|
|
|
fi
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc ChangeLog NEWS FAQ README THANKS COPYING*
|
|
|
|
|
%{_bindir}/idn
|
|
|
|
@ -63,6 +70,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/{locale,info}
|
|
|
|
|
%{_datadir}/emacs/site-lisp
|
|
|
|
|
%{_libdir}/libidn.so.*
|
|
|
|
|
%{_libdir}/libidn.la
|
|
|
|
|
%{_infodir}/%{name}.info.gz
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(0644,root,root,755)
|
|
|
|
@ -74,6 +82,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/{locale,info}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jul 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.5.2-1
|
|
|
|
|
- upgrade to 0.5.2, enabled i18n support and info files (#127906)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 9 2004 Joe Orton <jorton@redhat.com> 0.5.1-1
|
|
|
|
|
- update to 0.5.1 (#127496)
|
|
|
|
|
|
|
|
|
|