Группа :: Коммуникации
Пакет: efax-gtk
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: efax-gtk
Version: 2.2.15
Release: alt0.M24.1
Summary: Efax-gtk is a GUI front end for the efax fax program
Summary(ru_RU.KOI8-R): Efax-gtk - графическая факсовая программа.
License: GPL
Group: Communications
Url: http://efax-gtk.sourceforge.net/
Packager: Pavel Vainerman <pv at altlinux.ru>
Source: %name-%version.tar.bz2
Source1: %name-%version.ru.po
Source2: %name-%version.config
Source3: %name-faxfilter.1.gz
Source4: %name-send.1.gz
Source5: %name.png
#Patch: %name-%version.patch
# Automatically added by buildreq on Wed Oct 27 2004
BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel hostinfo libatk-devel libglibmm-devel libgtk+2-devel libgtkmm2-devel libpango-devel libsigc++2.0-devel libstdc++-devel pkgconfig
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
%build
%__subst "s| install-data-hook||" efax-gtk-faxfilter/Makefile.in
%__subst 's|en_GB it pl bg|en_GB it pl bg ru|' po/LINGUAS
#конф.файл вынесен в отдельный source
#%__subst 's|LOCK: /var/lock|LOCK: /var/lock/serial|' efax-gtkrc
#%__subst 's|DEVICE: ttyS1|DEVICE: modem|' efax-gtkrc
export ac_cv_path_PKG_CONFIG="%_bindir/pkg-config --recursive"
%configure --with-spooldir=/var/spool/fax
#убираем сборку собственного efax
%__subst 's|SUBDIRS = src efax|SUBDIRS = src|' Makefile
%make_build
%install
make SPOOLDIR=$RPM_BUILD_ROOT/var/spool/fax DESTDIR=$RPM_BUILD_ROOT install
install -d -m 0755 $RPM_BUILD_ROOT%_menudir
cat >$RPM_BUILD_ROOT%_menudir/%name <<EOF
?package(%name): command="%name" \\
section="Applications/Communications" \\
title="Efax-gtk" \\
longtitle="GUI front end for the efax fax program" \\
genericname="Fax Utility" \\
icon="%name.png" \\
needs="x11"
EOF
%find_lang %name
%__install -D -m644 %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/efax-gtkrc
%__install -D -m644 %SOURCE3 $RPM_BUILD_ROOT%_mandir/man1/efax-gtk-faxfilter.1.gz
%__install -D -m644 %SOURCE4 $RPM_BUILD_ROOT%_mandir/man1/efax-gtk-send.1.gz
%__install -D -m644 %SOURCE5 $RPM_BUILD_ROOT%_iconsdir/%name.png
# делаем необходимые ссылки на стандартный efax
ln -f -s /usr/bin/efax $RPM_BUILD_ROOT%_bindir/efax-0.9a
ln -f -s /usr/bin/efix $RPM_BUILD_ROOT%_bindir/efix-0.9a
%__install -p -m755 efax-gtk-faxfilter/efax-gtk-faxfilter $RPM_BUILD_ROOT%_bindir/efax-gtk-faxfilter
%__install -p -m755 efax-gtk-faxfilter/efax-gtk-socket-client $RPM_BUILD_ROOT%_bindir/efax-gtk-socket-client
%post
%update_menus
%update_scrollkeeper
%postun
%clean_menus
%clean_scrollkeeper
%files -f %name.lang
%_bindir/*
%_mandir/man1/*
#/var/spool/fax/*
#%attr(775, lp, lp) /var/spool/fax
%_datadir/locale/*/*
%_datadir/applications/efax-gtk.desktop
%doc AUTHORS README BUGS ChangeLog
%config /etc/efax-gtkrc
%_menudir/%name
%_iconsdir/%name.png
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.2.15
Release: alt0.M24.1
Summary: Efax-gtk is a GUI front end for the efax fax program
Summary(ru_RU.KOI8-R): Efax-gtk - графическая факсовая программа.
License: GPL
Group: Communications
Url: http://efax-gtk.sourceforge.net/
Packager: Pavel Vainerman <pv at altlinux.ru>
Source: %name-%version.tar.bz2
Source1: %name-%version.ru.po
Source2: %name-%version.config
Source3: %name-faxfilter.1.gz
Source4: %name-send.1.gz
Source5: %name.png
#Patch: %name-%version.patch
# Automatically added by buildreq on Wed Oct 27 2004
BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel hostinfo libatk-devel libglibmm-devel libgtk+2-devel libgtkmm2-devel libpango-devel libsigc++2.0-devel libstdc++-devel pkgconfig
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
%build
%__subst "s| install-data-hook||" efax-gtk-faxfilter/Makefile.in
%__subst 's|en_GB it pl bg|en_GB it pl bg ru|' po/LINGUAS
#конф.файл вынесен в отдельный source
#%__subst 's|LOCK: /var/lock|LOCK: /var/lock/serial|' efax-gtkrc
#%__subst 's|DEVICE: ttyS1|DEVICE: modem|' efax-gtkrc
export ac_cv_path_PKG_CONFIG="%_bindir/pkg-config --recursive"
%configure --with-spooldir=/var/spool/fax
#убираем сборку собственного efax
%__subst 's|SUBDIRS = src efax|SUBDIRS = src|' Makefile
%make_build
%install
make SPOOLDIR=$RPM_BUILD_ROOT/var/spool/fax DESTDIR=$RPM_BUILD_ROOT install
install -d -m 0755 $RPM_BUILD_ROOT%_menudir
cat >$RPM_BUILD_ROOT%_menudir/%name <<EOF
?package(%name): command="%name" \\
section="Applications/Communications" \\
title="Efax-gtk" \\
longtitle="GUI front end for the efax fax program" \\
genericname="Fax Utility" \\
icon="%name.png" \\
needs="x11"
EOF
%find_lang %name
%__install -D -m644 %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/efax-gtkrc
%__install -D -m644 %SOURCE3 $RPM_BUILD_ROOT%_mandir/man1/efax-gtk-faxfilter.1.gz
%__install -D -m644 %SOURCE4 $RPM_BUILD_ROOT%_mandir/man1/efax-gtk-send.1.gz
%__install -D -m644 %SOURCE5 $RPM_BUILD_ROOT%_iconsdir/%name.png
# делаем необходимые ссылки на стандартный efax
ln -f -s /usr/bin/efax $RPM_BUILD_ROOT%_bindir/efax-0.9a
ln -f -s /usr/bin/efix $RPM_BUILD_ROOT%_bindir/efix-0.9a
%__install -p -m755 efax-gtk-faxfilter/efax-gtk-faxfilter $RPM_BUILD_ROOT%_bindir/efax-gtk-faxfilter
%__install -p -m755 efax-gtk-faxfilter/efax-gtk-socket-client $RPM_BUILD_ROOT%_bindir/efax-gtk-socket-client
%post
%update_menus
%update_scrollkeeper
%postun
%clean_menus
%clean_scrollkeeper
%files -f %name.lang
%_bindir/*
%_mandir/man1/*
#/var/spool/fax/*
#%attr(775, lp, lp) /var/spool/fax
%_datadir/locale/*/*
%_datadir/applications/efax-gtk.desktop
%doc AUTHORS README BUGS ChangeLog
%config /etc/efax-gtkrc
%_menudir/%name
%_iconsdir/%name.png
%changelog
…
Полный changelog можно просмотреть здесь