]> git.pld-linux.org Git - packages/twinkle.git/blobdiff - twinkle.spec
- rel 1
[packages/twinkle.git] / twinkle.spec
index f92907d54957eea5c4d3a0edb5bd8f81551722c3..51bd17f76e6ad8c24b88b8973f3a7fa5ba108afc 100644 (file)
@@ -1,39 +1,57 @@
 #
 # Conditional build:
-%bcond_with    kde             # enable KDE support
+%bcond_without kde             # disable KDE support
 #
 Summary:       twinkle - SIP Soft Phone
-Summary(pl):   twinkle - telefon programowy SIP
+Summary(pl.UTF-8):     twinkle - telefon programowy SIP
 Name:          twinkle
-Version:       0.6.1
+Version:       1.0
 Release:       1
 License:       GPL v2
 Group:         Applications/Communications
 Source0:       http://www.xs4all.nl/~mfnboer/twinkle/download/%{name}-%{version}.tar.gz
-# Source0-md5: 10f234f73511b7593fea02a4d761205f
+# Source0-md5: 3180475a8eade9918bc1299dcbfe1fcc
+Source1:       %{name}.desktop
+Patch0:                %{name}-gsm.patch
+Patch1:                %{name}-nobind.patch
 URL:           http://www.twinklephone.com/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: alsa-lib-devel
-BuildRequires: commoncpp2-devel >= 1.3.0
-BuildRequires: ccrtp-devel >= 1.3.4
+BuildRequires: boost-regex-devel
+BuildRequires: commoncpp2-devel >= 1.5.0
+BuildRequires: ccrtp-devel >= 1.5.0
 %{?with_kde:BuildRequires:     kdelibs-devel}
+BuildRequires: libtool
+BuildRequires: libgsm-devel >= 1.0.11
+BuildRequires: libilbc-devel
 BuildRequires: libsndfile-devel
+BuildRequires: libzrtpcpp-devel
 BuildRequires: pkgconfig
 BuildRequires: qmake
 BuildRequires: qt-devel >= 6:3.3.0
+BuildRequires: qt-linguist
+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
-Twinkle to oparty na SIP programowy telefon do wykonywania po³±czeñ
+%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 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 export QTDIR=%{_prefix}
 %configure \
 %if "%{_lib}" == "lib64"
@@ -46,12 +64,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
@@ -62,3 +81,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/twinkle
 %{_pixmapsdir}/twinkle.png
+%{_desktopdir}/twinkle.desktop
This page took 0.15489 seconds and 4 git commands to generate.