source: projects/specs/trunk/lib/libi/libidn2/libidn2-vl.spec @ 12360

Revision 12360, 7.9 KB checked in by tomop, 22 months ago (diff)

updated 5 packages

libidn-1.35-1

libidn2-2.3.0-1

libusb-0.1.5-2

mktcapdir-0.6.0-3

rarian-0.8.1-7

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:          Library to support IDNA2008 internationalized domain names
4Summary(ja):      IDNA2008 国際化ドメイン名をサポートするためのライブラリ
5Name:             libidn2
6Version:          2.3.0
7Release:          1%{?_dist_release}
8Group:            System Environment/Libraries
9
10Vendor:           Project Vine
11Distribution:     Vine Linux
12
13License:          (GPLv2+ or LGPLv3+) and GPLv3+
14URL:              https://www.gnu.org/software/libidn/#libidn2
15Source0:          https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
16Source1:          https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
17Patch0:           libidn2-2.0.0-rpath.patch
18BuildRequires:    libunistring-devel
19Requires(post):   /sbin/install-info, /sbin/ldconfig
20Requires(preun):  /sbin/install-info
21Requires(postun): /sbin/ldconfig
22Provides:         bundled(gnulib)
23
24
25%global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
26
27
28%description
29Libidn2 is an implementation of the IDNA2008 specifications in RFC
305890, 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
34Summary:          Development files for libidn2
35Summary(ja):      libidn2 ライブラリの開発用ファイル
36Group:            Development/Libraries
37Requires:         %{name}%{?_isa} = %{version}-%{release}, pkgconfig
38Provides:         pkgconfig(libidn2) = %{version}
39
40%description devel
41The libidn2-devel package contains libraries and header files for
42developing applications that use libidn2.
43
44# compat32
45%package -n compat32-%{name}
46Summary:     Library to support IDNA2008 internationalized domain names
47Summary(ja): IDNA2008 国際化ドメイン名をサポートするためのライブラリ
48Group:       System Environment/Libraries
49
50Requires: %{name} = %{version}-%{release}
51
52%description -n compat32-%{name}
53Libidn2 is an implementation of the IDNA2008 specifications in RFC
545890, 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
58Summary:     Development files for the libidn2 library
59Summary(ja): libidn2 ライブラリの開発用ファイル
60Group:       Development/Libraries
61
62Requires: compat32-%{name} = %{version}-%{release}
63Requires: %{name}-devel = %{version}-%{release}
64
65%description -n compat32-%{name}-devel
66The libidn2-devel package contains libraries and header files for
67developing applications that use libidn2.
68
69%prep
70%setup -q
71%patch0 -p1 -b .rpath
72touch -c -r configure.rpath configure
73touch -c -r m4/libtool.m4.rpath m4/libtool.m4
74
75%build
76%configure --disable-static
77make %{?_smp_mflags}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
82
83# Clean-up examples for documentation
84make %{?_smp_mflags} -C examples distclean
85rm -f examples/Makefile*
86
87# Don't install any libtool .la files
88rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
89
90# Some file cleanups
91rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
92
93%find_lang libidn2
94
95%check
96make %{?_smp_mflags} -C tests check
97
98%post
99/sbin/ldconfig
100/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
101
102%preun
103if [ $1 = 0 ]; then
104    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
105fi
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
115%files -f libidn2.lang
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
148* Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.0-1
149- new upstream release.
150
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
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
Note: See TracBrowser for help on using the repository browser.