]> git.pld-linux.org Git - packages/gbiff2.git/blob - gbiff2.spec
0b61398b7ab8470ed9ec0e1fc5e61c391e912ddc
[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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 gbiff checks for mail within afile, a qmail or MH style dir, or on a
23 POP3 server. It can display headers (number, sender, subject, and
24 date) when new mail has arrived.
25
26 %description -l pl
27 gbiff sprawdza pocztê wewn±trz plików, katalogów w stylu qmaila lub MH
28 lub na serwerze POP3. Potrafi wy¶wietlaæ nag³ówki (liczbê, autora,
29 temat i datê) gdy przychodzi nowa poczta.
30
31 %prep
32 %setup -q
33
34 %build
35 %configure \
36         %{?with_gnome:--with-gnome} \
37         --disable-schema-install
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT \
46         GCONFTOOL=true
47
48 %find_lang %{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %if %{with gnome}
54 %post
55 %gconf_schema_install
56 %endif
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog NEWS README THANKS
61 %attr(755,root,root) %{_bindir}/gbiff2
62 %{_datadir}/gbiff2
63 %{_datadir}/sounds/gbiff2
64 %{_pixmapsdir}/*.png
65 %{_mandir}/man1/*
66 %if %{with gnome}
67 %{_sysconfdir}/gconf/schemas/*.schemas
68 %{_libdir}/bonobo/servers/*.server
69 %{_datadir}/gnome-2.0/ui/*.xml
70 %endif
This page took 0.056387 seconds and 2 git commands to generate.