-
Notifications
You must be signed in to change notification settings - Fork 0
/
efax-gtk.spec
52 lines (45 loc) · 1.48 KB
/
efax-gtk.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
%define name efax-gtk
%define version 3.0.17
%define release 1
Summary: A GUI front end for the efax fax program
Name: %{name}
Version: %{version}
Release: %{release}
License: GPL
Group: Applications/Communications
Source0: %{name}-%{version}.src.tgz
BuildRoot: %{_tmppath}/%{name}-root
Requires: ghostscript, gtk2, glib2, libsigc++
BuildRequires: gtk2-devel, glib2-devel, libsigc++-devel
Url: http://efax-gtk.sourceforge.net/
%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 replaces the scripts which
come with the efax package. It also includes and installs a version
of efax with the distribution.
%prep
%setup -q -n %{name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS -pthread"
CXXFLAGS="$RPM_OPT_FLAGS -fexceptions -frtti -fsigned-char -fno-check-new -pthread"
%configure --with-spooldir=/var/spool/fax
make
%install
[ "$RPM_BUILD_ROOT" != "" ] && rm -rf $RPM_BUILD_ROOT
make SPOOLDIR=$RPM_BUILD_ROOT/var/spool/fax DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_bindir}/efax-0.9a
%{_bindir}/efix-0.9a
%{_mandir}/man1/*
/var/spool/fax/efax-gtk-faxfilter
/var/spool/fax/efax-gtk-socket-client
%{_datadir}/locale/*/*
%{_datadir}/applications/efax-gtk.desktop
%doc AUTHORS README BUGS COPYING ChangeLog print_fax mail_fax
%config %{_sysconfdir}/efax-gtkrc
%dir %attr(775, lp, lp) /var/spool/fax