190 lines
5.9 KiB
RPMSpec
190 lines
5.9 KiB
RPMSpec
#
|
|
# spec file for package libidn (Version 0.6.11)
|
|
#
|
|
# Copyright (c) 2007 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: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
|
Group: System/Libraries
|
|
Version: 0.6.11
|
|
Release: 4
|
|
Summary: Support for Internationalized Domain Names (IDN)
|
|
URL: http://www.gnu.org/software/libidn/
|
|
Source0: http://josefsson.org/libidn/releases/libidn-%version.tar.gz
|
|
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
|
|
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 <simon@josefsson.org>
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --libdir=%_libdir \
|
|
--mandir=%_mandir --infodir=%_infodir
|
|
make
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
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)
|
|
%doc doc
|
|
%_libdir/libidn.la
|
|
%_libdir/libidn.a
|
|
%_libdir/libidn.so
|
|
/usr/include/*.h
|
|
%_libdir/pkgconfig/libidn.pc
|
|
%_mandir/man3/*
|
|
|
|
%changelog
|
|
* 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
|