cvsdist 9444714
Summary: Internationalized Domain Name support library
cvsdist 9444714
Name: libidn
2d23414
Version: 1.28
1c9103b
Release: 1%{?dist}
b6c2470
URL: http://www.gnu.org/software/libidn/
5e58ca1
License: LGPLv2+ and GPLv3+ and GFDL
cc2fe68
Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz
f23d415
Group: System Environment/Libraries
a86e795
BuildRequires: pkgconfig, gettext
29f00f1
Requires(post): /sbin/install-info /sbin/ldconfig
9cf161b
Requires(preun): /sbin/install-info
e9dde0c
Requires(postun): /sbin/ldconfig
2f71506
# gnulib is a copylib, bundling is allowed
2f71506
Provides: bundled(gnulib)
cvsdist 9444714
cvsdist 9444714
%description
cvsdist 9444714
GNU Libidn is an implementation of the Stringprep, Punycode and
cvsdist 9444714
IDNA specifications defined by the IETF Internationalized Domain
cvsdist 9444714
Names (IDN) working group, used for internationalized domain
cvsdist 9444714
names.
cvsdist 9444714
cvsdist 9444714
%package devel
cvsdist 9444714
Summary: Development files for the libidn library
cvsdist 9444714
Group: Development/Libraries
db480dd
Requires: %{name}%{?_isa} = %{version}-%{release}
cvsdist 9444714
Requires: pkgconfig
cvsdist 9444714
cvsdist 9444714
%description devel
cvsdist 9444714
This package includes header files and libraries necessary for
cvsdist 9444714
developing programs which use the GNU libidn library.
cvsdist 9444714
a86e795
%package -n emacs-%{name}
a86e795
Summary: GNU Emacs libidn support files
a86e795
License: GPLv3+
a86e795
BuildRequires: emacs
a86e795
Requires: %{name} = %{version}-%{release}
a86e795
Requires: emacs(bin) >= %{_emacs_version}
a86e795
BuildArch: noarch
a86e795
a86e795
%description -n emacs-%{name}
a86e795
This package includes libidn support files for GNU Emacs.
a86e795
cvsdist 9444714
%prep
cvsdist 9444714
%setup -q
cvsdist 9444714
d1f6569
# Name directory sections consistently in the info file, #209491
d1f6569
sed -i '/^INFO-DIR-SECTION/{s/GNU Libraries/Libraries/;s/GNU utilities/Utilities/;}' doc/libidn.info
d1f6569
b6c2470
iconv -f ISO-8859-1 -t UTF-8 doc/libidn.info > iconv.tmp
b6c2470
mv iconv.tmp doc/libidn.info
b6c2470
cvsdist 9444714
%build
7bafefd
%configure --disable-csharp --disable-static --with-lispdir=%{_emacs_sitelispdir}/%{name}
eb61ce0
make %{?_smp_mflags} V=1
cvsdist 9444714
cvsdist 9444714
%check
eb61ce0
make %{?_smp_mflags} -C tests check VALGRIND=env
cvsdist 9444714
cvsdist 9444714
%install
0c04353
make install DESTDIR=$RPM_BUILD_ROOT pkgconfigdir=%{_libdir}/pkgconfig
cvsdist 9444714
cvsdist 9444714
# provide more examples
cvsdist 9444714
make %{?_smp_mflags} -C examples distclean
cvsdist 9444714
cvsdist 9444714
# clean up docs
cvsdist 9444714
find doc -name "Makefile*" | xargs rm
cvsdist 168a45d
rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir
cvsdist 9444714
7378b95
# Make multilib safe:
7378b95
sed -i '/gnu compiler/d' $RPM_BUILD_ROOT%{_includedir}/idn-int.h
7378b95
7bafefd
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la \
7c04ebd
      $RPM_BUILD_ROOT%{_datadir}/info/*.png
0ffb548
a86e795
%{_emacs_bytecompile} $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}/*.el
97cb5d8
cvsdist 168a45d
%find_lang %{name}
cvsdist 9444714
cvsdist 168a45d
%post
cvsdist 168a45d
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
cvsdist 168a45d
/sbin/ldconfig
cvsdist 9444714
cvsdist 168a45d
%preun
cvsdist 168a45d
if [ $1 = 0 ]; then
9cf161b
    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
cvsdist 168a45d
fi
cvsdist fb95984
cvsdist fb95984
%postun -p /sbin/ldconfig
cvsdist 9444714
cvsdist 168a45d
%files -f %{name}.lang
7ef5e7a
%doc AUTHORS NEWS FAQ README THANKS COPYING*
cvsdist 9444714
%{_bindir}/idn
cvsdist 9444714
%{_mandir}/man1/idn.1*
7bafefd
%{_libdir}/libidn.so.*
cvsdist 168a45d
%{_infodir}/%{name}.info.gz
cvsdist 9444714
cvsdist 9444714
%files devel
e00c321
%doc doc/libidn.html examples
cvsdist 9444714
%{_libdir}/libidn.so
cvsdist 9444714
%{_includedir}/*.h
cvsdist 9444714
%{_libdir}/pkgconfig/*.pc
cvsdist 9444714
%{_mandir}/man3/*
cvsdist 9444714
a86e795
%files -n emacs-%{name}
a86e795
%{_emacs_sitelispdir}/%{name}
a86e795
cvsdist 9444714
%changelog
1c9103b
* Fri Jun 07 2013 Miroslav Lichvar <mlichvar@redhat.com> - 1.27-1
1c9103b
- update to 1.27
1c9103b
- make devel dependency arch-specific
1c9103b
- remove obsolete macros
1c9103b
891d963
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
891d963
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
891d963
c9d8bd5
* Mon Dec 17 2012 Miroslav Lichvar <mlichvar@redhat.com> - 1.26-1
c9d8bd5
- update to 1.26
c9d8bd5
2581ab8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
2581ab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2581ab8
eb61ce0
* Tue May 29 2012 Joe Orton <jorton@redhat.com> - 1.25-2
eb61ce0
- update to 1.25
eb61ce0
2f71506
* Tue May 15 2012 Miroslav Lichvar <mlichvar@redhat.com> - 1.24-2
2f71506
- provide bundled(gnulib) (#821768)
2f71506
ca6d376
* Sun Jan 15 2012 Robert Scheck <robert@fedoraproject.org> - 1.24-1
ca6d376
- Update to 1.24 (#781379)
ca6d376
f90924b
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-2
f90924b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f90924b
69b2629
* Fri Nov 25 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.23-1
69b2629
- update to 1.23
69b2629
a86e795
* Tue May 31 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.22-3
a86e795
- Split emacs-libidn subpackage to avoid *.elc arch conflicts (#709136).
a86e795
97cb5d8
* Sun May 29 2011 Ville Skyttä <ville.skytta@iki.fi> - 1.22-2
97cb5d8
- Byte compile Emacs lisp files, require emacs-filesystem for dir ownership.
97cb5d8
60c012a
* Thu May 05 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.22-1
60c012a
- update to 1.22
60c012a
9026dfe
* Tue Apr 26 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.21-1
9026dfe
- update to 1.21
9026dfe
29f00f1
* Thu Mar 03 2011 Miroslav Lichvar <mlichvar@redhat.com> - 1.20-1
29f00f1
- update to 1.20
29f00f1
- fix requires
29f00f1
d93f5a3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
d93f5a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d93f5a3
758d36a
* Mon May 24 2010 Joe Orton <jorton@redhat.com> - 1.19-1
758d36a
- update to 1.19 (#595086)
758d36a
5e58ca1
* Tue Mar 30 2010 Joe Orton <jorton@redhat.com> - 1.18-2
5e58ca1
- add GFDL to License
5e58ca1
cc2fe68
* Mon Mar 29 2010 Joe Orton <jorton@redhat.com> - 1.18-1
cc2fe68
- update to 1.18
cc2fe68
- fix Source0 to reference gnu.org repository
cc2fe68
d2b78ad
* Fri Jan 29 2010 Joe Orton <jorton@redhat.com> - 1.16-1
d2b78ad
- update to 1.16
d2b78ad
079c9ab
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-5
079c9ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
079c9ab
7ef5e7a
* Tue Mar 10 2009 Joe Orton <jorton@redhat.com> 1.9-4
5a944c3
- update to 1.9 (#302111)
5a944c3
- update License to reflect GPLv3+ binaries, LGPLv2+ library
5a944c3
a63f624
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.14-10
a63f624
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a63f624
19af422
* Mon Dec 29 2008 Kedar Sovani <kedars@marvell.com> 0.6.14-9
19af422
- fix the problem with #include_next
19af422
09160e9
* Tue Jun 10 2008 Joe Orton <jorton@redhat.com> 0.6.14-8
09160e9
- fix build with latest autoconf (#449440)
09160e9
06a36ab
* Mon Mar 31 2008 Joe Orton <jorton@redhat.com> 0.6.14-7
06a36ab
- fix libidn.pc for correct libdir (#439549)
06a36ab
0c04353
* Fri Mar  7 2008 Joe Orton <jorton@redhat.com> 0.6.14-6
0c04353
- drop libidn.a
0c04353
- move shared library to /lib{,64} (#283651)
0c04353
b6c2470
* Thu Feb  7 2008 Joe Orton <jorton@redhat.com> 0.6.14-5
b6c2470
- fix DT_RPATH in /usr/bin/idn
b6c2470
- convert libidn.iconv to UTF-8 (Jon Ciesla, #226029)
3af20ac
- fix BuildRoot tag (Jon Ciesla, #226029)
b6c2470
e00c321
* Tue Aug 21 2007 Joe Orton <jorton@redhat.com> 0.6.14-4
e00c321
- drop contrib directory from docs
e00c321
9571784
* Mon Aug 20 2007 Joe Orton <jorton@redhat.com> 0.6.14-3
9571784
- fix License
9571784
7c04ebd
* Mon Jun 18 2007 Joe Orton <jorton@redhat.com> 0.6.14-2
7c04ebd
- update to 0.6.14
7c04ebd
9cf161b
* Mon Jan 29 2007 Joe Orton <jorton@redhat.com> 0.6.9-2
9cf161b
- update to 0.6.9
9cf161b
- make install-info use failsafe (Ville Skyttä, #223707)
9cf161b
d1f6569
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 0.6.8-4
d1f6569
- use non-GNU section in info directory (#209491)
d1f6569
c2a0092
* Wed Nov 15 2006 Joe Orton <jorton@redhat.com> 0.6.8-3
54df87f
- update to 0.6.8
54df87f
eab1518
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.6.5-1.1
eab1518
- rebuild
eab1518
58425b9
* Fri Jul  7 2006 Joe Orton <jorton@redhat.com> 0.6.5-1
58425b9
- update to 0.6.5
58425b9
22bd209
* Fri Jul  7 2006 Joe Orton <jorton@redhat.com> 0.6.4-1
22bd209
- update to 0.6.4
22bd209
339b825
* Thu Jun  1 2006 Joe Orton <jorton@redhat.com> 0.6.3-1
339b825
- update to 0.6.3
339b825
- fix some places where gettext() was not getting used
339b825
0e91845
* Thu Jun  1 2006 Joe Orton <jorton@redhat.com> 0.6.2-4
0ffb548
- remove the libidn.la (#172639)
0ffb548
7378b95
* Thu May 11 2006 Joe Orton <jorton@redhat.com> 0.6.2-3
7378b95
- make idn-int.h multilib-safe
7378b95
f7a5e28
* Wed Feb 22 2006 Joe Orton <jorton@redhat.com> 0.6.2-2
f7a5e28
- disable C# support (#182393)
f7a5e28
5d04e40
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.6.2-1.1
5d04e40
- bump again for double-long bug on ppc(64)
5d04e40
Florian La Roche de752bc
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
Florian La Roche de752bc
- 0.6.1
Florian La Roche de752bc
32beb88
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
32beb88
- rebuilt
32beb88
6313d14
* Sun Dec  4 2005 Joe Orton <jorton@redhat.com> 0.6.0-1
6313d14
- update to 0.6.0
6313d14
0ace3f7
* Mon Oct 24 2005 Joe Orton <jorton@redhat.com> 0.5.20-1
0ace3f7
- update to 0.5.20
0ace3f7
c2b2c72
* Mon Sep 19 2005 Joe Orton <jorton@redhat.com> 0.5.19-1
c2b2c72
- update to 0.5.19
c2b2c72
08d2fc8
* Fri May 27 2005 Joe Orton <jorton@redhat.com> 0.5.17-1
08d2fc8
- update to 0.5.17
08d2fc8
fc2525b
* Fri May  6 2005 Joe Orton <jorton@redhat.com> 0.5.16-1
fc2525b
- update to 0.5.16
fc2525b
e9dde0c
* Thu May  5 2005 Joe Orton <jorton@redhat.com> 0.5.15-2
e9dde0c
- constify data tables in pr29.c
e9dde0c
- clean up pre/post/postun requires
e9dde0c
f99fdea
* Sun Mar 20 2005 Joe Orton <jorton@redhat.com> 0.5.15-1
f99fdea
- update to 0.5.15
f99fdea
913be70
* Fri Mar  4 2005 Joe Orton <jorton@redhat.com> 0.5.13-2
913be70
- rebuild
913be70
3f63f51
* Mon Jan 31 2005 Joe Orton <jorton@redhat.com> 0.5.13-1
3f63f51
- update to 0.5.13
3f63f51
49e6404
* Sun Dec  5 2004 Joe Orton <jorton@redhat.com> 0.5.12-1
49e6404
- update to 0.5.12
49e6404
3f5528b
* Mon Nov 29 2004 Joe Orton <jorton@redhat.com> 0.5.11-1
3f5528b
- update to 0.5.11 (#141094)
3f5528b
eaddd5a
* Tue Nov  9 2004 Joe Orton <jorton@redhat.com> 0.5.10-1
eaddd5a
- update to 0.5.10
eaddd5a
- buildroot cleanup fix (Robert Scheck)
eaddd5a
d083e47
* Mon Nov  8 2004 Joe Orton <jorton@redhat.com> 0.5.9-1
d083e47
- update to 0.5.9 (#138296)
d083e47
cc35600
* Thu Oct  7 2004 Joe Orton <jorton@redhat.com> 0.5.6-1
cc35600
- update to 0.5.6 (#134343)
cc35600
f23d415
* Thu Sep 30 2004 Miloslav Trmac <mitr@redhat.com> - 0.5.4-3
f23d415
- Fix Group: (#134068)
f23d415
cvsdist fb95984
* Tue Aug 31 2004 Joe Orton <jorton@redhat.com> 0.5.4-2
cvsdist fb95984
- move ldconfig from preun to postun (#131280)
cvsdist fb95984
cvsdist 22ef03c
* Sun Aug  8 2004 Joe Orton <jorton@redhat.com> 0.5.4-1
cvsdist 22ef03c
- update to 0.5.4 (#129341)
cvsdist 22ef03c
cvsdist 168a45d
* Thu Jul 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.5.2-1
cvsdist 168a45d
- upgrade to 0.5.2, enabled i18n support and info files (#127906)
cvsdist 168a45d
cvsdist 212126d
* Fri Jul  9 2004 Joe Orton <jorton@redhat.com> 0.5.1-1
cvsdist 212126d
- update to 0.5.1 (#127496)
cvsdist 212126d
cvsdist b9f2cd3
* Mon Jun 28 2004 Joe Orton <jorton@redhat.com> 0.5.0-1
cvsdist b9f2cd3
- update to 0.5.0 (#126836)
cvsdist b9f2cd3
cvsdist 537492c
* Tue Jun 22 2004 Than Ngo <than@redhat.com> 0.4.9-2
cvsdist 537492c
- add prereq: /sbin/ldconfig
cvsdist 537492c
- move la file in main package
cvsdist 537492c
cvsdist c5c397e
* Tue Jun 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.4.9-1
cvsdist c5c397e
- upgrade to 0.4.9 (#126353)
cvsdist c5c397e
cvsdist 457cbd2
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 457cbd2
- rebuilt
cvsdist 457cbd2
cvsdist c5c397e
* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.4-1
cvsdist c5c397e
- update to 0.4.4; remove contrib from -devel docs
cvsdist c5c397e
cvsdist 9444714
* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.3-1
cvsdist 9444714
- update to 0.4.3, remove -rpath patch
cvsdist 9444714
cvsdist 9444714
* Tue Jan 27 2004 Joe Orton <jorton@redhat.com> 0.3.7-1
cvsdist 9444714
- update to 0.3.7, simplify
cvsdist 9444714
cvsdist 9444714
* Wed Jan 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.3.6-1mdk
cvsdist 9444714
- 0.3.6
cvsdist 9444714
cvsdist 9444714
* Mon Dec 15 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.5-1mdk
cvsdist 9444714
- 0.3.5
cvsdist 9444714
cvsdist 9444714
* Sun Oct 19 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-2mdk
cvsdist 9444714
- drop the "soname fix" and use the correct way...
cvsdist 9444714
cvsdist 9444714
* Sat Oct 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-1mdk
cvsdist 9444714
- 0.3.3
cvsdist 9444714
cvsdist 9444714
* Mon Oct 13 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.2-1mdk
cvsdist 9444714
- initial cooker contrib
cvsdist 9444714
- used the package from PLD as a start point