X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=ekg2.spec;h=6a71a37d59b00f01c49860f3fe83e9102b251a11;hb=911936b12d0c4cc077efce637c18acc5ed65f188;hp=d47697cb33c6cca86a197dc661c2c1471a11e196;hpb=add98670155970a5ac253dcbd46b1716436ecb8a;p=packages%2Fekg2.git diff --git a/ekg2.spec b/ekg2.spec index d47697c..6a71a37 100644 --- a/ekg2.spec +++ b/ekg2.spec @@ -1,7 +1,12 @@ +# TODO: +# - autotools (call it directly, or fix autogen.sh) +# - 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 +# - Is missing-xwcslen.patch needed? # # 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,13 +22,9 @@ %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 -%else -%define _snap %(date +%%Y%%m%%d -d yesterday) -%define _ver 0.0.%{_snap} -%endif +# Please, test all modules before updating. If you want just try new version, +# use DEVEL branch. +%define _snap 20090622 %if %{without jabber} %undefine with_gnutls @@ -36,15 +37,17 @@ Summary: Multi-protocol instant messaging and chat client Summary(pl.UTF-8): Wieloprotokołowy komunikator internetowy Name: ekg2 -Version: %{_ver} -Release: 3.2 +Version: 0.1.3 +Release: 0.%{_snap}.1 Epoch: 2 License: GPL v2+ Group: Applications/Communications -Source0: http://pl.ekg2.org/%{name}-%{_snap}.tar.gz -# Source0-md5: 8c64ab909687b9ac3798caa7736d7b2a +Source0: http://pl.ekg2.org/%{name}-%{_snap}.tar.bz2 +# Source0-md5: 3ac6f70fdf92daf05d6975763eda460f Patch0: %{name}-perl-install.patch -#Patch1: %{name}-no_scripts.patch +# Is it really needed? +# Patch1: %{name}-missing-xwcslen.patch +Patch2: %{name}-gtk.patch URL: http://ekg2.org/ %{?with_aspell:BuildRequires: aspell-devel} BuildRequires: autoconf @@ -57,7 +60,7 @@ BuildRequires: gettext-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} @@ -125,7 +128,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. @@ -198,6 +201,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 @@ -234,6 +249,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 @@ -246,6 +273,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 @@ -297,22 +336,14 @@ Wtyczka xosd dla ekg2. %prep %setup -q -n %{name}-%{_snap} %patch0 -p1 -#%patch1 -p1 +#%%patch1 -p1 +%patch2 -p1 + sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac sed -i -e '\#/opt/sqlite/lib#s#"$# /usr/lib64"#' m4/sqlite.m4 %build -%{__libtoolize} --ltdl -cd libltdl -%{__aclocal} -%{__autoconf} -%{__autoheader} -%{__automake} -cd .. -%{__aclocal} -I m4 -%{__autoconf} -%{__autoheader} -%{__automake} +NOCONFIGURE=1 ./autogen.sh || true # for hostent.h_addr (should be in CPPFLAGS, but it's overridden in plugins/jabber) CFLAGS="%{rpmcflags} -D_GNU_SOURCE" %configure \ @@ -383,18 +414,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 @@ -414,11 +436,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 @@ -438,6 +458,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 @@ -450,11 +474,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 @@ -463,6 +489,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)