]> git.pld-linux.org Git - packages/gbiff2.git/blob - gbiff2.spec
33095def4632c8542694209845df3f8492e35635
[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):    Sprawdzanie i informowanie 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 # Source0-md5:  5ef36711b26d0dfd4ce42bcd67122218
14 URL:            http://www.loria.fr/~rougier/gbiff/index.php
15 %{?with_gnome:BuildRequires:    gnome-panel-devel}
16 BuildRequires:  gtk+2-devel >= 1:2.0.0
17 BuildRequires:  libglade2-devel >= 1.99.6
18 BuildRequires:  openssl-devel >= 0.9.7d
19 BuildRequires:  pkgconfig
20 BuildRequires:  popt-devel
21 %{?with_gnome:Requires(post):   GConf2}
22 Obsoletes:      gbiff
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
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
30 %description -l pl
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.
34
35 %prep
36 %setup -q
37
38 %build
39 %configure \
40         %{?with_gnome:--with-gnome} \
41         --disable-schema-install
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         GCONFTOOL=true
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %if %{with gnome}
58 %post
59 %gconf_schema_install
60 %endif
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
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
This page took 0.050532 seconds and 2 git commands to generate.