]> git.pld-linux.org Git - packages/jggtrans.git/blobdiff - jggtrans.spec
- rebuild with libidn 1.35
[packages/jggtrans.git] / jggtrans.spec
index acfe518ef0a6543402e259796ccd602ec0c6ad03..803b8022a7f0fda0ea686cf091d7d1bfc96ca042 100644 (file)
@@ -1,28 +1,25 @@
 #
-# Conditional build:
-%bcond_with internal_libgadu   # Build with transport's internal libgadu
-
+%define        libgadu_ver     1.9.0
 Summary:       GaduGadu transport module for Jabber
-Summary(pl):   Modu³ transportowy GaduGadu dla systemu Jabber
+Summary(pl.UTF-8):     Moduł transportowy GaduGadu dla systemu Jabber
 Name:          jggtrans
-Version:       2.2.2
-Release:       1
+Version:       2.2.6
+Release:       3
 License:       GPL
 Group:         Applications/Communications
-Source0:       http://jggtrans.jajcus.net/downloads/jggtrans-%{version}.tar.gz
-# Source0-md5: 70bbec4e9c438cda6b7379ccfc63492f
+Source0:       https://github.com/Jajcus/jggtrans/releases/download/v2.2.6/%{name}-%{version}.tar.gz
+# Source0-md5: 3ca5b213026087091ace93a5ffea1703
 Source1:       jggtrans.init
 Source2:       jggtrans.sysconfig
 Patch0:                %{name}-pidfile.patch
 Patch1:                %{name}-spooldir.patch
-Patch2:                %{name}-external.patch
 URL:           http://jggtrans.jajcus.net/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: expat-devel >= 1.95.1
-BuildRequires: gettext-devel
-BuildRequires: glib2-devel
-%{!?with_internal_libgadu:BuildRequires:       libgadu-devel}
+BuildRequires: gettext-tools >= 0.14.1
+BuildRequires: glib2-devel >= 2.0.0
+BuildRequires: libgadu-devel >= %{libgadu_ver}
 BuildRequires: libidn-devel >= 0.3.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
@@ -30,28 +27,31 @@ Requires(post):     sed >= 4.0
 Requires(post,preun):  /sbin/chkconfig
 Requires(pre): jabber-common
 Requires:      jabber-common
+Requires:      libgadu >= %{libgadu_ver}
 Obsoletes:     jabber-gg-transport
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This module allows Jabber to communicate with GaduGadu server.
 
-%description -l pl
-Modu³ ten umo¿liwia u¿ytkownikom Jabbera komunikowanie siê z
-u¿ytkownikami GaduGadu.
+%description -l pl.UTF-8
+Moduł ten umożliwia użytkownikom Jabbera komunikowanie się z
+użytkownikami GaduGadu.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%{!?with_internal_libgadu:%patch2 -p1}
 
 %build
+%{__gettextize}
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
        %{?debug:--with-efence} \
+       --without-bind \
        --sysconfdir=%{_sysconfdir}/jabber
 %{__make}
 
This page took 0.161473 seconds and 4 git commands to generate.