]> git.pld-linux.org Git - packages/twinkle.git/blobdiff - twinkle.spec
- rel 11; build fixed
[packages/twinkle.git] / twinkle.spec
index 0dafe6e96b4cc651cd0f6bfc45cb718f95cd34e3..f2d8d90788a4b9ab0f2797087beb21195841b030 100644 (file)
@@ -1,33 +1,62 @@
 #
 # Conditional build:
-%bcond_with    kde             # enable KDE support
+%bcond_with    kde             # disable KDE support
 #
 Summary:       twinkle - SIP Soft Phone
+Summary(pl.UTF-8):     twinkle - telefon programowy SIP
 Name:          twinkle
-Version:       0.4.2
-Release:       0.1
+Version:       1.4.2
+Release:       11
 License:       GPL v2
 Group:         Applications/Communications
 Source0:       http://www.xs4all.nl/~mfnboer/twinkle/download/%{name}-%{version}.tar.gz
-# Source0-md5: cffa1f6a477d1342561ce6be8ea58302
+# Source0-md5: d70c8972f296ffd998c7fb698774705b
+Source1:       %{name}.desktop
+Patch0:                %{name}-nobind.patch
+Patch1:                %{name}-build.patch
+Patch2:                %{name}-ucommon.patch
 URL:           http://www.twinklephone.com/
 BuildRequires: alsa-lib-devel
-BuildRequires: commoncpp2-devel >= 1.3.0
-BuildRequires: ccrtp-devel >= 1.3.4
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: boost-devel >= 1.35.0
+BuildRequires: ccrtp-devel >= 1.7.1
+BuildRequires: commoncpp2-devel >= 1.7.1
 %{?with_kde:BuildRequires:     kdelibs-devel}
+BuildRequires: libgsm-devel >= 1.0.11
+BuildRequires: libilbc-devel
+BuildRequires: libmagic-devel
+BuildRequires: libsndfile-devel
+BuildRequires: libtool
+BuildRequires: libxml2-devel
+BuildRequires: libzrtpcpp-devel >= 1.4.3
 BuildRequires: pkgconfig
 BuildRequires: qmake
-BuildRequires: qt-devel >= 3.3.0
+BuildRequires: qt-devel >= 6:3.3.0
+BuildRequires: qt-linguist
+BuildRequires: readline-devel
+BuildRequires: speex-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Twinkle is a SIP based soft phone for making telephone calls over IP
 networks.
 
+%description -l pl.UTF-8
+Twinkle to oparty na SIP programowy telefon do wykonywania połączeń
+telefonicznych po sieciach IP.
+
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p0
+%patch2 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 export QTDIR=%{_prefix}
 %configure \
 %if "%{_lib}" == "lib64"
@@ -40,12 +69,13 @@ export QTDIR=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install src/gui/images/twinkle48.png $RPM_BUILD_ROOT%{_pixmapsdir}/twinkle.png
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,3 +86,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/twinkle
 %{_pixmapsdir}/twinkle.png
+%{_desktopdir}/twinkle.desktop
This page took 0.074075 seconds and 4 git commands to generate.