auto-import changelog data from slang-1.4.5-16.src.rpm

Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
Fri Feb 21 2003 Jakub Jelinek <jakub@redhat.com> 1.4.5-15
- for ACS characters, take them as is, not through wcrtomb and assume
    wcwidth returns 1 for them
Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Sat Jan 04 2003 Jeff Johnson <jbj@redhat.com> 1.4.5-13
- set execute bits on library so that requires are genereted.
Wed Nov 27 2002 Tim Powers <timp@redhat.com> 1.4.5-12
- remove unpackaged files from the buildroot
- lib64'ize
This commit is contained in:
cvsdist 2004-09-09 12:28:39 +00:00
parent e8c46e401e
commit b1f461894c

View File

@ -1,7 +1,7 @@
Summary: The shared library for the S-Lang extension language.
Name: slang
Version: 1.4.5
Release: 11
Release: 16
Copyright: GPL
Group: System Environment/Libraries
Source: ftp://space.mit.edu/pub/davis/slang/v1.4/slang-%{version}.tar.bz2
@ -9,6 +9,7 @@ Source2: README.UTF-8
Patch: slang-debian-utf8.patch
Patch2: slang-utf8-acs.patch
Patch3: slang-1.4.5-utf8-segv.patch
Patch4: slang-utf8-fix.patch
Url: http://www.s-lang.org/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
@ -39,28 +40,34 @@ based on the S-Lang extension language.
%patch -p1 -b .utf8
%patch2 -p1 -b .acs
%patch3 -p1 -b .segv
%patch4 -p1 -b .utf8-fix
cp %{SOURCE2} .
%build
perl -p -i -e 's/(ELF_CFLAGS=\"[^\"]*)-O2([^\"]*\".*)/$1'"$RPM_OPT_FLAGS"' $2/gs' configure
cp /usr/share/libtool/config.{sub,guess} autoconf
%configure --includedir=/usr/include/slang
%configure --includedir=%{_includedir}/slang
make elf all
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/include/slang
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}/slang
%makeinstall \
install_lib_dir=$RPM_BUILD_ROOT/usr/lib \
install_include_dir=$RPM_BUILD_ROOT/usr/include/slang install-elf
ln -sf libslang-utf8.so.1.4.5 $RPM_BUILD_ROOT/usr/lib/libslang-utf8.so.1
ln -sf libslang-utf8.so $RPM_BUILD_ROOT/usr/lib/libslang.so
ln -sf libslang-utf8.a $RPM_BUILD_ROOT/usr/lib/libslang.a
install_lib_dir=${RPM_BUILD_ROOT}%{_libdir} \
install_include_dir=${RPM_BUILD_ROOT}%{_includedir}/slang install-elf
ln -sf libslang-utf8.so.1.4.5 ${RPM_BUILD_ROOT}%{_libdir}/libslang-utf8.so.1
ln -sf libslang-utf8.so ${RPM_BUILD_ROOT}%{_libdir}/libslang.so
ln -sf libslang-utf8.a ${RPM_BUILD_ROOT}%{_libdir}/libslang.a
chmod +x ${RPM_BUILD_ROOT}%{_libdir}/libslang*.so.*
# remove unpackaged files from the buildroot
rm -rf ${RPM_BUILD_ROOT}%{_prefix}/doc
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf ${RPM_BUILD_ROOT}
%post -p /sbin/ldconfig
@ -68,16 +75,33 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/lib/libslang*.so.*
%{_libdir}/libslang*.so.*
%files devel
%defattr(-,root,root)
%doc doc README.UTF-8
/usr/lib/libslang*.a
/usr/lib/libslang*.so
/usr/include/slang
%{_libdir}/libslang*.a
%{_libdir}/libslang*.so
%{_includedir}/slang
%changelog
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 21 2003 Jakub Jelinek <jakub@redhat.com> 1.4.5-15
- for ACS characters, take them as is, not through wcrtomb
and assume wcwidth returns 1 for them
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Sat Jan 4 2003 Jeff Johnson <jbj@redhat.com> 1.4.5-13
- set execute bits on library so that requires are genereted.
* Wed Nov 27 2002 Tim Powers <timp@redhat.com> 1.4.5-12
- remove unpackaged files from the buildroot
- lib64'ize
* Wed Jul 24 2002 Bill Nottingham <notting@redhat.com> 1.4.5-11
- fix write-before-beginning-of-string in SLsmg_write_nwchars