]> git.pld-linux.org Git - packages/ekg.git/blobdiff - ekg.spec
- up to 2003.05.29 ("... psujacy zabawe blad off-by-one w ioctld.")
[packages/ekg.git] / ekg.spec
index a1bc9d5d06231c092ca8131d00692e0c6c332fed..1fd3e4fc3eb848c0465390fff86e5c8a70afca52 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -2,27 +2,31 @@
 # Conditional build:
 # _with_ioctl_daemon    - with ioctl_daemon (suid-root!)
 # _with_python          - with python support
-# _without_voip                - without voip support
+# _with_voip           - with voip support (libgsm)
 #
+
+%define                snapshot 20030529
+
 Summary:       A client compatible with Gadu-Gadu
 Summary(de):   Einen client kompatibel zu Gadu-Gadu
 Summary(it):   Esperimentale cliente di Gadu-Gadu
 Summary(pl):   Eksperymentalny Klient Gadu-Gadu
 Name:          ekg
 Version:       1.0
-Release:       2rc3
-Epoch:         2
+Release:       3.%{snapshot}.1
+Epoch:         3
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://dev.null.pl/ekg/%{name}-%{version}rc3.tar.gz
+# Source0-md5: 4049340e57d0fc99e23662c6ce87c56f
+Source0:       http://dev.null.pl/ekg/%{name}-%{snapshot}.tar.gz
 Source1:       %{name}.conf
 URL:           http://dev.null.pl/ekg/
 BuildRequires: autoconf
 BuildRequires: automake
-%{?!_without_voip:BuildRequires: libgsm-devel}
+%{?_with_voip:BuildRequires: libgsm-devel}
 BuildRequires: ncurses-devel
 BuildRequires: openssl-devel >= 0.9.7
-BuildRequires: perl
+BuildRequires: %{_bindir}/perl
 %{?_with_python:BuildRequires: python-devel}
 BuildRequires: readline-devel
 BuildRequires: zlib-devel
@@ -98,9 +102,10 @@ Statisches libgadu Archiv.
 Statyczna biblioteka libgadu.
 
 %prep
-%setup -q -n %{name}-%{version}rc3
+%setup -q -n %{name}-%{snapshot}
 
 %build
+rm -f missing
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
@@ -109,7 +114,7 @@ Statyczna biblioteka libgadu.
        --enable-static \
        --with-pthread \
        %{?_with_python:--with-python} \
-       %{?_without_voip:--without-libgsm} \
+       %{?_with_voip:--with-libgsm} \
        %{?!_with_ioctl_daemon:--disable-ioctld}
 %{__make}
 
@@ -127,13 +132,8 @@ cd ..
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_sysconfdir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install install-ekl2 DESTDIR=$RPM_BUILD_ROOT
 
-# From 20020310 can be replaced by ,,make install-ekl2''
-install contrib/ekl2.pl $RPM_BUILD_ROOT%{_bindir}
-install contrib/ekl2.sh $RPM_BUILD_ROOT%{_bindir}
-install docs/ekl2.man.pl $RPM_BUILD_ROOT%{_mandir}/pl/man1/ekl2.1
-install docs/ekl2.man.en $RPM_BUILD_ROOT%{_mandir}/man1/ekl2.1
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/
 
 # For libgadu-devel
@@ -155,11 +155,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/e*
-%attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*.conf
 %doc docs/{7thguard,dcc,files,gdb,python,sim,themes,ui-ncurses,vars,voip}.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}
+%attr(644,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*.conf
 %{_datadir}/ekg
 %{_mandir}/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.093765 seconds and 4 git commands to generate.