Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 9a6fdcc8d51b4d4da5f23a6ed5a8b9c7 > files > 2

ant-phone-0.1.13-1mdv2009.0.src.rpm

%define name	ant-phone
%define version	0.1.13
%define release %mkrel 1

Name: 	 	%{name}
Summary:	Desktop ISDN telephony application
Version: 	%{version}
Release: 	%{release}

Source:		http://www.antcom.de/ant-phone/download/%{name}-%{version}.tar.bz2
URL:		http://www.antcom.de/
License:	GPL
Group:		Communications
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	pkgconfig
BuildRequires:  gettext
BuildRequires:  flex
BuildRequires:  bison
BuildRequires:  gtk+2-devel
BuildRequires:	libsndfile-devel

%description
ANT is a desktop ISDN telephony application written for GNU/Linux. It supports
OSS (Open Sound System) and I4L (ISDN4Linux).  It directly interfaces OSS and
ISDN devices, so there is no need to install extra software or hardware like
PBX (Private Branch Exchange) or telephony cards, if you've got direct access
to an audio capable ISDN card (teles or HiSax chipset, e.g. AVM Fritz Card)
and a full duplex soundcard or two sound devices.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

#menu

mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-%{name}.desktop << EOF
[Desktop Entry]
Name=ANT-phone
Comment=ISDN Telephone
Exec=%{_bindir}/%{name}
Icon=communications_phone_section
Terminal=false
Type=Application
Categories=GNOME;GTK;X-MandrivaLinux-Office-Communications-Phone;Network;Telephony;
EOF

%find_lang %name

%clean
rm -rf $RPM_BUILD_ROOT

%if %mdkversion < 200900
%post
%update_menus
%endif

%if %mdkversion < 200900
%postun
%clean_menus
%endif

%files -f %{name}.lang
%defattr(-,root,root)
%doc ABOUT-NLS README AUTHORS ChangeLog TODO COPYING
%{_bindir}/%name
%{_mandir}/man1/%name.1.*
%{_datadir}/applications/mandriva-%{name}.desktop



%changelog
* Thu Jun 12 2008 Pixel <pixel@mandriva.com> 0.1.13-1mdv2009.0
+ Revision: 218431
- rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

  + Thierry Vignaud <tvignaud@mandriva.com>
    - drop old menu
    - kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Wed Oct 24 2007 Jérôme Soyer <saispo@mandriva.org> 0.1.13-1mdv2008.1
+ Revision: 101732
- New release


* Wed Sep 13 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.1.12-2mdv2007.0
- XDG

* Wed Apr 26 2006 Austin Acton <austin@mandriva.org> 0.1.12-1mdk
- New release 0.1.12

* Wed Nov 23 2005 Austin Acton <austin@mandriva.org> 0.1.11-1mdk
- New release 0.1.11

* Thu Aug 25 2005 Austin Acton <austin@mandriva.org> 0.1.10-1mdk
- 0.1.10
- source URL
- configure 2.5

* Fri Feb 20 2004 David Baudens <baudens@mandrakesoft.com> 0.1.9-2mdk
- Fix menu

* Sun Jan 11 2004 Austin Acton <austin@linux.ca> 0.1.9-1mdk
- 0.1.9

* Mon Dec 15 2003 Franck Villaume <fvill@freesurf.fr> 0.1.8-2mdk
- add BuildRequires : libsndfile-devel
- mv libgtk+2.0-devel to gtk+2-devel for 64bits

* Sun Nov 30 2003 Austin Acton <aacton@yorku.ca> 0.1.8-1mdk
- 0.1.8