%define name @PACKAGE@ %define version @VERSION@ %define release 1 %define prefix /usr Summary: Phonecore (IAX Phone Framework) Name: %{name} Version: %{version} Release: %{release} Copyright: LGPL Group: Development/Libraries Source: %{name}-%{version}.tar.gz URL: http://www.linux-support.net/ Distribution: RedHat Linux Vendor: Linux Support Services Packager: Mark Spencer BuildRoot: /var/tmp/%{name}-%{version}-root %description Phonecore, built upon libiax, provides a framework for building IAX and Asterisk compatible phone clients with any user interface. Phonecore is designed to be highly portable and user-interface as well as operating system independent, to allow the creation of full-featured phones on a number of platforms. For more information on Asterisk and gnophone, see http://www.asteriskpbx.com and http://www.gnophone.com %package devel Summary: Phonecore Development Package Group: Development/Libraries Requires: phonecore %description devel Phonecore, built upon libiax, provides a framework for building IAX and Asterisk compatible phone clients with any user interface. Phonecore is designed to be highly portable and user-interface as well as operating system independent, to allow the creation of full-featured phones on a number of platforms. For more information on Asterisk and gnophone, see http://www.asteriskpbx.com and http://www.gnophone.com This package contains all of the development files that you will need in order to compile phonecore applications. %prep %setup %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --enable-autoupdate make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} install-strip %files %defattr(-,root,root) %doc NEWS COPYING AUTHORS README %{prefix}/lib %files devel %defattr(-,root,root) %{prefix}/include/phonecore %{prefix}/bin/* %clean rm -r $RPM_BUILD_ROOT %changelog * Thu Mar 14 2002 Mark Spencer (0.3.0 release) - initial release %post %preun %postun