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