2007-01-16 00:22:12 +01:00
|
|
|
#
|
2009-11-16 11:18:58 +01:00
|
|
|
# spec file for package libidn (Version 1.15)
|
2007-01-16 00:22:12 +01:00
|
|
|
#
|
2010-01-14 16:10:38 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:12 +01:00
|
|
|
#
|
2008-10-07 16:03:34 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:22:12 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-28 01:59:40 +01:00
|
|
|
|
2007-01-16 00:22:12 +01:00
|
|
|
Name: libidn
|
2010-01-14 16:10:38 +01:00
|
|
|
License: GPLv3 ; LGPLv2.1+
|
2007-01-16 00:22:12 +01:00
|
|
|
Group: System/Libraries
|
2011-05-07 02:37:17 +02:00
|
|
|
Version: 1.22
|
2010-01-14 16:10:38 +01:00
|
|
|
Release: 2
|
2009-01-08 18:37:54 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libidn-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:22:12 +01:00
|
|
|
Summary: Support for Internationalized Domain Names (IDN)
|
2008-01-28 01:15:27 +01:00
|
|
|
Url: http://www.gnu.org/software/libidn/
|
2007-07-18 21:35:52 +02:00
|
|
|
Source0: http://josefsson.org/libidn/releases/libidn-%version.tar.bz2
|
2010-01-14 16:10:38 +01:00
|
|
|
Source1: baselibs.conf
|
2007-01-16 00:22:12 +01:00
|
|
|
PreReq: %install_info_prereq
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-11-16 11:18:58 +01:00
|
|
|
BuildRequires: gtk-doc pkgconfig
|
2007-01-16 00:22:12 +01:00
|
|
|
|
|
|
|
%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
|
2009-11-16 11:18:58 +01:00
|
|
|
likelihood that st5ing input and string comparison work in ways that
|
2007-01-16 00:22:12 +01:00
|
|
|
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
|
2010-01-14 16:10:38 +01:00
|
|
|
License: LGPLv2.1+
|
2008-03-19 13:01:19 +01:00
|
|
|
Requires: %{name} = %{version} glibc-devel
|
2008-01-28 01:15:27 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for Development
|
2007-01-16 00:22:12 +01:00
|
|
|
Group: System/Libraries
|
2009-01-08 18:37:54 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libidn-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:22:12 +01:00
|
|
|
|
|
|
|
%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
|
2008-03-19 13:01:19 +01:00
|
|
|
%setup -q
|
2007-01-16 00:22:12 +01:00
|
|
|
|
|
|
|
%build
|
2008-10-22 18:14:36 +02:00
|
|
|
%configure --with-pic --disable-static --enable-gtk-doc
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2007-01-16 00:22:12 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
rm -f $RPM_BUILD_ROOT/%_infodir/dir
|
2008-03-19 13:01:19 +01:00
|
|
|
rm -f %{buildroot}%{_libdir}/libidn.la
|
2007-01-16 00:22:12 +01:00
|
|
|
%find_lang %name
|
|
|
|
|
2011-05-07 02:37:17 +02:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2007-01-16 00:22:12 +01:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2008-03-19 13:01:19 +01:00
|
|
|
/sbin/ldconfig
|
2007-01-16 00:22:12 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/libidn.info.gz
|
|
|
|
|
|
|
|
%postun
|
2008-03-19 13:01:19 +01:00
|
|
|
/sbin/ldconfig
|
2007-01-16 00:22:12 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libidn.info.gz
|
|
|
|
|
|
|
|
%files -f %name.lang
|
|
|
|
%defattr(-,root,root)
|
2007-03-29 12:03:53 +02:00
|
|
|
%dir %_prefix/share/emacs
|
|
|
|
%dir %_prefix/share/emacs/site-lisp
|
2007-01-16 00:22:12 +01:00
|
|
|
%doc AUTHORS COPYING.LIB ChangeLog FAQ NEWS README THANKS TODO
|
|
|
|
%_libdir/libidn.so.*
|
|
|
|
%_infodir/libidn*
|
2007-03-29 12:03:53 +02:00
|
|
|
%_prefix/bin/idn
|
2007-01-16 00:22:12 +01:00
|
|
|
%_mandir/man1/idn.1.*
|
2007-03-29 12:03:53 +02:00
|
|
|
%_prefix/share/emacs/site-lisp/idna.el
|
|
|
|
%_prefix/share/emacs/site-lisp/punycode.el
|
2007-01-16 00:22:12 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libidn.so
|
|
|
|
/usr/include/*.h
|
|
|
|
%_libdir/pkgconfig/libidn.pc
|
|
|
|
%_mandir/man3/*
|
2009-11-16 11:18:58 +01:00
|
|
|
/usr/share/gtk-doc/html/libidn
|
2007-01-16 00:22:12 +01:00
|
|
|
|
2007-03-15 01:43:21 +01:00
|
|
|
%changelog
|