]> git.pld-linux.org Git - packages/gnubiff.git/blob - gnubiff.spec
- updated gettext BR
[packages/gnubiff.git] / gnubiff.spec
1 #
2 # Conditional build:
3 %bcond_without  gnome           # build without GNOME support
4 #
5 Summary:        Mail notification program
6 Summary(pl.UTF-8):      Program powiadamiający o nowej poczcie
7 Name:           gnubiff
8 Version:        2.2.13
9 Release:        2
10 License:        GPL
11 Group:          X11/Applications
12 Source0:        http://dl.sourceforge.net/gnubiff/%{name}-%{version}.tar.gz
13 # Source0-md5:  65423957eb027b94c9e661611c0e4271
14 URL:            http://gnubiff.sourceforge.net/
15 %{?with_gnome:BuildRequires:    GConf2-devel >= 2.4.0}
16 BuildRequires:  autoconf >= 2.53
17 BuildRequires:  automake
18 BuildRequires:  fam-devel
19 BuildRequires:  gettext-tools
20 %{?with_gnome:BuildRequires:    gnome-panel-devel >= 2.4.0}
21 BuildRequires:  gtk+2-devel >= 2:2.4.3
22 BuildRequires:  intltool
23 BuildRequires:  libglade2-devel >= 1:2.4.0
24 BuildRequires:  libgnomeui-devel
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  openssl-devel >= 0.9.7d
27 BuildRequires:  pkgconfig
28 BuildRequires:  popt-devel
29 Requires:       gtk+2 >= 2:2.4.3
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 gnubiff is a mail notification program that checks for mail, displays
34 headers when new mail has arrived and allow to read first lines of new
35 mails.
36
37 %description -l pl.UTF-8
38 gnubiff jest programem powiadamiającym, który sprawdza pocztę,
39 wyświetla nagłówki i pozwala przeczytać pierwsze linie nowych listów.
40
41 %prep
42 %setup -q
43
44 %build
45 %{__aclocal}
46 %{__autoconf}
47 %{__automake}
48 %configure \
49         %{!?with_gnome:--disable-gnome} \
50         --with-password
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 # duplicates fr with no differences in translation
61 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_FR
62 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/fr_CA
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p      /sbin/postshell
69 -/usr/sbin/fix-info-dir -c %{_infodir}
70
71 %postun -p      /sbin/postshell
72 -/usr/sbin/fix-info-dir -c %{_infodir}
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README THANKS
77 %attr(755,root,root) %{_bindir}/*
78 %{_datadir}/%{name}
79 %{_infodir}/*.info*
80 %{_mandir}/man1/%{name}.1*
81 %{_pixmapsdir}/*.png
82
83 %if %{with gnome}
84 %{_datadir}/gnome-*/ui/*.xml
85 %{_libdir}/bonobo/servers/*.server
86 %endif
This page took 0.111015 seconds and 3 git commands to generate.