added -mono, -tools and -java subpackages [release 1.36-3mamba;Fri Oct 16 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:37:36 +01:00
parent 4bebe42437
commit 9871a67052

View File

@ -1,6 +1,6 @@
Name: libidn Name: libidn
Version: 1.36 Version: 1.36
Release: 2mamba Release: 3mamba
Summary: An implementation of the Stringprep, Punycode and IDNA specification Summary: An implementation of the Stringprep, Punycode and IDNA specification
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -9,7 +9,6 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/libidn/ URL: http://www.gnu.org/software/libidn/
Source: ftp://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
License: LGPL License: LGPL
Requires(post):%{__install_info}
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig BuildRequires: ldconfig
@ -23,6 +22,8 @@ BuildRequires: gtk-doc
%endif %endif
BuildRequires: gettext-devel >= 0.14.0 BuildRequires: gettext-devel >= 0.14.0
BuildRequires: texinfo BuildRequires: texinfo
Requires(post):%{__install_info}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -57,6 +58,30 @@ Requires: gtk-doc
%description apidocs %description apidocs
GNU Libidn API documentation. GNU Libidn API documentation.
%package mono
Summary: Mono %{name} library
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description mono
Mono %{name} library.
%package java
Summary: Java %{name} library
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description java
Java %{name} library.
%package tools
Summary: Tools provided with %{name}
Group: System/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
Tools provided with %{name}.
%debug_package %debug_package
%prep %prep
@ -102,19 +127,16 @@ exit 0
%uninstall_info %{name}.info %uninstall_info %{name}.info
exit 0 exit 0
%files -f %{name}.lang %files
%defattr(-,root,root)
%{_libdir}/libidn.so.*
%doc AUTHORS COPYING*
%files tools -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/idn %{_bindir}/idn
%{_datadir}/emacs/* %{_datadir}/emacs/*
%if "%{stage1}" != "1"
%{_datadir}/java/*.jar
%endif
%{_libdir}/libidn.so.*
%if "%{stage1}" != "1"
%{_libdir}/Libidn.dll
%endif
%{_mandir}/man1/idn.* %{_mandir}/man1/idn.*
%doc AUTHORS COPYING*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -125,16 +147,31 @@ exit 0
%{_infodir}/libidn.info.* %{_infodir}/libidn.info.*
%{_infodir}/libidn-components.png.* %{_infodir}/libidn-components.png.*
%{_mandir}/man3/* %{_mandir}/man3/*
%doc doc/libidn.pdf
%doc ChangeLog NEWS README THANKS TODO %doc ChangeLog NEWS README THANKS TODO
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
%files apidocs %files java
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/gtk-doc/html/libidn/ %{_datadir}/java/*.jar
%endif %endif
%if "%{stage1}" != "1"
%files mono
%defattr(-,root,root)
%{_libdir}/Libidn.dll
%endif
%files apidocs
%defattr(-,root,root)
%if "%{stage1}" != "1"
%{_datadir}/gtk-doc/html/libidn/
%endif
%doc doc/libidn.pdf
%changelog %changelog
* Fri Oct 16 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-3mamba
- added -mono, -tools and -java subpackages
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-2mamba * Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36-2mamba
- debug package added - debug package added