]> 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 8de90494ff7513dd119b92e3b60de6263fc95d21..d8eac52283c17fd703da4db38918fc3d645d69a0 100644 (file)
--- a/ekg.spec
+++ b/ekg.spec
@@ -2,21 +2,23 @@
 # Conditional build:
 # _with_ioctl_daemon - with ioctl_daemon (suid-root!)
 #
-%define                snapshot        20020529
 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:       0.9.0.%{snapshot}
-Release:       2
+Version:       20020719
+Release:       0.1
+Epoch:         1
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://dev.null.pl/ekg/%{name}-%{snapshot}.tar.gz
+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
@@ -63,9 +65,9 @@ The libgadu-devel package contains the header files and some
 documentation needed to develop application with libgadu.
 
 %description -n libgadu-devel -l de
-Das libgadu-devel Paket enthält Header-Files (Kopfzeilenordner)
-und die Dokumentation die Sie benötigen um mit libgadu
-Anwendungen zu entwickeln.
+Das libgadu-devel Paket enthält Header-Files (Kopfzeilenordner) und
+die Dokumentation die Sie benötigen um mit libgadu Anwendungen zu
+entwickeln.
 
 %description -n libgadu-devel -l pl
 Pakiet libgadu-devel zawiera pliki nag³ówkowe i dokumentacjê,
@@ -89,32 +91,27 @@ Statisches libgadu Archiv.
 Statyczna biblioteka libgadu.
 
 %prep
-%setup -q -n %{name}-%{snapshot}
+%setup -q
+%patch0 -p1
 
 %build
 %{__autoconf}
 %configure \
        --with-shared \
        %{?!debug:--without-debug} \
-       %{?!_with_ioctl_daemon:--without-ioctl}
+       %{?!_with_ioctl_daemon:--without-ioctld}
 
 %{__make}
 
 %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
 install docs/ekg.man.en $RPM_BUILD_ROOT%{_mandir}/man1/ekg.1
 
 # For libgadu-devel
@@ -122,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
@@ -134,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/*
@@ -147,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.049941 seconds and 4 git commands to generate.