You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
184 lines
4.7 KiB
184 lines
4.7 KiB
Summary: Internationalized Domain Name support library
|
|
Name: libidn
|
|
Version: 0.6.0
|
|
Release: 1
|
|
URL: http://www.gnu.org/software/libidn
|
|
License: LGPL
|
|
Source0: http://josefsson.org/libidn/releases/libidn-%{version}.tar.gz
|
|
Group: System Environment/Libraries
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: pkgconfig, gettext
|
|
Requires(post): /sbin/install-info
|
|
Requires(postun): /sbin/ldconfig
|
|
Requires(pre): /sbin/ldconfig, /sbin/install-info
|
|
|
|
%description
|
|
GNU Libidn is an implementation of the Stringprep, Punycode and
|
|
IDNA specifications defined by the IETF Internationalized Domain
|
|
Names (IDN) working group, used for internationalized domain
|
|
names.
|
|
|
|
%package devel
|
|
Summary: Development files for the libidn library
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
|
|
%description devel
|
|
This package includes header files and libraries necessary for
|
|
developing programs which use the GNU libidn library.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
make %{?_smp_mflags} -C tests check
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
%makeinstall
|
|
|
|
# provide more examples
|
|
make %{?_smp_mflags} -C examples distclean
|
|
|
|
# clean up docs
|
|
find doc -name "Makefile*" | xargs rm
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/info/dir
|
|
|
|
%find_lang %{name}
|
|
|
|
%post
|
|
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
|
/sbin/ldconfig
|
|
|
|
%preun
|
|
if [ $1 = 0 ]; then
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
|
|
fi
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog NEWS FAQ README THANKS COPYING*
|
|
%{_bindir}/idn
|
|
%{_mandir}/man1/idn.1*
|
|
%{_datadir}/emacs/site-lisp
|
|
%{_libdir}/libidn.so.*
|
|
%{_libdir}/libidn.la
|
|
%{_infodir}/%{name}.info.gz
|
|
|
|
%files devel
|
|
%defattr(0644,root,root,755)
|
|
%doc doc/libidn.html examples contrib
|
|
%{_libdir}/libidn.so
|
|
%{_libdir}/libidn.a
|
|
%{_includedir}/*.h
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Sun Dec 4 2005 Joe Orton <jorton@redhat.com> 0.6.0-1
|
|
- update to 0.6.0
|
|
|
|
* Mon Oct 24 2005 Joe Orton <jorton@redhat.com> 0.5.20-1
|
|
- update to 0.5.20
|
|
|
|
* Mon Sep 19 2005 Joe Orton <jorton@redhat.com> 0.5.19-1
|
|
- update to 0.5.19
|
|
|
|
* Fri May 27 2005 Joe Orton <jorton@redhat.com> 0.5.17-1
|
|
- update to 0.5.17
|
|
|
|
* Fri May 6 2005 Joe Orton <jorton@redhat.com> 0.5.16-1
|
|
- update to 0.5.16
|
|
|
|
* Thu May 5 2005 Joe Orton <jorton@redhat.com> 0.5.15-2
|
|
- constify data tables in pr29.c
|
|
- clean up pre/post/postun requires
|
|
|
|
* Sun Mar 20 2005 Joe Orton <jorton@redhat.com> 0.5.15-1
|
|
- update to 0.5.15
|
|
|
|
* Fri Mar 4 2005 Joe Orton <jorton@redhat.com> 0.5.13-2
|
|
- rebuild
|
|
|
|
* Mon Jan 31 2005 Joe Orton <jorton@redhat.com> 0.5.13-1
|
|
- update to 0.5.13
|
|
|
|
* Sun Dec 5 2004 Joe Orton <jorton@redhat.com> 0.5.12-1
|
|
- update to 0.5.12
|
|
|
|
* Mon Nov 29 2004 Joe Orton <jorton@redhat.com> 0.5.11-1
|
|
- update to 0.5.11 (#141094)
|
|
|
|
* Tue Nov 9 2004 Joe Orton <jorton@redhat.com> 0.5.10-1
|
|
- update to 0.5.10
|
|
- buildroot cleanup fix (Robert Scheck)
|
|
|
|
* Mon Nov 8 2004 Joe Orton <jorton@redhat.com> 0.5.9-1
|
|
- update to 0.5.9 (#138296)
|
|
|
|
* Thu Oct 7 2004 Joe Orton <jorton@redhat.com> 0.5.6-1
|
|
- update to 0.5.6 (#134343)
|
|
|
|
* Thu Sep 30 2004 Miloslav Trmac <mitr@redhat.com> - 0.5.4-3
|
|
- Fix Group: (#134068)
|
|
|
|
* Tue Aug 31 2004 Joe Orton <jorton@redhat.com> 0.5.4-2
|
|
- move ldconfig from preun to postun (#131280)
|
|
|
|
* Sun Aug 8 2004 Joe Orton <jorton@redhat.com> 0.5.4-1
|
|
- update to 0.5.4 (#129341)
|
|
|
|
* Thu Jul 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.5.2-1
|
|
- upgrade to 0.5.2, enabled i18n support and info files (#127906)
|
|
|
|
* Fri Jul 9 2004 Joe Orton <jorton@redhat.com> 0.5.1-1
|
|
- update to 0.5.1 (#127496)
|
|
|
|
* Mon Jun 28 2004 Joe Orton <jorton@redhat.com> 0.5.0-1
|
|
- update to 0.5.0 (#126836)
|
|
|
|
* Tue Jun 22 2004 Than Ngo <than@redhat.com> 0.4.9-2
|
|
- add prereq: /sbin/ldconfig
|
|
- move la file in main package
|
|
|
|
* Tue Jun 15 2004 Robert Scheck <redhat@linuxnetz.de> 0.4.9-1
|
|
- upgrade to 0.4.9 (#126353)
|
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
- rebuilt
|
|
|
|
* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.4-1
|
|
- update to 0.4.4; remove contrib from -devel docs
|
|
|
|
* Thu Apr 29 2004 Joe Orton <jorton@redhat.com> 0.4.3-1
|
|
- update to 0.4.3, remove -rpath patch
|
|
|
|
* Tue Jan 27 2004 Joe Orton <jorton@redhat.com> 0.3.7-1
|
|
- update to 0.3.7, simplify
|
|
|
|
* Wed Jan 07 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.3.6-1mdk
|
|
- 0.3.6
|
|
|
|
* Mon Dec 15 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.5-1mdk
|
|
- 0.3.5
|
|
|
|
* Sun Oct 19 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-2mdk
|
|
- drop the "soname fix" and use the correct way...
|
|
|
|
* Sat Oct 18 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.3-1mdk
|
|
- 0.3.3
|
|
|
|
* Mon Oct 13 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.3.2-1mdk
|
|
- initial cooker contrib
|
|
- used the package from PLD as a start point
|