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