Accepting request 98213 from home:elvigia:branches:devel:libraries:c_c++

- Update to version 1.23 
- Run spec cleaner

OBS-URL: https://build.opensuse.org/request/show/98213
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libidn?expand=0&rev=13
This commit is contained in:
Cristian Rodríguez 2011-12-26 05:50:33 +00:00 committed by Git OBS Bridge
parent d1ebd7b89f
commit 774bfe25ea
4 changed files with 36 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18573a32fe0ade5f955e21fe982954a494d1845993e0290e0a406e949039c613
size 2858936

3
libidn-1.23.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25b42d75851ebae52e1c969353b74eefd3d6817f41c8d2a6db258f5ec60c5e6a
size 3477618

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 26 05:47:14 UTC 2011 - crrodriguez@opensuse.org
- Update to version 1.23
- Run spec cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 1 01:39:54 UTC 2011 - crrodriguez@opensuse.org Sat Oct 1 01:39:54 UTC 2011 - crrodriguez@opensuse.org

View File

@ -15,14 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: libidn Name: libidn
License: GPLv3 ; LGPLv2.1+ Version: 1.23
Group: System/Libraries
Version: 1.22
Release: 4 Release: 4
License: GPL-3.0 ; LGPL-2.1+
Group: System/Libraries
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libidn-64bit Obsoletes: libidn-64bit
@ -30,11 +29,11 @@ Obsoletes: libidn-64bit
# #
Summary: Support for Internationalized Domain Names (IDN) Summary: Support for Internationalized Domain Names (IDN)
Url: http://www.gnu.org/software/libidn/ Url: http://www.gnu.org/software/libidn/
Source0: http://josefsson.org/libidn/releases/libidn-%version.tar.bz2 Source0: http://josefsson.org/libidn/releases/libidn-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
PreReq: %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig BuildRequires: pkgconfig
Requires(pre): %install_info_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA GNU Libidn is an implementation of the Stringprep, Punycode, and IDNA
@ -49,17 +48,12 @@ character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
IDNA is supported. IDNA is supported.
Authors:
--------
Simon Josefsson <simon@josefsson.org>
%package devel %package devel
License: LGPLv2.1+ License: LGPL-2.1+
Requires: %{name} = %{version} glibc-devel
Summary: Include Files and Libraries mandatory for Development Summary: Include Files and Libraries mandatory for Development
Group: System/Libraries Group: System/Libraries
Requires: %{name} = %{version}
Requires: glibc-devel
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: libidn-devel-64bit Obsoletes: libidn-devel-64bit
@ -79,24 +73,18 @@ character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL, and
XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via
IDNA is supported. IDNA is supported.
Authors:
--------
Simon Josefsson <simon@josefsson.org>
%prep %prep
%setup -q %setup -q
%build %build
%configure --with-pic --disable-static --disable-gtk-doc %configure --with-pic --disable-static --disable-gtk-doc
%{__make} %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %make_install
rm -f $RPM_BUILD_ROOT/%_infodir/dir rm -f %{buildroot}/%{_infodir}/dir
rm -f %{buildroot}%{_libdir}/libidn.la rm -f %{buildroot}%{_libdir}/libidn.la
%find_lang %name %find_lang %{name}
%check %check
%if ! 0%{?qemu_user_space_build} %if ! 0%{?qemu_user_space_build}
@ -104,7 +92,7 @@ make check
%endif %endif
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post %post
/sbin/ldconfig /sbin/ldconfig
@ -114,23 +102,23 @@ rm -rf $RPM_BUILD_ROOT
/sbin/ldconfig /sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libidn.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libidn.info.gz
%files -f %name.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%dir %_prefix/share/emacs %dir %{_datadir}/emacs
%dir %_prefix/share/emacs/site-lisp %dir %{_datadir}/emacs/site-lisp
%doc AUTHORS COPYING.LIB ChangeLog FAQ NEWS README THANKS TODO %doc AUTHORS COPYING.LIB ChangeLog FAQ NEWS README THANKS TODO
%_libdir/libidn.so.* %{_libdir}/libidn.so.*
%_infodir/libidn* %{_infodir}/libidn*
%_prefix/bin/idn %{_bindir}/idn
%_mandir/man1/idn.1.* %{_mandir}/man1/idn.1.*
%_prefix/share/emacs/site-lisp/idna.el %{_datadir}/emacs/site-lisp/idna.el
%_prefix/share/emacs/site-lisp/punycode.el %{_datadir}/emacs/site-lisp/punycode.el
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%_libdir/libidn.so %{_libdir}/libidn.so
/usr/include/*.h %{_includedir}/*.h
%_libdir/pkgconfig/libidn.pc %{_libdir}/pkgconfig/libidn.pc
%_mandir/man3/* %{_mandir}/man3/*
%changelog %changelog