Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37732819
en ru br
ALT Linux repos
S:3.2.15-alt1
5.0: 3.0.16-alt2
4.1: 3.0.16-alt1
4.0: 3.0.14-alt1
3.0: 3.0.3-alt1

Other repositories
Upstream:3.0.16

Group :: Communications
RPM: efax-gtk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: efax-gtk
Version: 3.0.16
Release: alt1

Summary: GUI front end for the efax fax program
Summary(ru_RU.KOI8-R): Графическая программа работы с факсами

License: GPL
Group: Communications
Url: http://efax-gtk.sourceforge.net/

Packager: Pavel Vainerman <pv at altlinux.ru>

Source: http://dl.sf.net/sourceforge/%name/%name-%version.src.tgz
Source1: %name-%version.ru.po
Source2: %name-%version.config
Source3: %name.png
Patch: %name-%version.patch

# Automatically added by buildreq on Thu Jul 19 2007

BuildRequires: gcc-c++ libgtk+2-devel libsigc++2.0-devel packages-info-i18n-common

Requires: efax

%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 manage,
view and print faxes sent or received. It uses the scripts which
come with the efax package.

%description -l ru_RU.KOI8-R
Efax-gtk - графическая факсовая программа. Она может быть использована
для отправки и получения факсовых сообщений через факс-модем.
Позволяет просматривать и распечатывать входящие или исходящие сообщения.
Использует скрипты входящие в пакет efax

%prep
%setup -q
%patch -p0
cp -f %SOURCE1 po/ru.po
rm -rf  po/ru.gmo

%build
%__subst "s| install-data-hook||" efax-gtk-faxfilter/Makefile.in
%configure

# disable internal efax build

%__subst 's|SUBDIRS = src efax|SUBDIRS = src|' Makefile
# remove lpd filter build
%__subst 's|SUBDIRS = po efax-gtk-faxfilter|SUBDIRS = src|' Makefile

%__subst 's|stock_send-fax.png|%name.png|' %name.desktop

( cd po/ && %__make update-gmo )

%make_build

%install
%make_install DESTDIR=%buildroot install
%find_lang %name

%__install -D -m644 %SOURCE2 %buildroot%_sysconfdir/efax-gtkrc
%__install -D -m644 %SOURCE3 %buildroot%_iconsdir/%name.png

# links for external efax progs

ln -sf efax %buildroot%_bindir/efax-0.9a
ln -sf efix %buildroot%_bindir/efix-0.9a

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%_bindir/*
%_man1dir/*
%_desktopdir/*
%doc AUTHORS README BUGS ChangeLog
%config /etc/efax-gtkrc
%_iconsdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin