# # spec file for package libidn (Version 1.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libidn License: GPL v3 only; LGPL v2.1 or later Group: System/Libraries Version: 1.4 Release: 1 Summary: Support for Internationalized Domain Names (IDN) Url: http://www.gnu.org/software/libidn/ Source0: http://josefsson.org/libidn/releases/libidn-%version.tar.bz2 PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %description GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group. It is used to prepare internationalized strings (such as domain name labels, usernames, and passwords) in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users around the world. The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibition of characters, and bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via IDNA is supported. Authors: -------- Simon Josefsson %package devel Requires: %name = %version Summary: Include Files and Libraries mandatory for Development Group: System/Libraries %description devel GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group. It is used to prepare internationalized strings (such as domain name labels, usernames, and passwords) in order to increase the likelihood that string input and string comparison work in ways that make sense for typical users around the world. The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibition of characters, and bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via IDNA is supported. Authors: -------- Simon Josefsson %prep %setup %build CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --libdir=%_libdir \ --mandir=%_mandir --infodir=%_infodir --enable-gtk-doc make %install make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT/%_infodir/dir %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %post %run_ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/libidn.info.gz %postun %run_ldconfig %install_info_delete --info-dir=%{_infodir} %{_infodir}/libidn.info.gz %files -f %name.lang %defattr(-,root,root) %dir %_prefix/share/emacs %dir %_prefix/share/emacs/site-lisp %doc AUTHORS COPYING.LIB ChangeLog FAQ NEWS README THANKS TODO %_libdir/libidn.so.* %_infodir/libidn* %_prefix/bin/idn %_mandir/man1/idn.1.* %_prefix/share/emacs/site-lisp/idna.el %_prefix/share/emacs/site-lisp/punycode.el %files devel %defattr(-,root,root) %_libdir/libidn.la %_libdir/libidn.a %_libdir/libidn.so /usr/include/*.h %_libdir/pkgconfig/libidn.pc %_mandir/man3/* %changelog * Sun Jan 27 2008 stbinner@suse.de - update to 1.4: updated translations and fix of --version/--help * Fri Aug 03 2007 stbinner@suse.de - update to 1.0: * Command-line tools, examples, etc are now licensed under GPLv3 * The library is still licensed under LGPL v2.1 for compatibility reasons (it is included in glibc). * Updated gnulib files and translations * Tue Jul 17 2007 stbinner@suse.de - update to 0.6.14: * Documentation fixes * Install images for the manual in $infodir * Updated gnulib files * Use AM_JAVACFLAGS instead of JAVACFLAGS in java/misc/Makefile.am * Thu Mar 29 2007 rguenther@suse.de - add emacs site-lisp directories. * Wed Mar 14 2007 stbinner@suse.de - update to 0.6.11: * The C# Libidn port was updated. * The Java code has been fixed to properly translate any non-ASCII dot into ".". * Thu Oct 19 2006 stbinner@suse.de - update to 0.6.8: * The gnulib directory is separated into two directories. * Update gnulib files. * Some minor cleanups, like assuming locale.h and setlocale(). * API and ABI is backwards compatible with the previous version. * Thu Sep 14 2006 stbinner@suse.de - update to 0.6.7: * Fix build failure of idn-int.h on C99 platforms. * The manual includes GPL license, for the command-line tools. * The function, variable and concept index is moved to the end of the manual. * Update of gnulib files and translations * Wed Aug 23 2006 stbinner@suse.de - update to 0.6.6 * Instead of AX_CREATE_STDINT_H, use the stdint gnulib module, for idn-int.h. * Update gnulib files. * Updated translations. * Thu Aug 17 2006 aj@suse.de - Remove unneccasary BuildRequires. * Mon Jul 10 2006 stbinner@suse.de - update to 0.6.5 * links the library with an external libintl for gettext * updates the doxygen configuration file to version 1.4.7 * translation of error messages was fixed * warnings on 64-bit platforms were fixed * Mon May 22 2006 stbinner@suse.de - update to 0.6.3 * Fix objdir != srcdir builds for the Java documentation. * Update of gnulib files. * Make it possible to cross-compile to mingw32. * Minor changes in how the C# code is built. * Thu Jan 26 2006 sbrabec@suse.cz - Added %%install_info_prereq. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Sat Dec 03 2005 coolo@suse.de - update to 0.6.0 * Wed Aug 03 2005 coolo@suse.de - move .la file to -devel package * Fri Jan 21 2005 coolo@suse.de - update to 0.5.9 * Thu Oct 14 2004 coolo@suse.de - update to 0.5.8 * Fri Aug 06 2004 coolo@suse.de - update to 0.5.3 (integrating schwab's patch) * Thu Aug 05 2004 coolo@suse.de - update to 0.5.2 * Sat Jul 03 2004 schwab@suse.de - Fix invalid free. * Tue Jun 01 2004 coolo@suse.de - update to 0.4.8 * Thu Mar 04 2004 coolo@suse.de - fixing file list and requires * Wed Feb 04 2004 coolo@suse.de - update to 0.3.7 * Thu Oct 16 2003 coolo@suse.de - build as user * Fri Sep 26 2003 coolo@suse.de - update to 0.3 * Wed Aug 20 2003 coolo@suse.de - update to 0.2.2 * Wed Jul 23 2003 coolo@suse.de - update to 0.2.1 * Tue Jun 03 2003 coolo@suse.de - Initial package