rpms/anjal/devel anjal.spec,1.3,1.4
Peter Robinson
pbrobinson at fedoraproject.org
Fri Aug 21 15:20:32 UTC 2009
Author: pbrobinson
Update of /cvs/pkgs/rpms/anjal/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6611
Modified Files:
anjal.spec
Log Message:
- Add gconf schema and associated spec scriptlets
Index: anjal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anjal/devel/anjal.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- anjal.spec 21 Aug 2009 14:39:22 -0000 1.3
+++ anjal.spec 21 Aug 2009 15:20:32 -0000 1.4
@@ -9,7 +9,7 @@
Name: anjal
Version: 0.1.0
-Release: 0.6.%{snapshot}%{?dist}
+Release: 0.7.%{snapshot}%{?dist}
Summary: An email client for small screen devices
Group: Applications/Productivity
@@ -33,6 +33,10 @@ BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: libtool
+Requires(pre): GConf2
+Requires(post): GConf2
+Requires(preun): GConf2
+
%description
Anjal is a mail client for small screen devices like NetBooks. It
features a nice multi-line message list, with text-preview of the
@@ -47,28 +51,52 @@ all the mail backends including POP3, IM
NOCONFIGURE=yes ./autogen.sh
%build
-%configure --with-mozilla=no --with-anerley
+%configure --with-mozilla=no --with-anerley --disable-schemas
make %{?_smp_mflags} V=1
%install
rm -rf %{buildroot}
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=%{buildroot}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name}
+%pre
+if [ "$1" -gt 1 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+%{_sysconfdir}/gconf/schemas/[NAME] .schemas >/dev/null || :
+fi
+
+%post
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule \
+%{_sysconfdir}/gconf/schemas/[NAME] .schemas > /dev/null || :
+
+%preun
+if [ "$1" -eq 0 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+%{_sysconfdir}/gconf/schemas/[NAME] .schemas > /dev/null || :
+fi
+
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING COPYING.LGPL2 COPYING.LGPL3 TODO README
+%{_sysconfdir}/gconf/schemas/anjal.schemas
%{_bindir}/anjal
%{_datadir}/anjal
%{_datadir}/applications/anjal.desktop
%changelog
+* Fri Aug 21 2009 Peter Robinson <pbrobinson at gmail.com> 0.1.0-0.7
+- Add gconf schema and associated spec scriptlets
+
* Fri Aug 21 2009 Peter Robinson <pbrobinson at gmail.com> 0.1.0-0.6
- Drop upstreamed patch
More information about the fedora-extras-commits
mailing list