From 2f31415ea53eb5d810793cfd2d00cc6d660ddd2c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:37:46 +0100 Subject: [PATCH] legacy package [release 1.34-2mamba;Sun Sep 16 2018] --- README.md | 6 ++ libidn11.spec | 211 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 217 insertions(+) create mode 100644 libidn11.spec diff --git a/README.md b/README.md index 0271813..9e75a89 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # libidn11 +GNU Libidn is an implementation of the stringprep, punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group, used for internationalized domain names. +The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibitation 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 are supported. +Libidn is written in C and (parts of) the API is accessible from C, C++, Emacs Lisp, Python and Java. An experimental native Java API is also available. + diff --git a/libidn11.spec b/libidn11.spec new file mode 100644 index 0000000..000c2a2 --- /dev/null +++ b/libidn11.spec @@ -0,0 +1,211 @@ +Name: libidn11 +Version: 1.34 +Release: 2mamba +Summary: An implementation of the Stringprep, Punycode and IDNA specification +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnu.org/software/libidn/ +Source: ftp://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: bash +%if "%{stage1}" != "1" +BuildRequires: emacs >= 21.3 +BuildRequires: gcc-java +BuildRequires: gtk-doc +BuildRequires: mono-core +%endif +BuildRequires: gettext-devel >= 0.14.0 +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: texinfo +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +GNU Libidn is an implementation of the stringprep, punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group, used for internationalized domain names. +The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibitation 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 are supported. +Libidn is written in C and (parts of) the API is accessible from C, C++, Emacs Lisp, Python and Java. An experimental native Java API is also available. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires(post):%{__install_info} + +%description devel +GNU Libidn is an implementation of the stringprep, punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group, used for internationalized domain names. +The library contains a generic Stringprep implementation that does Unicode 3.2 NFKC normalization, mapping and prohibitation 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 are supported. +Libidn is written in C and (parts of) the API is accessible from C, C++, Emacs Lisp, Python and Java. An experimental native Java API is also available. +Libidn can be built into GNU libc to enable a new system-wide getaddrinfo() flag for IDN processing. +Libidn is developed for the GNU/Linux system, but runs on over 20 platforms including most major Unix platforms and Windows, and many kind of devices including iPAQ handhelds and S/390 mainframes. +Libidn is written in C and (parts of) the API is accessible from C, C++, Emacs Lisp, Python and Java. An experimental native Java API is also available. + +This package contains static libraries and header files needed for development. + +%package apidocs +Summary: GNU Libidn API documentation +Group: Documentation +Requires: gtk-doc + +%description apidocs +GNU Libidn API documentation. + +%prep +%setup -q -n libidn-%{version} + +%build +%configure \ + --enable-shared \ + --disable-csharp \ + --disable-static + +#%if "%{stage1}" != "1" +# --enable-csharp \ +# --enable-java \ +# --enable-gtk-doc +#%endif + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%find_lang libidn + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post devel +%install_info libidn.info +exit 0 + +%preun devel +%uninstall_info libidn.info +exit 0 + +%files +%defattr(-,root,root) +%{_libdir}/libidn.so.* +%doc AUTHORS COPYING* + +%files devel -f libidn.lang +%defattr(-,root,root) +%{_bindir}/idn +%{_datadir}/emacs/* +%{_includedir}/*.h +%{_libdir}/libidn.la +%{_libdir}/libidn.so +%{_libdir}/pkgconfig/libidn.pc +%{_infodir}/libidn.info.* +%{_infodir}/libidn-components.png.* +%{_mandir}/man1/idn.* +%{_mandir}/man3/* +%doc doc/libidn.pdf +%doc ChangeLog NEWS README THANKS TODO + +#%if "%{stage1}" != "1" +#%files apidocs +#%defattr(-,root,root) +#%{_datadir}/gtk-doc/html/libidn/ +#%endif + +%changelog +* Sun Sep 16 2018 Silvan Calarco 1.34-2mamba +- legacy package + +* Fri May 04 2018 Automatic Build System 1.34-1mamba +- automatic version update by autodist + +* Sat Jul 30 2016 Automatic Build System 1.33-1mamba +- automatic version update by autodist + +* Tue Aug 18 2015 Automatic Build System 1.32-1mamba +- automatic version update by autodist + +* Mon Mar 09 2015 Automatic Build System 1.30-1mamba +- automatic version update by autodist + +* Wed Aug 13 2014 Automatic Build System 1.29-1mamba +- automatic version update by autodist + +* Wed Jul 10 2013 Automatic Build System 1.28-1mamba +- automatic version update by autodist + +* Tue Dec 25 2012 Automatic Build System 1.26-1mamba +- automatic version update by autodist + +* Mon Aug 06 2012 Automatic Build System 1.25-1mamba +- automatic version update by autodist + +* Fri Jun 17 2011 Automatic Build System 1.22-1mamba +- automatic update by autodist + +* Sat Jun 26 2010 Automatic Build System 1.19-1mamba +- automatic update by autodist + +* Thu Jan 14 2010 Automatic Build System 1.16-1mamba +- automatic update by autodist + +* Wed Jun 10 2009 Automatic Build System 1.15-1mamba +- automatic update by autodist + +* Sat Apr 18 2009 Silvan Calarco 1.14-1mamba +- automatic update by autodist + +* Tue Mar 31 2009 Silvan Calarco 1.13-1mamba +- automatic update by autodist + +* Wed Feb 04 2009 Silvan Calarco 1.12-1mamba +- automatic update by autodist + +* Fri Oct 31 2008 Silvan Calarco 1.11-1mamba +- update to 1.11 + +* Tue May 13 2008 Aleph0 1.7-1mamba +- update to 1.7 + +* Thu Jan 10 2008 Aleph0 1.4-1mamba +- update to 1.4 + +* Tue Jul 03 2007 Aleph0 0.6.14-1mamba +- update to 0.6.14 + +* Fri Jun 01 2007 Aleph0 0.6.13-1mamba +- update to 0.6.13 +- do not build the static library + +* Tue Jan 16 2007 Davide Madrisan 0.6.10-1qilnx +- update to version 0.6.10 by autospec +- new subpackage apidocs with API documentation + +* Tue Dec 06 2005 Davide Madrisan 0.6.0-1qilnx +- update to version 0.6.0 by autospec +- enabled extensions for Java and Mono +- info and man3 pages moved to devel package +- build gtk documentation + +* Mon Nov 07 2005 Davide Madrisan 0.5.20-1qilnx +- update to version 0.5.20 by autospec + +* Tue Sep 20 2005 Davide Madrisan 0.5.19-1qilnx +- update to version 0.5.19 by autospec +- specfile updated: install/uninstall info files + +* Mon Jan 31 2005 Davide Madrisan 0.5.9-1qilnx +- update to version 0.5.9 by autospec +- specfile updates + +* Wed Oct 13 2004 Silvan Calarco 0.5.8-1qilnx +- package created by autospec