###############################################################################
name = libidn
-version = 1.22
+version = 1.25
release = 1
groups = System/Libraries
url = http://www.gnu.org/software/libidn/
-license = LGPLv2+ GPLv3+
+license = GPLv2+ LGPLv3+
summary = Internationalized Domain Name support library.
description
names.
end
-source_dl =
+source_dl = http://ftp.gnu.org/gnu/libidn/
build
configure_options += \
- --libdir=/lib \
--disable-csharp \
--disable-static
test
+ export LD_LIBRARY_PATH=$(pwd)/lib/.libs
make -C tests check
end
-
- install
- make install DESTDIR=%{BUILDROOT} \
- pkgconfigdir=/usr/lib/pkgconfig
-
- mkdir -pv %{BUILDROOT}/usr/lib
- rm -vf %{BUILDROOT}/lib/libidn.so
- ln -svf ../../lib/libidn.so.11.6.5 %{BUILDROOT}/usr/lib/libidn.so
- end
end
packages
package %{name}
- end
package %{name}-devel
template DEVEL