[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
[12546] | 2 | # Disable static library creation by default. |
---|
| 3 | %define with_static 0 |
---|
[521] | 4 | |
---|
[1896] | 5 | Name: libidn |
---|
[521] | 6 | Summary: Internationalized Domain Name support library |
---|
[9358] | 7 | Summary(ja): 国際化ドメイン名をサポートするためのライブラリ |
---|
[12546] | 8 | Version: 1.36 |
---|
[1896] | 9 | Release: 1%{?_dist_release} |
---|
[12546] | 10 | Group: system |
---|
[12360] | 11 | Distribution: Vine Linux |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | |
---|
[9358] | 14 | License: GPLv3+ and LGPLv3+ |
---|
[12360] | 15 | URL: https://www.gnu.org/software/libidn/ |
---|
| 16 | Source0: https://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz |
---|
[1896] | 17 | |
---|
[521] | 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[4856] | 19 | BuildRequires: gettext |
---|
| 20 | BuildRequires: pkgconfig |
---|
[521] | 21 | Requires(post): /sbin/install-info |
---|
| 22 | Requires(preun): /sbin/install-info |
---|
| 23 | |
---|
[12360] | 24 | %global __provides_exclude_from ^%{_libdir}/pkgconfig/.*$ |
---|
| 25 | |
---|
[521] | 26 | %description |
---|
| 27 | GNU Libidn is an implementation of the Stringprep, Punycode and |
---|
| 28 | IDNA specifications defined by the IETF Internationalized Domain |
---|
| 29 | Names (IDN) working group, used for internationalized domain |
---|
| 30 | names. |
---|
| 31 | |
---|
[12546] | 32 | |
---|
[521] | 33 | %package devel |
---|
| 34 | Summary: Development files for the libidn library |
---|
[9358] | 35 | Summary(ja): libidn ライブラリの開発用ファイル |
---|
[12546] | 36 | Group: programming |
---|
[9358] | 37 | License: GPLv3+, LGPLv3+ and GFDLv1.3+ |
---|
[521] | 38 | Requires: %{name} = %{version}-%{release} |
---|
[12360] | 39 | Provides: pkgconfig(libidn) = %{version} |
---|
[521] | 40 | |
---|
| 41 | %description devel |
---|
| 42 | This package includes header files and libraries necessary for |
---|
| 43 | developing programs which use the GNU libidn library. |
---|
| 44 | |
---|
| 45 | # compat32 |
---|
| 46 | %package -n compat32-%{name} |
---|
| 47 | Summary: Internationalized Domain Name support library |
---|
[9358] | 48 | Summary(ja): 国際化ドメイン名をサポートするためのライブラリ |
---|
[12546] | 49 | Group: system |
---|
[521] | 50 | Requires: %{name} = %{version}-%{release} |
---|
| 51 | |
---|
| 52 | %description -n compat32-%{name} |
---|
| 53 | GNU Libidn is an implementation of the Stringprep, Punycode and |
---|
| 54 | IDNA specifications defined by the IETF Internationalized Domain |
---|
| 55 | Names (IDN) working group, used for internationalized domain |
---|
| 56 | names. |
---|
| 57 | |
---|
| 58 | %package -n compat32-%{name}-devel |
---|
| 59 | Summary: Development files for the libidn library |
---|
[9358] | 60 | Summary(ja): libidn ライブラリの開発用ファイル |
---|
[12546] | 61 | Group: programming |
---|
[9358] | 62 | License: GPLv3+, LGPLv3+ and GFDLv1.3+ |
---|
[521] | 63 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 64 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 65 | |
---|
| 66 | %description -n compat32-%{name}-devel |
---|
| 67 | This package includes header files and libraries necessary for |
---|
| 68 | developing programs which use the GNU libidn library. |
---|
| 69 | |
---|
[12546] | 70 | |
---|
| 71 | %debug_package |
---|
| 72 | |
---|
| 73 | |
---|
[521] | 74 | %prep |
---|
| 75 | %setup -q |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %build |
---|
| 79 | %configure --disable-csharp --disable-java \ |
---|
| 80 | %if ! %{with_static} |
---|
| 81 | --disable-static |
---|
| 82 | %endif |
---|
| 83 | make %{?_smp_mflags} |
---|
| 84 | make %{?_smp_mflags} -C tests check |
---|
| 85 | |
---|
[12546] | 86 | |
---|
[521] | 87 | %install |
---|
| 88 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
| 89 | %makeinstall |
---|
| 90 | |
---|
| 91 | rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 92 | |
---|
| 93 | # provide more examples |
---|
| 94 | make %{?_smp_mflags} -C examples distclean |
---|
| 95 | |
---|
| 96 | # clean up docs |
---|
| 97 | find doc -name "Makefile*" | xargs rm |
---|
| 98 | rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir |
---|
| 99 | |
---|
| 100 | %find_lang %{name} |
---|
| 101 | |
---|
[12546] | 102 | |
---|
| 103 | %clean |
---|
| 104 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} |
---|
| 105 | |
---|
| 106 | |
---|
[521] | 107 | %post |
---|
| 108 | /sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir |
---|
| 109 | /sbin/ldconfig |
---|
| 110 | |
---|
| 111 | %preun |
---|
| 112 | if [ $1 = 0 ]; then |
---|
| 113 | /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir |
---|
| 114 | fi |
---|
| 115 | |
---|
| 116 | %postun -p /sbin/ldconfig |
---|
| 117 | |
---|
[9358] | 118 | %if %{build_compat32} |
---|
[521] | 119 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 120 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
[9358] | 121 | %endif |
---|
[521] | 122 | |
---|
| 123 | |
---|
| 124 | %files -f %{name}.lang |
---|
| 125 | %defattr(-,root,root) |
---|
[12360] | 126 | %license COPYING* |
---|
| 127 | %doc AUTHORS ChangeLog NEWS FAQ README THANKS |
---|
[521] | 128 | %{_bindir}/idn |
---|
| 129 | %{_mandir}/man1/idn.1* |
---|
| 130 | %{_datadir}/emacs/site-lisp |
---|
| 131 | %{_libdir}/libidn.so.* |
---|
| 132 | #{_libdir}/libidn.la |
---|
[4856] | 133 | %{_infodir}/* |
---|
[521] | 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 | |
---|
[12546] | 162 | |
---|
[521] | 163 | %changelog |
---|
[12546] | 164 | * Wed Feb 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.36-1 |
---|
| 165 | - new upstream release. |
---|
| 166 | |
---|
[12360] | 167 | * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.35-1 |
---|
| 168 | - new upstream release. |
---|
| 169 | |
---|
[9358] | 170 | * Wed Feb 18 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.29-1 |
---|
| 171 | - new upstream release |
---|
| 172 | - added Japanese summary |
---|
| 173 | |
---|
[4856] | 174 | * Sat Oct 1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.22-1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
[1896] | 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 | |
---|
[521] | 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 |
---|