name = readline
version = 6.2
-release = 3
+release = 6
groups = System/Libraries
url = ftp://ftp.gnu.org/gnu/readline/
ncurses-devel
end
- configure_options += \
- --libdir=/lib \
-
make_build_targets += \
SHLIB_LIBS=-lncurses
# Remove a bunch of *.c files
rm -rfv %{BUILDROOT}/usr/share/readline
- mkdir -pv %{BUILDROOT}/usr/lib
- rm -fv %{BUILDROOT}/lib/lib{readline,history}.so
- ln -sfv ../../lib/libreadline.so.6 %{BUILDROOT}/usr/lib/libreadline.so
- ln -sfv ../../lib/libhistory.so.6 %{BUILDROOT}/usr/lib/libhistory.so
-
mkdir -pv %{BUILDROOT}/etc/profile.d
cp -vf %{DIR_SOURCE}/readline.sh %{BUILDROOT}/etc/profile.d/
-
- cp -vf %{DIR_SOURCE}/inputrc %{BUILDROOT}/etc/
end
end
packages
package %{name}
- end
-
+
package %{name}-devel
template DEVEL
end
+
+ package %{name}-debuginfo
+ template DEBUGINFO
+ end
end