libidn/libidn.spec

253 lines
8.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libidn (Version 1.10)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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.10
Release: 3
# bug437293
%ifarch ppc64
Obsoletes: libidn-64bit
%endif
#
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 <simon@josefsson.org>
%package devel
License: LGPL v2.1 or later
Requires: %{name} = %{version} glibc-devel
Summary: Include Files and Libraries mandatory for Development
Group: System/Libraries
# bug437293
%ifarch ppc64
Obsoletes: libidn-devel-64bit
%endif
#
%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 <simon@josefsson.org>
%prep
%setup -q
%build
%configure --with-pic --disable-static --enable-gtk-doc
%{__make} %{?jobs:-j%jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT/%_infodir/dir
rm -f %{buildroot}%{_libdir}/libidn.la
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/libidn.info.gz
%postun
/sbin/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.so
/usr/include/*.h
%_libdir/pkgconfig/libidn.pc
%_mandir/man3/*
%changelog
* Wed Jan 07 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Tue Oct 14 2008 crrodriguez@suse.de
- disable static libraries
* Tue Oct 07 2008 stbinner@suse.de
- update to 1.10:
* idn: accept -n as short form for --nfkc.
* Fix compiler warnings, updated gnulib files and translations
* Mon Jul 21 2008 stbinner@suse.de
- update to 1.9:
* idn: fix error message when NFKC fails, and other translations
* Remove more non-free text from doc/specifications/rfc3454.txt.
* Thu Apr 24 2008 stbinner@suse.de
- update to 1.8: no functional changes
* Mon Apr 14 2008 stbinner@suse.de
- update to 1.7:
* new parameter --nfkc to process string with Unicode v3.2 NFKC
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Tue Mar 25 2008 stbinner@suse.de
- update to 1.6:
* Remove non-free portions of doc/specifications/rfc3454.txt.
* Doc fixes in IDNA to clarify that some functions operate on
just one domain labels and some operate on domain name (which
can contain several domain labels).
* Wed Mar 19 2008 crrodriguez@suse.de
- remove "la" file with empty dependency_libs
* Wed Feb 27 2008 stbinner@suse.de
- update to 1.5:
* Don't include wchar.h in idn-int.h.
* Added appendix 'On Label Separators' to the manual.
* Improved rendering of non-ASCII in the info manual.
* Fix non-portable use of brace expansion in makefiles.
* Update translations.
* 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