File gnubiff.spec of Package gnubiff

#
# spec file for package gnubiff (Version 2.2.2)
#
# Copyright (c) 2005 SUSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments via http://www.suse.de/feedback/
#
# norootforbuild

Name: gnubiff
Summary: Mail notification program for GNOME 2
Version: 2.2.10
Release: 0
License: GPL v3 or later
Group: X11/Utilities
URL: http://gnubiff.sourceforge.net
Source: %{name}-%{version}.tar.bz2
Patch0: susefixes.diff
Buildroot: %{_tmppath}/%{name}-root
BuildRequires: gcc-c++ libstdc++-devel mDNSResponder-lib intltool fam-devel gnome-panel-devel libglade2-devel libgnomeui-devel
Autoreqprov: on

# description take from the website (see URL)
%description
gnubiff is a mail notification program that checks for mail, displays
headers when new mail has arrived and allow to read first lines of
new mails. It relies on the GNOME and GTK libraries but can be
compiled and used with or without GNOME support. Supported protocols
are pop3, apop, imap4, mh, qmail and mailfile. Furthermore, gnubiff
is fully configurable with a lot of options like polltime, poptime,
sounds, mail reader, etc.

%prep
%setup
%patch0 -p1

%build
%configure --enable-gnome --without-password --disable-rpath
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector-all" %{?jobs:-j %jobs}

%install
%makeinstall
%find_lang %{name}
rm -vf $RPM_BUILD_ROOT%{_infodir}/dir

%post
%install_info --info-dir=%{_infodir} %{_infodir}/gnubiff.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnubiff.info.gz

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS
%{_infodir}/gnubiff.info*
%{_mandir}/man?/gnubiff*
%{_bindir}/gnubiff
%{_datadir}/gnubiff/
%{_datadir}/pixmaps/gnubiff.png
%{_datadir}/gnome-2.0/ui/GNOME_gnubiffApplet.xml
%{_libdir}/bonobo/servers/GNOME_gnubiffApplet.server

%changelog
openSUSE Build Service is sponsored by