source: projects/specs/trunk/lib/libi/libidn/libidn-vl.spec @ 12546

Revision 12546, 7.1 KB checked in by tomop, 3 years ago (diff)

updated 28 packages

autoconf-2.71-1

automake-1.16.3-1

bison-3.7.5-1

e2fsprogs-1.46.1-1

findutils-4.8.0-1

galera-26.4.7-1

gawk-5.1.0-1

gdbm-1.19-1

gjs-1.66.2-1

gnome-initial-setup-3.36.4-2

grep-3.6-1

help2man-1.48.1-1

ipvsadm-1.31-1

less-563-1

libidn-1.36-1

make-4.3-1

mariadb-10.5.9-1

mozjs78-78.7.0-1

mpfr-4.1.0-1

nettle-3.7.1-1

parted-3.4-1

pcre2-10.36-1

polkit-0.118-1

strongswan-5.9.1-1

tar-1.34-1

trousers-0.3.15-1

wget-1.21-1

wireshark-3.4.3-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2# Disable static library creation by default.
3%define with_static 0
4
5Name: libidn
6Summary: Internationalized Domain Name support library
7Summary(ja): 国際化ドメイン名をサポートするためのライブラリ
8Version: 1.36
9Release: 1%{?_dist_release}
10Group: system
11Distribution: Vine Linux
12Vendor: Project Vine
13
14License: GPLv3+ and LGPLv3+
15URL: https://www.gnu.org/software/libidn/
16Source0: https://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: gettext
20BuildRequires: pkgconfig
21Requires(post): /sbin/install-info
22Requires(preun): /sbin/install-info
23
24%global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$
25
26%description
27GNU Libidn is an implementation of the Stringprep, Punycode and
28IDNA specifications defined by the IETF Internationalized Domain
29Names (IDN) working group, used for internationalized domain
30names.
31
32
33%package devel
34Summary: Development files for the libidn library
35Summary(ja): libidn ライブラリの開発用ファイル
36Group: programming
37License: GPLv3+, LGPLv3+ and GFDLv1.3+
38Requires: %{name} = %{version}-%{release}
39Provides: pkgconfig(libidn) = %{version}
40
41%description devel
42This package includes header files and libraries necessary for
43developing programs which use the GNU libidn library.
44
45# compat32
46%package -n compat32-%{name}
47Summary: Internationalized Domain Name support library
48Summary(ja): 国際化ドメイン名をサポートするためのライブラリ
49Group: system
50Requires: %{name} = %{version}-%{release}
51
52%description -n compat32-%{name}
53GNU Libidn is an implementation of the Stringprep, Punycode and
54IDNA specifications defined by the IETF Internationalized Domain
55Names (IDN) working group, used for internationalized domain
56names.
57
58%package -n compat32-%{name}-devel
59Summary: Development files for the libidn library
60Summary(ja): libidn ライブラリの開発用ファイル
61Group: programming
62License: GPLv3+, LGPLv3+ and GFDLv1.3+
63Requires: compat32-%{name} = %{version}-%{release}
64Requires: %{name}-devel = %{version}-%{release}
65
66%description -n compat32-%{name}-devel
67This package includes header files and libraries necessary for
68developing programs which use the GNU libidn library.
69
70
71%debug_package
72
73
74%prep
75%setup -q
76
77
78%build
79%configure --disable-csharp --disable-java \
80%if ! %{with_static}
81           --disable-static
82%endif
83make %{?_smp_mflags}
84make %{?_smp_mflags} -C tests check
85
86
87%install
88[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
89%makeinstall
90
91rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la
92
93# provide more examples
94make %{?_smp_mflags} -C examples distclean
95
96# clean up docs
97find doc -name "Makefile*" | xargs rm
98rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir
99
100%find_lang %{name}
101
102
103%clean
104[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
105
106
107%post
108/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
109/sbin/ldconfig
110
111%preun
112if [ $1 = 0 ]; then
113    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
114fi
115
116%postun -p /sbin/ldconfig
117
118%if %{build_compat32}
119%post -n compat32-%{name} -p /sbin/ldconfig
120%postun -n compat32-%{name} -p /sbin/ldconfig
121%endif
122
123
124%files -f %{name}.lang
125%defattr(-,root,root)
126%license COPYING*
127%doc AUTHORS ChangeLog NEWS FAQ README THANKS
128%{_bindir}/idn
129%{_mandir}/man1/idn.1*
130%{_datadir}/emacs/site-lisp
131%{_libdir}/libidn.so.*
132#{_libdir}/libidn.la
133%{_infodir}/*
134
135%files devel
136%defattr(0644,root,root,755)
137%doc doc/libidn.html doc/libidn-components.png examples contrib
138%{_libdir}/libidn.so
139%if %{with_static}
140%{_libdir}/libidn.a
141%endif
142%{_includedir}/*.h
143%{_libdir}/pkgconfig/*.pc
144%{_mandir}/man3/*
145
146# compat32
147%if %{build_compat32}
148%files -n compat32-%{name}
149%defattr(-,root,root)
150%{_libdir}/libidn.so.*
151#{_libdir}/libidn.la
152
153%files -n compat32-%{name}-devel
154%defattr(0644,root,root,755)
155%{_libdir}/libidn.so
156%if %{with_static}
157%{_libdir}/libidn.a
158%endif
159%{_libdir}/pkgconfig/*.pc
160%endif
161
162
163%changelog
164* Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1
165- new upstream release.
166
167* Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.35-1
168- new upstream release.
169
170* Wed Feb 18 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.29-1
171- new upstream release
172- added Japanese summary
173
174* Sat Oct  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.22-1
175- new upstream release
176
177* Sat Sep 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.19-1
178- new upstream release
179- built with rpm-4.8.1
180
181* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.11-2
182- added compat32 package for x86_64 arch support.
183- disabled static library creation by default.
184
185* Mon Nov 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11-1
186- new upstream release
187
188* Thu Jun 26 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8-1
189- new upstream release
190- applied new versioning policy
191- added --disable-csharp and --disable-java options to %%configure
192
193* Wed Jul 11 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.14-0vl1
194- new upstream release
195
196* Sun May 13 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.9-0vl1
197- new upstream release
198
199* Wed Aug 31 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.18-0vl2
200- rebuild for VineSeed
201
202* Wed Aug 31 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.18-0vl1
203- new upstream release
204
205* Thu Dec 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.12-0vl2
206- rebuild for VineSeed
207
208* Wed Dec 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.5.12-0vl1
209- new upstream release
210- build for Vine Linux 3.1
211
212* Thu Oct  7 2004 Joe Orton <jorton@redhat.com> 0.5.6-1
213- update to 0.5.6 (#134343)
214
215* Thu Sep 30 2004 Miloslav Trmac <mitr@redhat.com> - 0.5.4-3
216- Fix Group: (#134068)
217
218* Tue Aug 31 2004 Joe Orton <jorton@redhat.com> 0.5.4-2
219- move ldconfig from preun to postun (#131280)
220
221* Sun Aug  8 2004 Joe Orton <jorton@redhat.com> 0.5.4-1
222- update to 0.5.4 (#129341)
223
224* Thu Jul 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.5.2-1
225- upgrade to 0.5.2, enabled i18n support and info files (#127906)
226
227* Fri Jul  9 2004 Joe Orton <jorton@redhat.com> 0.5.1-1
228- update to 0.5.1 (#127496)
229
230* Mon Jun 28 2004 Joe Orton <jorton@redhat.com> 0.5.0-1
231- update to 0.5.0 (#126836)
232
233* Tue Jun 22 2004 Than Ngo <than@redhat.com> 0.4.9-2
234- add prereq: /sbin/ldconfig
235- move la file in main package
236
237* Tue Jun 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.4.9-1
238- upgrade to 0.4.9 (#126353)
239
240* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
241- rebuilt
242
243* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.4-1
244- update to 0.4.4; remove contrib from -devel docs
245
246* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.3-1
247- update to 0.4.3, remove -rpath patch
248
249* Tue Jan 27 2004 Joe Orton <jorton@redhat.com> 0.3.7-1
250- update to 0.3.7, simplify
251
252* Wed Jan 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.3.6-1mdk
253- 0.3.6
254
255* Mon Dec 15 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.5-1mdk
256- 0.3.5
257
258* Sun Oct 19 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-2mdk
259- drop the "soname fix" and use the correct way...
260
261* Sat Oct 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-1mdk
262- 0.3.3
263
264* Mon Oct 13 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.2-1mdk
265- initial cooker contrib
266- used the package from PLD as a start point
Note: See TracBrowser for help on using the repository browser.