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