--- /dev/null
+Summary: Efax-gtk is a GUI front end for the 'efax' fax program
+Summary(pl): Efax-gtk jest graficznym interfejsem programu 'efax'
+Name: efax-gtk
+Version: 3.0.6
+Release: 1
+License: GPL
+Group: Applications/Communications
+Source0: http://dl.sourceforge.net/sourceforge/efax-gtk/%{name}-%{version}.src.tgz
+# Source0-md5: e2320281240e6e805182497d1279be42
+Patch0: %{name}-desktop.patch
+URL: http://efax-gtk.sourceforge.net/
+BuildRequires: gtk+2-devel
+BuildRequires: libsigc++-devel
+Requires: ghostscript
+Conflicts: efax
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Efax-gtk is a GUI front end for the 'efax' fax program. It can be used
+to send and receive faxes with a fax modem, and to view, print and manage
+faxes received. It also has a socket interface to provide a "virtual
+printer" for sending faxes from word processors and similar programs,
+and can automatically e-mail a received fax to a designated user, and
+automatically print a received fax. This is a program to send and receive
+faxes over class 1 or class 2 fax modems. It has a nice interface to help
+facilitate faxing.
+
+%description -l pl
+Efax-gtk jest graficznym interfejsem prorgamu 'efax'. Mo¿e byc uzywany
+do wysy³ania in odbierania faksów z fax-modemu, oraz do ogl±dania i
+drukowania odebranych faksów.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+ln -s %{_bindir}/efax-0.9a $RPM_BUILD_ROOT%{_bindir}/efax
+ln -s %{_bindir}/efix-0.9a $RPM_BUILD_ROOT%{_bindir}/efix
+
+%find_lang %{name}
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%config(noreplace) %verify(not size mtime md5) /etc/efax-gtkrc
+%{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_mandir}/man1/*.gz
+/var/spool/fax/efax-gtk-faxfilter
+/var/spool/fax/efax-gtk-socket-client