|
|
8cc758c |
# Review: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187569
|
|
|
8cc758c |
|
|
|
8cc758c |
Name: xfce4-mailwatch-plugin
|
|
|
8cc758c |
Version: 1.1.0
|
|
|
55e9a2e |
Release: 9%{?dist}
|
|
|
8cc758c |
Summary: Mail Watcher plugin for the Xfce panel
|
|
|
8cc758c |
|
|
|
8cc758c |
Group: User Interface/Desktops
|
|
|
8cc758c |
License: GPLv2
|
|
|
8cc758c |
URL: http://spuriousinterrupt.org/projects/mailwatch
|
|
|
8cc758c |
Source0: http://spuriousinterrupt.org/files/mailwatch/%{name}-%{version}.tar.bz2
|
|
|
8cc758c |
Patch0: xfce4-mailwatch-plugin-1.1.0-dsofix.patch
|
|
|
5d45fd0 |
# Fixes underlinking against libxfcegui and libgcrypt
|
|
|
5d45fd0 |
# http://bugzilla.xfce.org/show_bug.cgi?id=7096
|
|
|
8cc758c |
Patch1: xfce4-mailwatch-plugin-1.1.0-underlink.patch
|
|
|
55e9a2e |
# Make mail check interval configurable
|
|
|
55e9a2e |
# https://bugzilla.redhat.com/show_bug.cgi?id=710752
|
|
|
55e9a2e |
# fixed with mbox-refresh-interval.patch by Yves-Alexis Perez from
|
|
|
55e9a2e |
# https://bugzilla.xfce.org/show_bug.cgi?id=6947
|
|
|
55e9a2e |
Patch2: xfce4-mailwatch-plugin-1.1.0-mbox-refresh-interval.patch
|
|
|
8cc758c |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
84e289e |
|
|
|
8cc758c |
BuildRequires: xfce4-panel-devel >= 4.3.20, libxfcegui4-devel >= 4.2, libxml2-devel
|
|
|
8cc758c |
BuildRequires: gettext, libtool, xfce4-dev-tools
|
|
|
8cc758c |
BuildRequires: libXt-devel
|
|
|
84e289e |
# only enable TLS support if a recent version of gnutls is available
|
|
|
c99207b |
%if 0%{?fedora} > 4
|
|
|
8cc758c |
BuildRequires: gnutls-devel >= 1.2.0
|
|
|
84e289e |
%endif
|
|
|
8cc758c |
Requires: xfce4-panel >= 4.4.0
|
|
|
84e289e |
|
|
|
84e289e |
%description
|
|
|
84e289e |
Mailwatch is a plugin for the Xfce 4 panel. It is intended to replace the
|
|
|
84e289e |
current (4.0, 4.2) mail checker plugin in Xfce 4.4. It supports IMAP and POP,
|
|
|
84e289e |
local mailboxes in Mbox, Maildir and MH-Maildir format as well as Gmail.
|
|
|
84e289e |
|
|
|
84e289e |
%prep
|
|
|
84e289e |
%setup -q
|
|
|
639bece |
%patch0 -p1 -b .dsofix
|
|
|
5d45fd0 |
%patch1 -p1 -b .underlink
|
|
|
55e9a2e |
%patch2 -p1 -b .mbox-refresh
|
|
|
8cc758c |
# Fix icon in 'Add new panel item' dialog
|
|
|
8cc758c |
sed -i 's|Icon=xfce-mail|Icon=mail-unread|g' panel-plugin/mailwatch.desktop.in.in
|
|
|
8cc758c |
|
|
|
84e289e |
|
|
|
84e289e |
%build
|
|
|
5d45fd0 |
# Xfce has its own autotools-running-script thingy, if you use autoreconf
|
|
|
5d45fd0 |
# it'll fall apart horribly
|
|
|
55e9a2e |
NOCONFIGURE=yes xdt-autogen
|
|
|
5d45fd0 |
|
|
|
84e289e |
%configure --disable-static
|
|
|
84e289e |
make %{?_smp_mflags}
|
|
|
84e289e |
|
|
|
639bece |
|
|
|
84e289e |
%install
|
|
|
84e289e |
rm -rf $RPM_BUILD_ROOT
|
|
|
84e289e |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
84e289e |
%find_lang %{name}
|
|
|
84e289e |
|
|
|
639bece |
|
|
|
84e289e |
%post
|
|
|
639bece |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
639bece |
|
|
|
84e289e |
|
|
|
84e289e |
%postun
|
|
|
639bece |
if [ $1 -eq 0 ] ; then
|
|
|
8cc758c |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
8cc758c |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
adcd778 |
fi
|
|
|
84e289e |
|
|
|
639bece |
|
|
|
639bece |
%posttrans
|
|
|
639bece |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
639bece |
|
|
|
639bece |
|
|
|
84e289e |
%clean
|
|
|
84e289e |
rm -rf $RPM_BUILD_ROOT
|
|
|
84e289e |
|
|
|
639bece |
|
|
|
84e289e |
%files -f %{name}.lang
|
|
|
84e289e |
%defattr(-,root,root,-)
|
|
|
84e289e |
%doc AUTHORS COPYING ChangeLog README
|
|
|
2463a56 |
%{_libexecdir}/xfce4/panel-plugins/%{name}
|
|
|
2463a56 |
%{_datadir}/xfce4/panel-plugins/*.desktop
|
|
|
2463a56 |
%{_datadir}/icons/hicolor/48x48/apps/xfce-*mail.png
|
|
|
2463a56 |
%{_datadir}/icons/hicolor/scalable/apps/xfce-*mail.svg
|
|
|
84e289e |
%{_datadir}/xfce4/doc/C/xfce4-mailwatch-plugin.html
|
|
|
84e289e |
%{_datadir}/xfce4/doc/C/images/mailwatch-*.png
|
|
|
84e289e |
|
|
|
84e289e |
%changelog
|
|
|
55e9a2e |
* Sat Jun 04 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-9
|
|
|
55e9a2e |
- Make mail check interval configurable (#710752)
|
|
|
55e9a2e |
|
|
|
8cc758c |
* Fri Apr 08 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-8
|
|
|
8cc758c |
- Fix icon in 'Add new panel item' dialog (#694904)
|
|
|
8cc758c |
|
|
|
446c067 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-7
|
|
|
446c067 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
446c067 |
|
|
|
5d45fd0 |
* Fri Jan 14 2011 Adam Williamson <awilliam@redhat.com> - 1.1.0-6
|
|
|
5d45fd0 |
- fix a couple of underlinking issues (underlink.patch)
|
|
|
5d45fd0 |
|
|
|
639bece |
* Wed Feb 17 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-5
|
|
|
639bece |
- Add patch to fix DSO linking (#564814)
|
|
|
639bece |
- Update icon-cache scriptlets
|
|
|
639bece |
|
|
|
581faaa |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-4
|
|
|
581faaa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
581faaa |
|
|
|
aae9b90 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-3
|
|
|
aae9b90 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
aae9b90 |
|
|
|
2e135a4 |
* Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-2
|
|
|
2e135a4 |
- Rebuild for Xfce 4.6 (Beta 3)
|
|
|
2e135a4 |
|
|
|
2e135a4 |
* Wed Oct 01 2008 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.0-1
|
|
|
adcd778 |
- Update to 1.1.0 fixes crash due to obscure GTK hash error (#463412)
|
|
|
adcd778 |
|
|
|
c99207b |
* Mon Jul 07 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0.1-10
|
|
|
c99207b |
- fix conditional comparison
|
|
|
c99207b |
|
|
|
2e135a4 |
* Fri Jun 06 2008 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-9
|
|
|
1d97341 |
- BuildRequire libXt-devel for all releases (#449496)
|
|
|
1d97341 |
|
|
|
2f6a48a |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.1-8
|
|
|
2f6a48a |
- Autorebuild for GCC 4.3
|
|
|
2f6a48a |
|
|
|
2e135a4 |
* Fri Aug 24 2007 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-7
|
|
|
64871f3 |
- Rebuild for BuildID feature
|
|
|
64871f3 |
- Update license tag
|
|
|
64871f3 |
|
|
|
2e135a4 |
* Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-6
|
|
|
4600de8 |
- Rebuild for Xfce 4.4.1
|
|
|
4600de8 |
|
|
|
2e135a4 |
* Mon Jan 22 2007 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-5
|
|
|
7a775a9 |
- Rebuild for Xfce 4.4.
|
|
|
7a775a9 |
- Update gtk-icon-cache scriptlets.
|
|
|
7a775a9 |
|
|
|
2e135a4 |
* Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-4
|
|
|
2463a56 |
- Bump release for devel checkin.
|
|
|
2463a56 |
|
|
|
2e135a4 |
* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-3
|
|
|
2463a56 |
- Recompile against XFCE 4.3.90.2.
|
|
|
2463a56 |
|
|
|
2e135a4 |
* Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.1-2
|
|
|
a45bf5b |
- Mass rebuild for Fedora Core 6.
|
|
|
a45bf5b |
|
|
|
4e7d503 |
* Sat Jun 17 2006 Christoph Wickert <fedora wickert at arcor de> - 1.0.1-1
|
|
|
4e7d503 |
- Update to 1.0.1.
|
|
|
4e7d503 |
|
|
|
84e289e |
* Mon Apr 10 2006 Christoph Wickert <fedora wickert at arcor de> - 1.0.0-2
|
|
|
84e289e |
- Fix description.
|
|
|
84e289e |
- Fix files section.
|
|
|
84e289e |
- Require xfce4-panel.
|
|
|
84e289e |
|
|
|
84e289e |
* Sat Feb 18 2006 Christoph Wickert <fedora wickert at arcor de> - 1.0.0-1
|
|
|
84e289e |
- Initial Fedora Extras release.
|