libidn2-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Library to support IDNA2008 internationalized domain names
  3. Summary(ja): IDNA2008 国際化ドメイン名をサポートするためのライブラリ
  4. Name: libidn2
  5. Version: 2.3.7
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: (GPLv2+ or LGPLv3+) and GPLv3+
  11. URL: https://www.gnu.org/software/libidn/#libidn2
  12. Source0: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
  13. Source1: https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
  14. Patch0: libidn2-2.0.0-rpath.patch
  15. BuildRequires: libunistring-devel
  16. Provides: bundled(gnulib)
  17. %global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
  18. %description
  19. Libidn2 is an implementation of the IDNA2008 specifications in RFC
  20. 5890, 5891, 5892, 5893 and TR46 for internationalized domain names
  21. (IDN). It is a standalone library, without any dependency on libidn.
  22. %package devel
  23. Summary: Development files for libidn2
  24. Summary(ja): libidn2 ライブラリの開発用ファイル
  25. Group: programming
  26. Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
  27. Provides: pkgconfig(libidn2) = %{version}
  28. %description devel
  29. The libidn2-devel package contains libraries and header files for
  30. developing applications that use libidn2.
  31. # compat32
  32. %package -n compat32-%{name}
  33. Summary: Library to support IDNA2008 internationalized domain names
  34. Summary(ja): IDNA2008 国際化ドメイン名をサポートするためのライブラリ
  35. Group: system,legacy
  36. Requires: %{name} = %{version}-%{release}
  37. %description -n compat32-%{name}
  38. Libidn2 is an implementation of the IDNA2008 specifications in RFC
  39. 5890, 5891, 5892, 5893 and TR46 for internationalized domain names
  40. (IDN). It is a standalone library, without any dependency on libidn.
  41. %package -n compat32-%{name}-devel
  42. Summary: Development files for the libidn2 library
  43. Summary(ja): libidn2 ライブラリの開発用ファイル
  44. Group: programming,legacy
  45. Requires: compat32-%{name} = %{version}-%{release}
  46. Requires: %{name}-devel = %{version}-%{release}
  47. %description -n compat32-%{name}-devel
  48. The libidn2-devel package contains libraries and header files for
  49. developing applications that use libidn2.
  50. %debug_package
  51. %prep
  52. %setup -q
  53. %patch0 -p1 -b .rpath
  54. touch -c -r configure.rpath configure
  55. touch -c -r m4/libtool.m4.rpath m4/libtool.m4
  56. %build
  57. %configure --disable-static
  58. make %{?_smp_mflags}
  59. %install
  60. rm -rf $RPM_BUILD_ROOT
  61. make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
  62. # Clean-up examples for documentation
  63. make %{?_smp_mflags} -C examples distclean
  64. rm -f examples/Makefile*
  65. # Don't install any libtool .la files
  66. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  67. # Some file cleanups
  68. rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
  69. %find_lang libidn2
  70. %check
  71. make %{?_smp_mflags} -C tests check
  72. %files -f libidn2.lang
  73. %defattr(-,root,root,-)
  74. %{!?_licensedir:%global license %%doc}
  75. %license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
  76. %doc AUTHORS NEWS README.md
  77. %{_bindir}/idn2
  78. %{_mandir}/man1/idn2.1*
  79. %{_libdir}/%{name}.so.*
  80. %{_infodir}/%{name}.info*
  81. %files devel
  82. %defattr(-,root,root,-)
  83. %doc doc/%{name}.html examples
  84. %{_libdir}/%{name}.so
  85. %{_libdir}/pkgconfig/%{name}.pc
  86. %{_includedir}/*.h
  87. %{_mandir}/man3/*
  88. %{_datadir}/gtk-doc/
  89. %if %{?build_compat32}
  90. %files -n compat32-%{name}
  91. %defattr(-,root,root,-)
  92. %{_libdir}/%{name}.so.*
  93. %files -n compat32-%{name}-devel
  94. %defattr(-,root,root,-)
  95. %{_libdir}/%{name}.so
  96. #{_libdir}/pkgconfig/%{name}.pc
  97. %endif
  98. %changelog
  99. * Mon Jun 17 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.7-1
  100. - new upstream release.
  101. * Fri Nov 18 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.4-1
  102. - new upstream release.
  103. * Tue Aug 09 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
  104. - new upstream release.
  105. - dropped install-info scriptlets.
  106. * Tue Jul 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.2-1
  107. - new upstream release.
  108. * Wed May 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.1-1
  109. - new upstream release.
  110. - dropped ldconfig scriptlets.
  111. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
  112. - new upstream release.
  113. * Tue Oct 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.0-1
  114. - new upstream release.
  115. - dropped Patch1: fixed in upstream.
  116. * Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.4-4
  117. - initial build for Vine Linux.
  118. * Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-3
  119. - Added upstream patch to fix STD3 ASCII rules (#1543021)
  120. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  122. * Wed Aug 30 2017 Robert Scheck <robert@fedoraproject.org> 2.0.4-1
  123. - Upgrade to 2.0.4 (#1486881, #1486882)
  124. * Tue Aug 01 2017 Robert Scheck <robert@fedoraproject.org> 2.0.3-1
  125. - Upgrade to 2.0.3 (#1468608, #1474324)
  126. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
  127. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  128. * Sun Apr 30 2017 Robert Scheck <robert@fedoraproject.org> 2.0.2-1
  129. - Upgrade to 2.0.2 (#1444712)
  130. * Thu Apr 06 2017 Robert Scheck <robert@fedoraproject.org> 2.0.0-1
  131. - Upgrade to 2.0.0 (#1439727)
  132. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
  133. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  134. * Fri Jan 27 2017 Robert Scheck <robert@fedoraproject.org> 0.16-1
  135. - Upgrade to 0.16 (#1416642)
  136. * Mon Nov 21 2016 Robert Scheck <robert@fedoraproject.org> 0.11-1
  137. - Upgrade to 0.11
  138. - Reflect dual-licensing of library in license tag (#1397021)
  139. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  141. * Mon Dec 7 2015 Than Ngo <than@redhat.com> 0.10-2
  142. - fix build failure related to missing automake-1.14
  143. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
  144. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  145. * Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.10-2
  146. - Rebuilt for Fedora 23 Change
  147. https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
  148. * Sun Oct 12 2014 Robert Scheck <robert@fedoraproject.org> 0.10-1
  149. - Upgrade to 0.10
  150. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-7
  151. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  152. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-6
  153. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  154. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-5
  155. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  156. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
  157. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  158. * Fri Nov 16 2012 Robert Scheck <robert@fedoraproject.org> 0.8-3
  159. - Added provide bundled(gnulib) as it's a copylib (#821769)
  160. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
  161. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  162. * Sun Jan 15 2012 Robert Scheck <robert@fedoraproject.org> 0.8-1
  163. - Upgrade to 0.8
  164. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
  165. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  166. * Sat Aug 13 2011 Robert Scheck <robert@fedoraproject.org> 0.7-1
  167. - Upgrade to 0.7
  168. * Sat Jun 04 2011 Robert Scheck <robert@fedoraproject.org> 0.6-1
  169. - Upgrade to 0.6
  170. * Wed May 18 2011 Robert Scheck <robert@fedoraproject.org> 0.5-1
  171. - Upgrade to 0.5
  172. * Mon May 16 2011 Robert Scheck <robert@fedoraproject.org> 0.4-1
  173. - Upgrade to 0.4
  174. * Sat May 07 2011 Robert Scheck <robert@fedoraproject.org> 0.3-1
  175. - Upgrade to 0.3
  176. - Initial spec file for Fedora and Red Hat Enterprise Linux