Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37869807
en ru br
ALT Linux repositórios
S:1.37-alt2
5.0: 1.15-alt1
4.1: 1.8-alt1
4.0: 0.6.14-alt1
3.0: 0.5.18-alt1

Group :: Sistema/Bibliotecas
RPM: libidn

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: libidn
Version: 1.8
Release: alt1

Group: System/Libraries
Summary: Support for Internationalized Domain Names (IDN)
Url: http://www.gnu.org/software/libidn/
License: LGPL

Source0: http://josefsson.org/libidn/releases/libidn-%version.tar.gz
Patch1: libidn-0.5.18-nojavadoc.patch

# Automatically added by buildreq on Tue May 25 2004 (-bi)

#BuildRequires: gcc-c++ gcc-g77 libstdc++-devel pkgconfig
BuildRequires: gcc-c++ libstdc++-devel pkg-config
#BuildRequires:  gcc-java

%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 at josefsson.org>

%package devel
Group: System/Libraries
Summary: Include files and libraries mandatory for %name
Requires: %name = %version-%release
PreReq(post,preun): info-install
#
%description devel
Include files and libraries mandatory for %name

Authors:
--------
   Simon Josefsson <simon at josefsson.org>

%package devel-static
Group: System/Libraries
Summary: Static libraries of %name
Requires: %name-devel = %version-%release
#
%description devel-static
Static libraries of %name

Authors:
--------
   Simon Josefsson <simon at josefsson.org>

%prep
%setup -q
#%patch1 -p1
#autoreconf -fisv

%build
%configure \
   %{subst_enable static} \
   --with-gnu-ld \
   --disable-rpath
#    --enable-java

%make_build

%install
make DESTDIR=%buildroot install
rm -rf docs
cp -ar doc docs
rm -rf docs/man docs/texi

%find_lang %name

%post
%post_ldconfig
%postun
%postun_ldconfig

%post devel
%install_info libidn.info
%postun devel
%uninstall_info libidn.info


%files -f %name.lang
%doc AUTHORS ChangeLog FAQ NEWS README THANKS TODO
%_libdir/*.so.*

%_bindir/idn
%_man1dir/*
#/usr/share/emacs/site-lisp/idna.el
#/usr/share/emacs/site-lisp/punycode.el

%files devel
%doc docs
%_infodir/*
%_mandir/man3/*
#
%_libdir/*.so
%_includedir/*.h
%_libdir/pkgconfig/*.pc

%if_enabled static
%files -n %name-devel-static
%_libdir/*.a
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009