]> git.pld-linux.org Git - packages/gbiff2.git/blob - gbiff2.spec
- spec renamed from gbiff.spec to gbiff2.spec, Obsoletes: gbiff
[packages/gbiff2.git] / gbiff2.spec
1 #
2 # Conditional build:
3 %bcond_without  gnome   # without gnome applet support
4 #
5 Summary:        gbiff checks and informs for mail
6 Summary(pl):    Sprawdza i informuje o nowej poczcie
7 Name:           gbiff2
8 Version:        0.4.0
9 Release:        1
10 License:        GPL
11 Group:          Applications/Mail
12 Source0:        http://www.loria.fr/~rougier/gbiff/downloads/%{name}-%{version}.tar.gz
13 URL:            http://www.loria.fr/~rougier/gbiff/index.php
14 %{?with_gnome:BuildRequires:    gnome-panel-devel}
15 BuildRequires:  gtk+2-devel >= 2.0.0
16 BuildRequires:  libglade2-devel >= 1.99.6
17 BuildRequires:  openssl-devel
18 %{?with_gnome:Requires(post):   GConf2}
19 Obsoletes:      gbiff
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 gbiff checks for mail within afile, a qmail or MH style dir, or on a
24 POP3 server. It can display headers (number, sender, subject, and
25 date) when new mail has arrived.
26
27 %description -l pl
28 gbiff sprawdza pocztê wewn±trz plików, katalogów w stylu qmaila lub MH
29 lub na serwerze POP3. Potrafi wy¶wietlaæ nag³ówki (liczbê, autora,
30 temat i datê) gdy przychodzi nowa poczta.
31
32 %prep
33 %setup -q
34
35 %build
36 %configure \
37         %{?with_gnome:--with-gnome} \
38         --disable-schema-install
39
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         GCONFTOOL=true
48
49 %find_lang %{name}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %if %{with gnome}
55 %post
56 %gconf_schema_install
57 %endif
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README THANKS
62 %attr(755,root,root) %{_bindir}/gbiff2
63 %{_datadir}/gbiff2
64 %{_datadir}/sounds/gbiff2
65 %{_pixmapsdir}/*.png
66 %{_mandir}/man1/*
67 %if %{with gnome}
68 %{_sysconfdir}/gconf/schemas/*.schemas
69 %{_libdir}/bonobo/servers/*.server
70 %{_datadir}/gnome-2.0/ui/*.xml
71 %endif
This page took 0.039366 seconds and 3 git commands to generate.