]> git.pld-linux.org Git - packages/twinkle.git/blobdiff - twinkle.spec
- rel 1
[packages/twinkle.git] / twinkle.spec
index 5a7df10d6046e9fbd0bc1d704a9f81d833515530..51bd17f76e6ad8c24b88b8973f3a7fa5ba108afc 100644 (file)
@@ -3,39 +3,55 @@
 %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.2
-Release:       3.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: 9a57f8a2cc24db1f8eb6afdf46e122ff
-Patch0:                %{name}-gcc4.patch
+# 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"
@@ -48,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
@@ -64,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.10009 seconds and 4 git commands to generate.