]>
Commit | Line | Data |
---|---|---|
b9c0e14a JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without gnome # without gnome applet support | |
4 | # | |
b0578c5a | 5 | Summary: gbiff checks and informs for mail |
57c20a2b | 6 | Summary(pl.UTF-8): Sprawdzanie i informowanie o nowej poczcie |
3710fae7 JB |
7 | Name: gbiff2 |
8 | Version: 0.4.0 | |
9 | Release: 1 | |
bb222f79 | 10 | License: GPL |
3710fae7 JB |
11 | Group: Applications/Mail |
12 | Source0: http://www.loria.fr/~rougier/gbiff/downloads/%{name}-%{version}.tar.gz | |
ce5c5237 | 13 | # Source0-md5: 5ef36711b26d0dfd4ce42bcd67122218 |
645fd422 | 14 | URL: http://www.loria.fr/~rougier/gbiff/index.php |
b9c0e14a | 15 | %{?with_gnome:BuildRequires: gnome-panel-devel} |
3ae78fc3 | 16 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
b9c0e14a | 17 | BuildRequires: libglade2-devel >= 1.99.6 |
6c38a958 | 18 | BuildRequires: openssl-devel >= 0.9.7d |
81602ea5 | 19 | BuildRequires: pkgconfig |
20 | BuildRequires: popt-devel | |
b9c0e14a | 21 | %{?with_gnome:Requires(post): GConf2} |
400d7973 | 22 | Obsoletes: gbiff |
b0578c5a AM |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
b0578c5a AM |
25 | %description |
26 | gbiff checks for mail within afile, a qmail or MH style dir, or on a | |
27 | POP3 server. It can display headers (number, sender, subject, and | |
28 | date) when new mail has arrived. | |
29 | ||
14ea22f3 JR |
30 | %description -l pl.UTF-8 |
31 | gbiff sprawdza pocztę wewnątrz plików, katalogów w stylu qmaila lub MH | |
32 | lub na serwerze POP3. Potrafi wyświetlać nagłówki (liczbę, autora, | |
33 | temat i datę) gdy przychodzi nowa poczta. | |
b0578c5a AM |
34 | |
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
b9c0e14a JB |
39 | %configure \ |
40 | %{?with_gnome:--with-gnome} \ | |
41 | --disable-schema-install | |
b0578c5a AM |
42 | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT \ | |
b9c0e14a JB |
50 | GCONFTOOL=true |
51 | ||
52 | %find_lang %{name} | |
9a8fa46d | 53 | |
b0578c5a AM |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
b9c0e14a JB |
57 | %if %{with gnome} |
58 | %post | |
59 | %gconf_schema_install | |
60 | %endif | |
61 | ||
62 | %files -f %{name}.lang | |
b0578c5a | 63 | %defattr(644,root,root,755) |
b9c0e14a JB |
64 | %doc AUTHORS ChangeLog NEWS README THANKS |
65 | %attr(755,root,root) %{_bindir}/gbiff2 | |
66 | %{_datadir}/gbiff2 | |
67 | %{_datadir}/sounds/gbiff2 | |
68 | %{_pixmapsdir}/*.png | |
69 | %{_mandir}/man1/* | |
70 | %if %{with gnome} | |
71 | %{_sysconfdir}/gconf/schemas/*.schemas | |
72 | %{_libdir}/bonobo/servers/*.server | |
73 | %{_datadir}/gnome-2.0/ui/*.xml | |
74 | %endif |