X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ekg2.spec;h=6960cfe2f9e3c6e3adefb49670572c4858ced3f9;hb=c55f518a69b0b3340c998e6a91044abffb66c3fb;hp=563aa266118013e0806008df9995d801b6f65fa5;hpb=3fccdd848eb7e8638bcbdde93895b7999ffda8be;p=packages%2Fekg2.git diff --git a/ekg2.spec b/ekg2.spec index 563aa26..6960cfe 100644 --- a/ekg2.spec +++ b/ekg2.spec @@ -1,7 +1,10 @@ +# TODO: +# - warning: Installed (but unpackaged) file(s) found: +# /usr/lib/perl5/5.10.0/i686-pld-linux-thread-multi/perllocal.pod +# /usr/lib/perl5/vendor_perl/5.10.0/i686-pld-linux-thread-multi/auto/Ekg2/.packlist +# /usr/lib/perl5/vendor_perl/5.10.0/i686-pld-linux-thread-multi/auto/Ekg2/Irc/.packlist # # Conditional build: -%bcond_with yesterday_snapshot # Build most current ekg2 snapshot - # (must use ./builder -n5 or plain rpmbuild) %bcond_without aspell # build without spell-checking support with aspell %bcond_without feed # don't build feed plugin %bcond_without gadugadu # don't build gg plugin @@ -17,15 +20,7 @@ %bcond_without sqlite3 # don't build logsqlite plugin based on sqlite3 %bcond_without xosd # don't build xosd plugin -%if %{without yesterday_snapshot} -%define _snap 0.1.1 -%define _ver 0.1.1 -%define _tarballformat gz -%else -%define _snap %(date +%%Y%%m%%d -d yesterday) -%define _ver 0.0.%{_snap} -%define _tarballformat bz2 -%endif +%define _snap 20100126 %if %{without jabber} %undefine with_gnutls @@ -38,16 +33,15 @@ Summary: Multi-protocol instant messaging and chat client Summary(pl.UTF-8): Wieloprotokołowy komunikator internetowy Name: ekg2 -Version: %{_ver} -Release: 6 +Version: 0.3 +Release: 0.%{_snap}.1 Epoch: 2 License: GPL v2+ Group: Applications/Communications -Source0: http://pl.ekg2.org/%{name}-%{_snap}.tar.%{_tarballformat} -# Source0-md5: 8c64ab909687b9ac3798caa7736d7b2a +Source0: http://pl.ekg2.org/%{name}-%{_snap}.tar.bz2 +# Source0-md5: 9ac4d78be72744f617d19e83a0c7761a Patch0: %{name}-perl-install.patch -#Patch1: %{name}-no_scripts.patch -Patch2: %{name}-missing-xwcslen.patch +Patch1: %{name}-gtk.patch URL: http://ekg2.org/ %{?with_aspell:BuildRequires: aspell-devel} BuildRequires: autoconf @@ -55,12 +49,12 @@ BuildRequires: automake %if %{with feed} || %{with jabber} BuildRequires: expat-devel %endif -BuildRequires: gettext-devel +BuildRequires: gettext-devel >= 0.17-8 %{?with_gadugadu:BuildRequires: giflib-devel} %{?with_gnutls:BuildRequires: gnutls-devel >= 1.2.5} %{?with_gpg:BuildRequires: gpgme-devel} BuildRequires: gpm-devel -%{?with_gtk:BuildRequires: gtk+2-devel} +%{?with_gtk:BuildRequires: gtk+2-devel >= 2:2.14.1} %{?with_gadugadu:BuildRequires: libgadu-devel} %{?with_libgsm:BuildRequires: libgsm-devel} %{?with_gadugadu:BuildRequires: libjpeg-devel} @@ -128,7 +122,7 @@ Summary: gtk plugin for ekg2 Summary(pl.UTF-8): Wtyczka gtk dla ekg2 Group: Applications/Communications Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: gtk+2 +Requires: gtk+2 >= 2:2.14.1 %description plugin-gtk gtk plugin for ekg2. @@ -201,6 +195,18 @@ GSM VoIP protocol plugin for ekg2. %description plugin-protocol-gsm -l pl.UTF-8 Wtyczka protokołu GSM VoIP dla ekg2. +%package plugin-protocol-icq +Summary: ICQ protocol plugin for ekg2 +Summary(pl.UTF-8): Wtyczka protokołu ICQ dla ekg2 +Group: Applications/Communications +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description plugin-protocol-icq +ICQ protocol plugin for ekg2. + +%description plugin-protocol-icq -l pl.UTF-8 +Wtyczka protokołu ICQ dla ekg2. + %package plugin-protocol-irc Summary: IRC protocol plugin for ekg2 Summary(pl.UTF-8): Wtyczka protokołu IRC dla ekg2 @@ -214,16 +220,16 @@ IRC protocol plugin for ekg2. Wtyczka protokołu IRC dla ekg2. %package plugin-protocol-jabber -Summary: Jabber protocol plugin for ekg2 -Summary(pl.UTF-8): Wtyczka protokołu Jabber dla ekg2 +Summary: Jabber and Tlen protocols plugin for ekg2 +Summary(pl.UTF-8): Wtyczka protokołów Jabber i Tlen dla ekg2 Group: Applications/Communications Requires: %{name} = %{epoch}:%{version}-%{release} %description plugin-protocol-jabber -Jabber protocol plugin for ekg2. +Jabber and Tlen protocols plugin for ekg2. %description plugin-protocol-jabber -l pl.UTF-8 -Wtyczka protokołu Jabber dla ekg2. +Wtyczka protokołów Jabber i Tlen dla ekg2. %package plugin-protocol-polchat Summary: Polchat protocol plugin for ekg2 @@ -237,6 +243,18 @@ Polchat protocol plugin for ekg2. %description plugin-protocol-polchat -l pl.UTF-8 Wtyczka protokołu polchat dla ekg2. +%package plugin-protocol-rivchat +Summary: Rivchat protocol plugin for ekg2 +Summary(pl.UTF-8): Wtyczka protokołu rivchat dla ekg2 +Group: Applications/Communications +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description plugin-protocol-rivchat +Rivchat protocol plugin for ekg2. + +%description plugin-protocol-rivchat -l pl.UTF-8 +Wtyczka protokołu rivchat dla ekg2. + %package plugin-readline Summary: readline interface Summary(pl.UTF-8): Interfejs readline @@ -249,6 +267,18 @@ readline interface. %description plugin-readline -l pl.UTF-8 Interfejs readline. +%package plugin-remote +Summary: Remote contol interface +Summary(pl.UTF-8): Zdalne sterowanie ekg2 +Group: Applications/Communications +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description plugin-remote +Remote control interface. + +%description plugin-remote -l pl.UTF-8 +Zdalne sterowanie ekg2. + %package plugin-scripting-perl Summary: Perl scripting plugin for ekg2 Summary(pl.UTF-8): Wtyczka języka Perl dla ekg2 @@ -300,23 +330,18 @@ Wtyczka xosd dla ekg2. %prep %setup -q -n %{name}-%{_snap} %patch0 -p1 -#%patch1 -p1 -%patch2 -p1 -sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac +%patch1 -p1 + sed -i -e '\#/opt/sqlite/lib#s#"$# /usr/lib64"#' m4/sqlite.m4 %build -%{__libtoolize} --ltdl -cd libltdl -%{__aclocal} -%{__autoconf} -%{__autoheader} -%{__automake} -cd .. +%{__gettextize} +%{__libtoolize} %{__aclocal} -I m4 -%{__autoconf} %{__autoheader} %{__automake} +%{__autoconf} + # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) CFLAGS="%{rpmcflags} -D_GNU_SOURCE" %configure \ @@ -387,18 +412,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_datadir}/%{name}/scripts %{_datadir}/%{name}/themes -%if %{without yesterday_snapshot} -%files devel -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/ekg2-config -%{_includedir}/ekg2 -%endif - -%if %{with yesterday_snapshot} %files plugin-feed %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/feed.so -%endif %if %{with gpg} %files plugin-gpg @@ -418,11 +434,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/plugins/ioctld %attr(4755,root,root) %{_libexecdir}/ioctld -%if %{with yesterday_snapshot} %files plugin-jogger %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/jogger.so -%endif %if %{with sqlite} || %{with sqlite3} %files plugin-logsqlite @@ -442,6 +456,10 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_libdir}/%{name}/plugins/gsm.so %endif +%files plugin-protocol-icq +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/%{name}/plugins/icq.so + %files plugin-protocol-irc %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/irc.so @@ -454,11 +472,13 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/plugins/jabber %endif -%if %{with yesterday_snapshot} %files plugin-protocol-polchat %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/%{name}/plugins/polchat.so -%endif + +%files plugin-protocol-rivchat +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/%{name}/plugins/rivchat.so %if %{with readline} %files plugin-readline @@ -467,6 +487,12 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name}/plugins/readline %endif +%if %{with readline} +%files plugin-remote +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/%{name}/plugins/remote.so +%endif + %if %{with perl} %files plugin-scripting-perl %defattr(644,root,root,755)