- convert changes.txt to UTF-8, comment patches (#226420)

This commit is contained in:
Miroslav Lichvar 2008-12-12 14:20:18 +00:00
parent 2bc609fc1c
commit 8a9ac739d5

View File

@ -1,11 +1,13 @@
Summary: The shared library for the S-Lang extension language
Name: slang
Version: 2.1.4
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+
Group: System Environment/Libraries
Source: ftp://space.mit.edu/pub/davis/slang/v2.1/%{name}-%{version}.tar.bz2
# fix file permissions, library symlink, parallel build, remove RPATH
Patch1: slang-2.1.4-makefile.patch
# don't use internal glibc symbol
Patch2: slang-nointerlibc2.patch
URL: http://www.jedsoft.org/slang/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -59,6 +61,10 @@ language.
%patch1 -p1 -b .makefile
%patch2 -p1 -b .nointerlibc2
head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \
iconv -f iso8859-1 -t utf8 >> changes.txt_ && \
touch -r changes.txt{,_} && mv changes.txt{_,}
%build
%configure \
--includedir=%{_includedir}/slang \
@ -106,6 +112,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libslang*.a
%changelog
* Fri Dec 12 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.1.4-2
- convert changes.txt to UTF-8, comment patches (#226420)
* Mon Sep 08 2008 Miroslav Lichvar <mlichvar@redhat.com> - 2.1.4-1
- update to 2.1.4