]> git.pld-linux.org Git - packages/gnome-mail-notification.git/blob - gnome-mail-notification.spec
4157a97f09e492e193571c1820e049e7b149fde9
[packages/gnome-mail-notification.git] / gnome-mail-notification.spec
1 %define         evo_ver 3.6
2 %define         rname mail-notification
3 Summary:        GNOME notification area mail monitor
4 Summary(pl.UTF-8):      Monitor poczty widoczny w obszarze powiadamiania GNOME
5 Name:           gnome-mail-notification
6 Version:        5.4
7 Release:        16
8 License:        GPL v3+
9 Group:          X11/Applications
10 Source0:        https://github.com/epienbroek/mail-notification/tarball/master/%{rname}-%{version}.tar.gz
11 # Source0-md5:  899c92fff00575ae25fe37090287792b
12 URL:            http://www.nongnu.org/mailnotify/
13 BuildRequires:  GConf2-devel >= 2.22.0
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake
16 BuildRequires:  cyrus-sasl-devel >= 2.0
17 BuildRequires:  evolution-devel >= 3.0.0
18 BuildRequires:  gettext-devel
19 BuildRequires:  gmime-devel >= 2.1.19
20 BuildRequires:  gmime22-devel
21 BuildRequires:  libgnome-keyring-devel >= 3.0.0
22 BuildRequires:  gnome-vfs2-devel >= 2.22.0
23 BuildRequires:  gtk+3-devel >= 3.0.0
24 BuildRequires:  intltool >= 0.36.2
25 BuildRequires:  libbonobo-devel >= 2.22.0
26 BuildRequires:  libglade2-devel >= 1:2.6.2
27 BuildRequires:  libgnomeui-devel >= 2.22.01
28 BuildRequires:  libnotify-devel >= 0.4.1
29 BuildRequires:  libtool
30 BuildRequires:  libxml2-devel >= 1:2.6.31
31 BuildRequires:  nautilus-devel >= 2.30
32 BuildRequires:  openssl-devel
33 BuildRequires:  pkgconfig
34 BuildRequires:  rpmbuild(find_lang) >= 1.23
35 BuildRequires:  rpmbuild(macros) >= 1.311
36 BuildRequires:  scrollkeeper
37 BuildRequires:  sed >= 4.0
38 Requires(post,postun):  gtk-update-icon-cache
39 Requires(post,postun):  hicolor-icon-theme
40 Requires(post,postun):  scrollkeeper
41 Requires(post,preun):   GConf2
42 Requires:       gmime >= 2.1.19
43 Requires:       libgnomeui >= 2.22.01
44 # sr@Latn vs. sr@latin
45 Conflicts:      glibc-misc < 6:2.7
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 %description
49 Mail Notification is an icon for the GNOME Notification Area that
50 informs users if they have new mail. It handles multiple folders and
51 multiple folder formats.
52
53 %description -l pl.UTF-8
54 Mail Notification to ikona dla obszaru powiadamiania GNOME informująca
55 użytkowników, czy mają nową pocztę. Obsługuje wiele folderów oraz
56 wiele formatów folderów.
57
58 %package -n evolution-plugin-mail-notification
59 Summary:        Mail Notification plugin for Evolution
60 Summary(pl.UTF-8):      Wtyczka Mail Notification dla Evolution
61 Group:          X11/Applications
62 Requires:       %{name} = %{version}-%{release}
63 Requires:       evolution >= 3.0.0
64
65 %description -n evolution-plugin-mail-notification
66 Evolution mailbox support for Mail Notification.
67
68 %description -n evolution-plugin-mail-notification -l pl.UTF-8
69 Wsparcie dla skrzynek pocztowych Evolution w Mail Notification.
70
71 %prep
72 %setup -q -n epienbroek-%{rname}-b4ca832
73
74 %build
75 ./jb configure \
76         libs="-lX11" \
77         destdir=$RPM_BUILD_ROOT \
78         sysconfdir=%{_sysconfdir} \
79         localstatedir=%{_var} \
80         install-gconf-schemas=no
81
82 ./jb build
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 ./jb install
88
89 # install also GtkBuilder files
90 #cp -p ui/mailbox-properties-dialog.ui $RPM_BUILD_ROOT%{_datadir}/mail-notification
91 #cp -p ui/properties-dialog.ui $RPM_BUILD_ROOT%{_datadir}/mail-notification
92
93 %find_lang %{rname} --all-name --with-gnome --with-omf
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post
99 %scrollkeeper_update_post
100 %gconf_schema_install mail-notification.schemas
101 %update_icon_cache hicolor
102
103 %preun
104 %gconf_schema_uninstall mail-notification.schemas
105
106 %postun
107 %scrollkeeper_update_postun
108 %update_icon_cache hicolor
109
110 %files -f %{rname}.lang
111 %defattr(644,root,root,755)
112 %doc NEWS README TODO
113 %attr(755,root,root) %{_bindir}/mail-notification
114 %{_datadir}/mail-notification
115 %{_sysconfdir}/xdg/autostart/mail-notification.desktop
116 %{_desktopdir}/mail-notification-properties.desktop
117 %{_iconsdir}/hicolor/*/*/*.png
118 %{_iconsdir}/hicolor/*/*/*.svg
119 %{_sysconfdir}/gconf/schemas/mail-notification.schemas
120
121 %files -n evolution-plugin-mail-notification
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/evolution/%{evo_ver}/plugins/liborg-jylefort-mail-notification.so
124 %{_libdir}/evolution/%{evo_ver}/plugins/org-jylefort-mail-notification.eplug
This page took 0.078836 seconds and 2 git commands to generate.