]>
Commit | Line | Data |
---|---|---|
4bbef360 | 1 | # |
2 | # Conditional build: | |
89cd81b4 JB |
3 | %bcond_without gnome # build without GNOME support |
4 | # | |
07c74cd5 | 5 | Summary: Mail notification program |
75612a51 | 6 | Summary(pl.UTF-8): Program powiadamiający o nowej poczcie |
07c74cd5 | 7 | Name: gnubiff |
4dd765c0 | 8 | Version: 2.2.13 |
74b54896 | 9 | Release: 2 |
07c74cd5 | 10 | License: GPL |
11 | Group: X11/Applications | |
f0dedd28 | 12 | Source0: http://dl.sourceforge.net/gnubiff/%{name}-%{version}.tar.gz |
4dd765c0 | 13 | # Source0-md5: 65423957eb027b94c9e661611c0e4271 |
07c74cd5 | 14 | URL: http://gnubiff.sourceforge.net/ |
4bbef360 | 15 | %{?with_gnome:BuildRequires: GConf2-devel >= 2.4.0} |
de75f59b | 16 | BuildRequires: autoconf >= 2.53 |
07c74cd5 | 17 | BuildRequires: automake |
9697d826 | 18 | BuildRequires: fam-devel |
c3e6ec23 | 19 | BuildRequires: gettext-tools |
f5ab8286 | 20 | %{?with_gnome:BuildRequires: gnome-panel-devel >= 2.4.0} |
0e9a05d3 | 21 | BuildRequires: gtk+2-devel >= 2:2.4.3 |
f5ab8286 | 22 | BuildRequires: intltool |
0e9a05d3 | 23 | BuildRequires: libglade2-devel >= 1:2.4.0 |
4dd765c0 | 24 | BuildRequires: libgnomeui-devel |
2e4b97fd | 25 | BuildRequires: libstdc++-devel |
cdee0390 | 26 | BuildRequires: openssl-devel >= 0.9.7d |
2e4b97fd | 27 | BuildRequires: pkgconfig |
0e9a05d3 | 28 | BuildRequires: popt-devel |
29 | Requires: gtk+2 >= 2:2.4.3 | |
07c74cd5 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
32 | %description | |
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 | |
35 | mails. | |
36 | ||
552821f3 JR |
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. | |
07c74cd5 | 40 | |
41 | %prep | |
42 | %setup -q | |
07c74cd5 | 43 | |
44 | %build | |
45 | %{__aclocal} | |
46 | %{__autoconf} | |
47 | %{__automake} | |
48 | %configure \ | |
af339417 | 49 | %{!?with_gnome:--disable-gnome} \ |
cf91a05e | 50 | --with-password |
07c74cd5 | 51 | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
46aae51d | 60 | # duplicates fr with no differences in translation |
0d70b802 | 61 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_FR |
46aae51d | 62 | rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_CA |
07c74cd5 | 63 | %find_lang %{name} |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
756bc7fa ER |
68 | %post -p /sbin/postshell |
69 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
07c74cd5 | 70 | |
756bc7fa ER |
71 | %postun -p /sbin/postshell |
72 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
07c74cd5 | 73 | |
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
76 | %doc AUTHORS ChangeLog NEWS README THANKS | |
77 | %attr(755,root,root) %{_bindir}/* | |
07c74cd5 | 78 | %{_datadir}/%{name} |
79 | %{_infodir}/*.info* | |
80 | %{_mandir}/man1/%{name}.1* | |
81 | %{_pixmapsdir}/*.png | |
4bbef360 | 82 | |
89cd81b4 | 83 | %if %{with gnome} |
4bbef360 | 84 | %{_datadir}/gnome-*/ui/*.xml |
157d3963 | 85 | %{_libdir}/bonobo/servers/*.server |
4bbef360 | 86 | %endif |