]> git.pld-linux.org Git - packages/ekg.git/blobdiff - ekg.spec
- added destdir patch (temporary, will disapear in next few hour)
[packages/ekg.git] / ekg.spec
index 5e7330ab02a56f424846bb72cbc68b2e7909576b..d8eac52283c17fd703da4db38918fc3d645d69a0 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -7,16 +7,18 @@ Summary(de):  Einen client kompatibel zu Gadu-Gadu
 Summary(it):   Esperimentale cliente di Gadu-Gadu
 Summary(pl):   Eksperymentalny Klient Gadu-Gadu
 Name:          ekg
-Version:       20020611
-Release:       1
+Version:       20020719
+Release:       0.1
 Epoch:         1
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://dev.null.pl/ekg/%{name}-%{version}.tar.gz
+Patch0:                ekg-DESTDIR-temporary.patch
 URL:           http://dev.null.pl/ekg/
 BuildRequires: autoconf
 BuildRequires: ncurses-devel
 BuildRequires: readline-devel
+BuildRequires: libgsm-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -90,6 +92,7 @@ Statyczna biblioteka libgadu.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__autoconf}
@@ -102,18 +105,10 @@ Statyczna biblioteka libgadu.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_includedir},%{_libdir}} \
-       $RPM_BUILD_ROOT{%{_mandir}/{,pl/}man1,%{_datadir}/ekg/themes}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install src/ekg $RPM_BUILD_ROOT%{_bindir}
 install contrib/ekl2.pl $RPM_BUILD_ROOT%{_bindir}
 install contrib/ekl2.sh $RPM_BUILD_ROOT%{_bindir}
-install lib/libgadu.h $RPM_BUILD_ROOT%{_includedir}
-install lib/libgadu.a $RPM_BUILD_ROOT%{_libdir}
-install lib/libgadu.so.* $RPM_BUILD_ROOT%{_libdir}
-
-install themes/*.theme $RPM_BUILD_ROOT%{_datadir}/ekg/themes
-
 install docs/ekg.man.pl $RPM_BUILD_ROOT%{_mandir}/pl/man1/ekg.1
 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
@@ -124,7 +119,7 @@ install docs/ekg.man.en $RPM_BUILD_ROOT%{_mandir}/man1/ekg.1
 rm examples/Makefile examples/Makefile.in
 
 %if %{?_with_ioctl_daemon:1}%{?!_with_ioctl_daemon:0}
-install src/ioctl_daemon $RPM_BUILD_ROOT%{_bindir}
+install src/ioctld $RPM_BUILD_ROOT%{_bindir}
 %endif
 
 %clean
@@ -136,9 +131,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/e*
-%doc docs/{7thguard,dcc,on,themes,vars,emoticons}.txt
+%doc docs/{7thguard,dcc,emoticons,on,themes,ui,vars,voip}.txt
 %doc ChangeLog docs/{FAQ,README,TODO,ULOTKA} docs/emoticons.sample
-%{?_with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctl_daemon}
+%{?_with_ioctl_daemon:%attr(4755,root,root) %{_bindir}/ioctld}
 %{_datadir}/ekg
 %{_mandir}/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
@@ -149,7 +144,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -n libgadu-devel
 %defattr(644,root,root,755)
-%doc docs/{7thguard,api,devel-hints,dcc-protocol}.txt docs/protocol.html
+%doc docs/{7thguard,api,dcc-protocol,devel-hints,http}.txt docs/protocol.html
 %doc ChangeLog docs/{README,TODO} examples
 %{_includedir}/libgadu.h
 
This page took 0.062888 seconds and 4 git commands to generate.