3 %bcond_without gnome # build without GNOME support
5 Summary: Mail notification program
6 Summary(pl.UTF-8): Program powiadamiający o nowej poczcie
11 Group: X11/Applications
12 Source0: http://dl.sourceforge.net/gnubiff/%{name}-%{version}.tar.gz
13 # Source0-md5: 65423957eb027b94c9e661611c0e4271
14 URL: http://gnubiff.sourceforge.net/
15 %{?with_gnome:BuildRequires: GConf2-devel >= 2.4.0}
16 BuildRequires: autoconf >= 2.53
17 BuildRequires: automake
18 BuildRequires: fam-devel
19 BuildRequires: gettext-tools
20 %{?with_gnome:BuildRequires: gnome-panel-devel >= 2.4.0}
21 BuildRequires: gtk+2-devel >= 2:2.4.3
22 BuildRequires: intltool
23 BuildRequires: libglade2-devel >= 1:2.4.0
24 BuildRequires: libgnomeui-devel
25 BuildRequires: libstdc++-devel
26 BuildRequires: openssl-devel >= 0.9.7d
27 BuildRequires: pkgconfig
28 BuildRequires: popt-devel
29 Requires: gtk+2 >= 2:2.4.3
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 gnubiff is a mail notification program that checks for mail, displays
34 headers when new mail has arrived and allow to read first lines of new
37 %description -l pl.UTF-8
38 gnubiff jest programem powiadamiającym, który sprawdza pocztę,
39 wyświetla nagłówki i pozwala przeczytać pierwsze linie nowych listów.
49 %{!?with_gnome:--disable-gnome} \
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 # duplicates fr with no differences in translation
61 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_FR
62 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_CA
66 rm -rf $RPM_BUILD_ROOT
68 %post -p /sbin/postshell
69 -/usr/sbin/fix-info-dir -c %{_infodir}
71 %postun -p /sbin/postshell
72 -/usr/sbin/fix-info-dir -c %{_infodir}
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README THANKS
77 %attr(755,root,root) %{_bindir}/*
80 %{_mandir}/man1/%{name}.1*
84 %{_datadir}/gnome-*/ui/*.xml
85 %{_libdir}/bonobo/servers/*.server