rpms/ekg/F-7 ekg-unicode,NONE,1.1 ekg.spec,1.4,1.5
Dominik Mierzejewski (rathann)
fedora-extras-commits at redhat.com
Tue Jan 1 17:41:46 UTC 2008
Author: rathann
Update of /cvs/pkgs/rpms/ekg/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17968
Modified Files:
ekg.spec
Added Files:
ekg-unicode
Log Message:
- use luit wrapper to work around lack of unicode support (bug #210745)
- fix line endings and docs encoding in prep instead of install section
- update license tag
--- NEW FILE ekg-unicode ---
#!/bin/sh
exec luit -encoding 'ISO 8859-2' ekg.wrapped "$@"
Index: ekg.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ekg/F-7/ekg.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ekg.spec 29 Jun 2007 23:32:39 -0000 1.4
+++ ekg.spec 1 Jan 2008 17:41:12 -0000 1.5
@@ -1,15 +1,16 @@
Name: ekg
Version: 1.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A client compatible with Gadu-Gadu
Summary(de): Ein Cliente kompatibel mit Gadu-Gadu
Summary(es): Un cliente compatible con Gadu-Gadu
Summary(it): Un cliente compatibile con Gadu-Gadu
Summary(pl): Klient kompatybilny z Gadu-Gadu
-License: GPL
+License: GPLv2
Group: Applications/Internet
Source0: http://ekg.chmurka.net/%{name}-%{version}.tar.gz
Source1: %{name}.conf
+Source2: ekg-unicode
Patch0: %{name}-rpm.patch
Patch1: %{name}-external-libgadu.patch
URL: http://ekg.chmurka.net/
@@ -24,6 +25,7 @@
BuildRequires: perl
BuildRequires: python-devel
BuildRequires: zlib-devel
+Requires: %{_bindir}/luit
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -75,6 +77,18 @@
%setup -q
%patch0 -p1 -b .r
%patch1 -p1 -b .libgadu
+# fix line endings and encoding
+tr -d '\r' < contrib/ekl2.pl > contrib/ekl2.pl.unix ; mv contrib/ekl2.pl.unix contrib/ekl2.pl
+for file in \
+ contrib/ekl2* \
+ docs/api/functions.txt \
+ docs/*.txt \
+ docs/FAQ docs/IDEAS-2.0 docs/README docs/TODO docs/ULOTKA \
+ docs/*.man.pl \
+ ChangeLog* \
+; do
+ iconv -f iso8859-2 -t utf8 -o $file.utf $file && mv $file.utf $file
+done
%build
rm -f missing
@@ -99,30 +113,19 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}
-# fix line endings and encoding befor make install
-tr -d '\r' < contrib/ekl2.pl > contrib/ekl2.pl.unix ; mv contrib/ekl2.pl.unix contrib/ekl2.pl
-
-for file in \
- contrib/ekl2* \
- docs/api/functions.txt \
- docs/*.txt \
- docs/FAQ docs/IDEAS-2.0 docs/README docs/TODO docs/ULOTKA \
- docs/*.man.pl \
- ChangeLog* \
-; do
-iconv -f iso8859-2 -t utf8 -o $file.utf $file ; mv $file.utf $file
-done
-
%{__make} install install-ekl2 \
DESTDIR=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
+install -pm644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
# For libgadu-devel
rm -f examples/Makefile examples/Makefile.in examples/.cvsignore
rm -rf examples/CVS
+mv $RPM_BUILD_ROOT%{_bindir}/ekg $RPM_BUILD_ROOT%{_bindir}/ekg.wrapped
+install -pm755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/ekg
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -140,6 +143,11 @@
%lang(pl) %{_mandir}/pl/man1/*
%changelog
+* Tue Jan 01 2008 Dominik Mierzejewski <rpm at greysector.net> 1.7-2
+- use luit wrapper to work around lack of unicode support (bug #210745)
+- fix line endings and docs encoding in prep instead of install section
+- update license tag
+
* Fri Jun 29 2007 Dominik Mierzejewski <rpm at greysector.net> 1.7-1
- 1.7 final
- enable voip support (gsm is in Fedora now)
More information about the fedora-extras-commits
mailing list