SPECS: gnome-mail-notification.spec - added -eelfix.patch - proper...

megabajt megabajt at pld-linux.org
Fri Mar 14 22:43:32 CET 2008


Author: megabajt                     Date: Fri Mar 14 21:43:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -eelfix.patch
- proper license (GPL v3)

---- Files affected:
SPECS:
   gnome-mail-notification.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: SPECS/gnome-mail-notification.spec
diff -u SPECS/gnome-mail-notification.spec:1.43 SPECS/gnome-mail-notification.spec:1.44
--- SPECS/gnome-mail-notification.spec:1.43	Sat Mar  1 21:42:28 2008
+++ SPECS/gnome-mail-notification.spec	Fri Mar 14 22:43:27 2008
@@ -1,42 +1,56 @@
 # $Revision$, $Date$
-%define		evo_ver	2.12
+%define		evo_ver	2.22
 %define		rname mail-notification
 Summary:	GNOME notification area mail monitor
 Summary(pl.UTF-8):	Monitor poczty widoczny w obszarze powiadamiania GNOME
 Name:		gnome-mail-notification
 Version:	5.0
 Release:	1
-License:	GPL
+License:	GPL v3
 Group:		X11/Applications
 Source0:	http://savannah.nongnu.org/download/mailnotify/%{rname}-%{version}.tar.bz2
 # Source0-md5:	66bc819ef62a050627627b3496e4dfe8
 Patch0:		%{name}-desktop.patch
+Patch1:		%{name}-eelfix.patch
 URL:		http://www.nongnu.org/mailnotify/
+BuildRequires:	GConf2-devel >= 2.22.0
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake
 BuildRequires:	cyrus-sasl-devel >= 2.0
-BuildRequires:	eel-devel >= 2.14.1
-BuildRequires:	evolution-devel >= 2.12.0
+BuildRequires:	eel-devel >= 2.22.0
+BuildRequires:	evolution-devel >= 2.22.0
+BuildRequires:	gettext-devel
 BuildRequires:	gmime-devel >= 2.1.19
-BuildRequires:	gnet-devel >= 2.0.0
-BuildRequires:	libgnomeui-devel >= 2.14.1
-BuildRequires:	libicu-devel >= 2.6
-BuildRequires:	libnotify-devel
-BuildRequires:	libsoup-devel >= 2.2.7
+BuildRequires:	gnome-keyring-devel >= 2.22.0
+BuildRequires:	gnome-vfs2-devel >= 2.22.0
+BuildRequires:	gtk+2-devel >= 2:2.12.8
+BuildRequires:	intltool >= 0.36.2
+BuildRequires:	libbonobo-devel >= 2.22.0
+BuildRequires:	libglade2-devel >= 1:2.6.2
+BuildRequires:	libgnomeui-devel >= 2.22.01
+BuildRequires:	libnotify-devel >= 0.4.1
+BuildRequires:	libtool
+BuildRequires:	libxml2-devel >= 1:2.6.31
 BuildRequires:	openssl-devel
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.197
+BuildRequires:	rpmbuild(find_lang) >= 1.23
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	scrollkeeper
-Requires(post,preun):	GConf2 >= 2.14.0
+BuildRequires:	sed >= 4.0
+Requires(post,postun):	gtk+2
+Requires(post,postun):	hicolor-icon-theme
 Requires(post,postun):	scrollkeeper
+Requires(post,preun):	GConf2
 Requires:	gmime >= 2.1.19
-Requires:	libgnomeui >= 2.14.1
+Requires:	libgnomeui >= 2.22.01
 # sr at Latn vs. sr at latin
 Conflicts:	glibc-misc < 6:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Mail Notification is an icon for the GNOME Notification Area that
-informs users if they have new mail. It handles multiple folders
-and multiple folder formats.
+informs users if they have new mail. It handles multiple folders and
+multiple folder formats.
 
 %description -l pl.UTF-8
 Mail Notification to ikona dla obszaru powiadamiania GNOME informująca
@@ -48,7 +62,7 @@
 Summary(pl.UTF-8):	Wtyczka Mail Notification dla Evolution
 Group:		X11/Applications
 Requires:	%{name} = %{version}-%{release}
-Requires:	evolution >= 2.12.0
+Requires:	evolution >= 2.22.0
 
 %description -n evolution-plugin-mail-notification
 Evolution mailbox support for Mail Notification.
@@ -59,12 +73,23 @@
 %prep
 %setup -q -n %{rname}-%{version}
 %patch0 -p1
+%patch1 -p0
+
+sed -i -e 's#sr at Latn#sr at latin#' po/LINGUAS
+mv po/sr@{Latn,latin}.po
 
 %build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	--disable-schemas-install \
 	--disable-static \
 	--with-evolution-source-dir=%{_includedir}/evolution-%{evo_ver}
+
 %{__make}
 
 %install
@@ -72,14 +97,11 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
-	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
-	autostartdir=%{_datadir}/gnome/autostart
+	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/%{evo_ver}/plugins/*.la
 
-[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr at latin ] || \
-	mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
-%find_lang %{rname} --all-name --with-gnome
+%find_lang %{rname} --all-name --with-gnome --with-omf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -87,23 +109,26 @@
 %post
 %scrollkeeper_update_post
 %gconf_schema_install mail-notification.schemas
+%update_icon_cache hicolor
 
 %preun
 %gconf_schema_uninstall mail-notification.schemas
 
 %postun
 %scrollkeeper_update_postun
+%update_icon_cache hicolor
 
 %files -f %{rname}.lang
 %defattr(644,root,root,755)
 %doc NEWS README TODO
 %attr(755,root,root) %{_bindir}/mail-notification
-%{_datadir}/%{rname}
-%{_datadir}/gnome/autostart/mail-notification.desktop
-%{_desktopdir}/*.desktop
-%{_libdir}/bonobo/servers/*
-%{_omf_dest_dir}/%{rname}
-%{_iconsdir}/*/*/*/*
+%{_datadir}/mail-notification
+%{_sysconfdir}/xdg/autostart/mail-notification.desktop
+%{_desktopdir}/mail-notification-properties.desktop
+%{_libdir}/bonobo/servers/GNOME_MailNotification.server
+%{_libdir}/bonobo/servers/GNOME_MailNotification_Evolution.server
+%{_iconsdir}/hicolor/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.svg
 %{_sysconfdir}/gconf/schemas/mail-notification.schemas
 
 %files -n evolution-plugin-mail-notification
@@ -117,6 +142,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2008-03-14 21:43:27  megabajt
+- added -eelfix.patch
+- proper license (GPL v3)
+
 Revision 1.43  2008-03-01 20:42:28  qboosh
 - cleanup
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gnome-mail-notification.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list