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