libidn2-vl.spec 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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.3
  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. * Tue Aug 09 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
  100. - new upstream release.
  101. - dropped install-info scriptlets.
  102. * Tue Jul 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.2-1
  103. - new upstream release.
  104. * Wed May 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.1-1
  105. - new upstream release.
  106. - dropped ldconfig scriptlets.
  107. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
  108. - new upstream release.
  109. * Tue Oct 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.0-1
  110. - new upstream release.
  111. - dropped Patch1: fixed in upstream.
  112. * Fri Feb 23 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.4-4
  113. - initial build for Vine Linux.
  114. * Sun Feb 18 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-3
  115. - Added upstream patch to fix STD3 ASCII rules (#1543021)
  116. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
  117. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  118. * Wed Aug 30 2017 Robert Scheck <robert@fedoraproject.org> 2.0.4-1
  119. - Upgrade to 2.0.4 (#1486881, #1486882)
  120. * Tue Aug 01 2017 Robert Scheck <robert@fedoraproject.org> 2.0.3-1
  121. - Upgrade to 2.0.3 (#1468608, #1474324)
  122. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
  123. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  124. * Sun Apr 30 2017 Robert Scheck <robert@fedoraproject.org> 2.0.2-1
  125. - Upgrade to 2.0.2 (#1444712)
  126. * Thu Apr 06 2017 Robert Scheck <robert@fedoraproject.org> 2.0.0-1
  127. - Upgrade to 2.0.0 (#1439727)
  128. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
  129. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  130. * Fri Jan 27 2017 Robert Scheck <robert@fedoraproject.org> 0.16-1
  131. - Upgrade to 0.16 (#1416642)
  132. * Mon Nov 21 2016 Robert Scheck <robert@fedoraproject.org> 0.11-1
  133. - Upgrade to 0.11
  134. - Reflect dual-licensing of library in license tag (#1397021)
  135. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-4
  136. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  137. * Mon Dec 7 2015 Than Ngo <than@redhat.com> 0.10-2
  138. - fix build failure related to missing automake-1.14
  139. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
  140. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  141. * Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.10-2
  142. - Rebuilt for Fedora 23 Change
  143. https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
  144. * Sun Oct 12 2014 Robert Scheck <robert@fedoraproject.org> 0.10-1
  145. - Upgrade to 0.10
  146. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-7
  147. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  148. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-6
  149. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  150. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-5
  151. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  152. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-4
  153. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  154. * Fri Nov 16 2012 Robert Scheck <robert@fedoraproject.org> 0.8-3
  155. - Added provide bundled(gnulib) as it's a copylib (#821769)
  156. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-2
  157. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  158. * Sun Jan 15 2012 Robert Scheck <robert@fedoraproject.org> 0.8-1
  159. - Upgrade to 0.8
  160. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
  161. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  162. * Sat Aug 13 2011 Robert Scheck <robert@fedoraproject.org> 0.7-1
  163. - Upgrade to 0.7
  164. * Sat Jun 04 2011 Robert Scheck <robert@fedoraproject.org> 0.6-1
  165. - Upgrade to 0.6
  166. * Wed May 18 2011 Robert Scheck <robert@fedoraproject.org> 0.5-1
  167. - Upgrade to 0.5
  168. * Mon May 16 2011 Robert Scheck <robert@fedoraproject.org> 0.4-1
  169. - Upgrade to 0.4
  170. * Sat May 07 2011 Robert Scheck <robert@fedoraproject.org> 0.3-1
  171. - Upgrade to 0.3
  172. - Initial spec file for Fedora and Red Hat Enterprise Linux