]> git.pld-linux.org Git - packages/ekg.git/blobdiff - ekg.spec
- little cleanup
[packages/ekg.git] / ekg.spec
index f19b9476f882c4c6f973eaa79bcbd55ca25a3a1e..8a43c8ac0b43f7b50f02dd30d3574783522c9836 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -1,10 +1,11 @@
 #
 # Conditional build:
+%bcond_without aspell          # without spell checking
 %bcond_without voip            # without VoIP support
 %bcond_with    python          # with python support
 %bcond_with    ioctl_daemon    # with ioctl_daemon (suid root)
 #
-%define snap    20040524
+%define snap    20040628
 
 Summary:       A client compatible with Gadu-Gadu
 Summary(de):   Ein Cliente kompatibel mit Gadu-Gadu
@@ -13,15 +14,18 @@ Summary(it):        Un cliente compatibile con Gadu-Gadu
 Summary(pl):   Klient kompatybilny z Gadu-Gadu
 Name:          ekg
 Version:       1.5
-Release:       0.%{snap}.2
+#Release:      0.%{snap}.3
+Release:       4
 Epoch:         4
 License:       GPL v2
 Group:         Applications/Communications
-Source0:       http://dev.null.pl/ekg/%{name}-%{snap}.tar.gz
-# Source0-md5: 5ce1e29047e4b7a1df7fef3a1abb1fd3
+#Source0:      http://dev.null.pl/ekg/%{name}-%{snap}.tar.gz
+Source0:       http://dev.null.pl/ekg/%{name}-%{version}.tar.gz
+# Source0-md5: 721ebfe7b13e9531b30d558465e6695f
 Source1:       %{name}.conf
 Patch0:                %{name}-kadu-0_3_6.patch
 URL:           http://dev.null.pl/ekg/
+%{?with_aspell:BuildRequires:  aspell-devel}
 BuildRequires: autoconf
 BuildRequires: automake
 %{?with_voip:BuildRequires:    libgsm-devel}
@@ -123,7 +127,8 @@ Biblioteca libgadu est
 Statyczna biblioteka libgadu.
 
 %prep
-%setup -q -n %{name}-%{snap}
+#%setup -q -n %{name}-%{snap}
+%setup -q -n %{name}-%{version}
 #%patch0 -p1
 
 %build
@@ -140,10 +145,11 @@ rm -f missing
        --without-bind \
        %{?with_python:--with-python} \
        %{!?with_voip:--without-libgsm} \
+       %{?with_aspell:--enable-aspell} \
        %{!?with_ioctl_daemon:--disable-ioctld}
 
 %{__make} \
-       CC="%{__cc} %{rpmcflags} -Wall -I/usr/include/ncurses"
+       CC="%{__cc} %{rpmcflags} -Wall -I%{_includedir}/ncurses"
 
 %if %{with ioctl_daemon}
 %{__make} -C src ioctld
@@ -182,6 +188,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc docs/{7thguard,dcc,files,gdb,python,sim,themes,ui-ncurses,vars,voip}.txt
+%{?with_aspell:%doc docs/slownik.txt}
 %doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.{ansi,sample}
 %attr(755,root,root) %{_bindir}/e*
 %{?with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctld}
This page took 0.048514 seconds and 4 git commands to generate.