diff --git a/gnote.spec b/gnote.spec index ffc6e64..329f31f 100644 --- a/gnote.spec +++ b/gnote.spec @@ -1,6 +1,6 @@ Name: gnote Version: 0.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Note-taking application Group: User Interface/Desktops License: GPLv3+ @@ -9,24 +9,20 @@ Source0: http://ftp.gnome.org/pub/GNOME/sources/gnote/0.1/gnote-0.1.1.tar BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel libxml++-devel GConf2-devel intltool boost-devel e2fsprogs-devel -BuildRequires: desktop-file-utils dbus-devel -Requires: gtkmm24 +BuildRequires: desktop-file-utils Requires(pre) :GConf2 Requires(post) :GConf2 Requires(preun):GConf2 - - %description Gnote is a desktop note-taking application which is simple and easy to use. It lets you organize your notes intelligently by allowing you to easily link ideas together with Wiki style interconnects. It is a port of Tomboy to C++ -and consumes less resources +and consumes less resources. %prep %setup -q - %build %configure --disable-schemas-install V=1 make %{?_smp_mflags} @@ -39,8 +35,6 @@ desktop-file-install \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/gnote.desktop - - %clean rm -rf $RPM_BUILD_ROOT @@ -51,7 +45,6 @@ if [ "$1" -gt 1 ]; then %{_sysconfdir}/gconf/schemas/gedit.schemas > /dev/null || : fi - %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ @@ -61,7 +54,6 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi - %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` @@ -69,15 +61,12 @@ if [ "$1" -eq 0 ]; then %{_sysconfdir}/gconf/schemas/gnote.schemas >/dev/null; fi - %postun touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then gtk-update-icon-cache -q %{_datadir}/icons/hicolor fi - - %files %defattr(-,root,root,-) %doc COPYING README TODO NEWS AUTHORS @@ -89,9 +78,11 @@ fi %{_datadir}/icons/hicolor/scalable/apps/gnote.svg %{_sysconfdir}/gconf/schemas/gnote.schemas - %changelog +* Fri Apr 10 2009 Rahul Sundaram - 0.1.1-4 +- Drop a unnecessary require, BR and fix summary + * Wed Apr 08 2009 Rahul Sundaram - 0.1.1-3 - Fix review issues