SPECS: mail-notification.spec (NEW) - from fedora, pldized, needs ...

zbyniu zbyniu at pld-linux.org
Wed Nov 16 00:46:44 CET 2005


Author: zbyniu                       Date: Tue Nov 15 23:46:44 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- from fedora, pldized, needs more

---- Files affected:
SPECS:
   mail-notification.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mail-notification.spec
diff -u /dev/null SPECS/mail-notification.spec:1.1
--- /dev/null	Wed Nov 16 00:46:44 2005
+++ SPECS/mail-notification.spec	Wed Nov 16 00:46:38 2005
@@ -0,0 +1,113 @@
+# $Revision$, $Date$
+Summary:	Status icon that informs you if you have new mail
+Name:		mail-notification
+Group:		Applications
+Version:	2.0
+Release:	0.1
+License:	GPL v2
+Source0:	http://savannah.nongnu.org/download/mailnotify/%{name}-%{version}.tar.gz
+# Source0-md5:	56ef7401aba1cb27d881fb0f33a3248d
+Patch0:		http://savannah.nongnu.org/download/mailnotify/%{name}-2.0-buildfix.diff
+Patch1:		http://savannah.nongnu.org/download/mailnotify/%{name}-2.0-gmail-properties-fix.diff
+URL:		http://www.nongnu.org/mailnotify/
+BuildRequires:	cyrus-sasl-devel >= 2.0
+#BuildRequires:	desktop-file-utils
+BuildRequires:	eel-devel >= 2.0
+BuildRequires:	gettext-devel >= 0.14.1
+BuildRequires:	gmime-devel >= 2.1
+#BuildRequires:	gnutls-devel >= 1.0.20
+#BuildRequires:	gob2
+#BuildRequires:	libgcrypt-devel >= 1.2.0
+#BuildRequires:	libicu-devel >= 2.6
+#BuildRequires:	libsoup-devel >= 2.2.1
+BuildRequires:	pkgconfig
+Requires(post):	GConf2
+Requires(post):	scrollkeeper
+Requires(preun):	GConf2
+Requires(postun):	scrollkeeper
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mail Notification is a status icon (aka tray icon) that informs you if
+you have new mail. It works with system trays implementing the
+freedesktop.org System Tray Specification, such as the GNOME Panel
+Notification Area, the Xfce Notification Area and the KDE System Tray.
+
+%prep
+%setup -q
+%patch0 -p0
+%patch1 -p0
+
+%build
+%configure 
+#--disable-evolution
+%{__make} %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# For GConf apps: prevent schemas from being installed at this stage
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+%find_lang %{name}
+
+rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+
+desktop-file-install --vendor fedora \
+	--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
+	--delete-original \
+	--add-category X-Fedora \
+	${RPM_BUILD_ROOT}%{_datadir}/applications/mail-notification.desktop
+
+desktop-file-install --vendor fedora \
+	--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
+	--delete-original \
+	--add-category X-Fedora \
+	${RPM_BUILD_ROOT}%{_datadir}/applications/mail-notification-properties.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+# For GConf apps: install schemas as system default
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+/usr/bin/gconftool-2 --makefile-install-rule \
+	%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null ||:
+/usr/bin/scrollkeeper-update -q ||:
+
+%preun
+# For GConf apps: uninstall app's system default schemas
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+/usr/bin/gconftool-2 --makefile-uninstall-rule \
+	%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+
+%postun
+/usr/bin/scrollkeeper-update -q ||:
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO
+%{_sysconfdir}/gconf/schemas/mail-notification.schemas
+%{_sysconfdir}/sound/events/mail-notification.soundlist
+%attr(755,root,root) %{_bindir}/*
+%{_libdir}/bonobo/servers/GNOME_MailNotification.server
+%{_datadir}/%{name}
+%{_datadir}/applications/fedora-mail-notification.desktop
+%{_datadir}/applications/fedora-mail-notification-properties.desktop
+%{_datadir}/gnome/help/mail-notification/
+%dir %{_datadir}/omf/mail-notification/
+%{_datadir}/omf/mail-notification/mail-notification-C.omf
+%{_datadir}/pixmaps/mail-notification.png
+%{_datadir}/applications/fedora-mail-notification.desktop
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/11/15 23:46:38  zbyniu
+- from fedora, pldized, needs more
+
================================================================



More information about the pld-cvs-commit mailing list