f259a4
Name:           gnote
f259a4
Version:        3.28.0
f259a4
Release:        1%{?dist}
f259a4
Summary:        Note-taking application
f259a4
f259a4
License:        GPLv3+
f259a4
URL:            https://wiki.gnome.org/Apps/Gnote
f259a4
Source0:        https://download.gnome.org/sources/gnote/3.28/%{name}-%{version}.tar.xz
f259a4
f259a4
BuildRequires:  boost-devel
f259a4
BuildRequires:  desktop-file-utils
f259a4
BuildRequires:  gettext
f259a4
BuildRequires:  gtkmm30-devel
f259a4
BuildRequires:  gtkspell3-devel
f259a4
BuildRequires:  intltool
f259a4
BuildRequires:  itstool
f259a4
BuildRequires:  libsecret-devel
f259a4
BuildRequires:  libuuid-devel
f259a4
BuildRequires:  libxml2-devel
f259a4
BuildRequires:  libxslt-devel
f259a4
BuildRequires:  pcre-devel
f259a4
BuildRequires:  gcc-c++
f259a4
f259a4
%global __provides_exclude_from ^%{_libdir}/%{name}/addins
f259a4
f259a4
%description
f259a4
Gnote is a desktop note-taking application which is simple and easy to use.
f259a4
It lets you organize your notes intelligently by allowing you to easily link
f259a4
ideas together with Wiki style interconnects. It is a port of Tomboy to C++ 
f259a4
and consumes fewer resources.
f259a4
f259a4
%prep
f259a4
%setup -q
f259a4
f259a4
%build
f259a4
%configure --disable-static --with-gnu-ld
f259a4
%make_build V=1
f259a4
f259a4
%install
f259a4
%make_install
f259a4
f259a4
find %{buildroot} -type f -name "*.la" -delete
f259a4
f259a4
%find_lang %{name} --with-gnome
f259a4
f259a4
%check
f259a4
desktop-file-validate %{buildroot}%{_datadir}/applications/gnote.desktop
f259a4
f259a4
%post
f259a4
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
f259a4
/sbin/ldconfig
f259a4
f259a4
%postun
f259a4
if [ $1 -eq 0 ] ; then
f259a4
    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
f259a4
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
f259a4
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
f259a4
fi
f259a4
/sbin/ldconfig
f259a4
f259a4
%posttrans
f259a4
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
f259a4
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
f259a4
f259a4
%files -f %{name}.lang
f259a4
%license COPYING
f259a4
%doc README TODO NEWS AUTHORS
f259a4
%{_bindir}/gnote
f259a4
%{_mandir}/man1/gnote.1.gz
f259a4
%{_datadir}/applications/gnote.desktop
f259a4
%{_datadir}/gnote/
f259a4
%{_datadir}/icons/hicolor/*/apps/gnote.png
f259a4
%{_datadir}/icons/hicolor/scalable/apps/gnote.svg
f259a4
%exclude %{_libdir}/libgnote.so
f259a4
%{_libdir}/gnote/
f259a4
%{_libdir}/libgnote*
f259a4
%{_datadir}/dbus-1/services/org.gnome.Gnote.service
f259a4
%{_datadir}/glib-2.0/schemas/org.gnome.gnote.gschema.xml
f259a4
%dir %{_datadir}/gnome-shell/
f259a4
%dir %{_datadir}/gnome-shell/search-providers/
f259a4
%{_datadir}/gnome-shell/search-providers/gnote-search-provider.ini
f259a4
%{_datadir}/metainfo/gnote.appdata.xml
f259a4
f259a4
%changelog
f259a4
* Fri Jun 08 2018 Richard Hughes <rhughes@redhat.com> - 3.28.0-1
f259a4
- Update to 3.28.0
f259a4
- Resolves: #1569730
f259a4
f259a4
* Tue Mar  7 2017 Matthias Clasen <mclasen@redhat.com> - 3.22.1-1
f259a4
- Rebase to 3.22.1
f259a4
  Resolves: rhbz#1386971
f259a4
f259a4
* Fri Jul 01 2016 Kalev Lember <klember@redhat.com> - 3.8.1-4
f259a4
- Update translations
f259a4
- Resolves: #1030355
f259a4
f259a4
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.1-3
f259a4
- Mass rebuild 2014-01-24
f259a4
f259a4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.1-2
f259a4
- Mass rebuild 2013-12-27
f259a4
f259a4
* Mon May 13 2013 Kalev Lember <kalevlember@gmail.com> 3.8.1-1
f259a4
- Update to 3.8.1
f259a4
f259a4
* Wed Mar 27 2013 Kalev Lember <kalevlember@gmail.com> 3.8.0-1
f259a4
- Update to 3.8.0
f259a4
f259a4
* Thu Mar 07 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-5
f259a4
- Complete patch. Tested as scratch build. Builds!
f259a4
f259a4
* Tue Mar 05 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-4
f259a4
- Spec bump, update patch, retry build
f259a4
f259a4
* Tue Mar 05 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-3
f259a4
- Spec bump
f259a4
f259a4
* Tue Mar 05 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-2
f259a4
- Add patch for missing -lpthread that broke koji build
f259a4
f259a4
* Tue Mar 05 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.3-1
f259a4
- Update to 3.7.3 rhbz#917584
f259a4
- Add gtkspell3 to BR for spell check support
f259a4
f259a4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7.2-2
f259a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f259a4
f259a4
* Mon Jan 21 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 3.7.2-1
f259a4
- Update to latest: 3.7.2
f259a4
f259a4
* Fri Nov 09 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.0-1
f259a4
- Update to 3.7.0
f259a4
f259a4
* Wed Sep 26 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.0-1
f259a4
- Update to 3.6.0
f259a4
- Use desktop-file-validate
f259a4
f259a4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-2
f259a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f259a4
f259a4
* Sun Jul  8 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.1-1
f259a4
- update to 0.9.1
f259a4
- http://ftp.gnome.org/pub/GNOME/sources/gnote/0.9/gnote-0.9.1.news
f259a4
f259a4
* Thu Mar 29 2012 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.0-1
f259a4
- update to 0.9.0
f259a4
- https://mail.gnome.org/archives/gnote-list/2012-March/msg00000.html
f259a4
f259a4
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 0.8.2-3
f259a4
- Rebuild against PCRE 8.30
f259a4
f259a4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
f259a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f259a4
f259a4
* Fri Dec 30 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.2-1
f259a4
- update to 0.8.2
f259a4
- https://mail.gnome.org/archives/gnote-list/2011-December/msg00001.html
f259a4
f259a4
* Sun Oct 24 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.8.0-2
f259a4
- Update scriplets for gsettings schema and icon cache. Fixes rhbz#743580
f259a4
- Drop obsolete dependency on Gconf and dbus-c++-devel
f259a4
- Update build requires to gtkmm30-devel instead of gtkmm24-devel
f259a4
- Fix source url
f259a4
f259a4
* Wed Sep 28 2011 Ray <rstrode@redhat.com> - 0.8.0-1
f259a4
- Update to 0.8.0
f259a4
f259a4
* Tue Aug 02 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.5-1
f259a4
- New upstream release
f259a4
- http://mail.gnome.org/archives/gnote-list/2011-July/msg00001.html
f259a4
- Drop all patches since they are now upstream
f259a4
f259a4
* Sun May 01 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.4-1
f259a4
- New upstream bug fix release
f259a4
- http://mail.gnome.org/archives/gnote-list/2011-April/msg00011.html
f259a4
- Drop couple of no longer needed patches
f259a4
f259a4
* Sun Apr 17 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.3-9
f259a4
- Rebuilt for Boost soname bump
f259a4
- Added rarian-compat as build requires
f259a4
f259a4
* Thu Feb 10 2011 Bastien Nocera <bnocera@redhat.com> 0.7.3-8
f259a4
- Make sure that gnote shows up on first launch
f259a4
f259a4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-7
f259a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f259a4
f259a4
* Sun Feb  6 2011 Michel Salim <salimma@fedoraproject.org> - 0.7.3-6
f259a4
- Rebuild for Boost 1.46
f259a4
f259a4
* Thu Feb 03 2011 Bastien Nocera <bnocera@redhat.com> 0.7.3-5
f259a4
- Disable panel applet
f259a4
- Rebuild against newer GTK+
f259a4
- Add patch from Petr Machata <pmachata@redhat.com> to fix the build
f259a4
f259a4
* Fri Dec 17 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.3-4
f259a4
- Add the patch
f259a4
f259a4
* Fri Dec 17 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.3-3
f259a4
- Fix gnote losing add-in status when running as app
f259a4
- Resolves rhbz#654562
f259a4
f259a4
* Sat Nov 06 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.3-2
f259a4
- Explicit build requires on libxslt-devel
f259a4
f259a4
* Sat Nov 06 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.3-1
f259a4
- New upstream bug fix release with translation updates
f259a4
- http://mail.gnome.org/archives/gnote-list/2010-November/msg00002.html
f259a4
- Drop backported patch
f259a4
f259a4
* Fri Jul 30 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.2-2
f259a4
- Rebuild for Boost 1.44
f259a4
- Drop the clean section
f259a4
f259a4
* Fri Mar 12 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.2-1
f259a4
- Ability to search for phrases, prompt while renaming notes, bug fixes
f259a4
- Add a patch from upstream master to replace deprecated macros 
f259a4
- Drop upstreamed patch to fix dso linking
f259a4
- http://mail.gnome.org/archives/gnote-list/2010-March/msg00010.html
f259a4
f259a4
* Tue Feb 16 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.1-3
f259a4
- Fix implicit DSO linking (thanks to Ankur Sinha)
f259a4
- Fixes bz#564774
f259a4
f259a4
* Wed Jan 20 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.1-2
f259a4
- Rebuild for new Boost soname bump
f259a4
f259a4
* Tue Jan 05 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.1-1
f259a4
- Mostly minor bug fixes
f259a4
- http://mail.gnome.org/archives/gnote-list/2010-January/msg00004.html
f259a4
f259a4
* Fri Jan 01 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.7.0-1
f259a4
- Add a Note of the Day addin, addins can be disabled now
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-December/msg00013.html
f259a4
f259a4
* Tue Dec 29 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.3-3
f259a4
- Upstream patches adding a fix for Bugzilla add-in and other minor bug fixes
f259a4
f259a4
* Tue Dec 22 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.3-2
f259a4
- Several patches from upstream for additional translations
f259a4
- Gnote now confirm to XDG specification
f259a4
f259a4
* Tue Dec 01 2009 Bastien Nocera <bnocera@redhat.com> 0.6.3-1
f259a4
- Update to 0.6.3
f259a4
f259a4
* Thu Aug 13 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.2-1
f259a4
- Very minor bug fixes
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-August/msg00006.html
f259a4
f259a4
* Sat Aug 01 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.6.1-1
f259a4
- D-Bus support enabled, many new features and bug fixes
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-July/msg00016.html
f259a4
- 0.6.0 skipped due to applet breakage fixed in this release
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-July/msg00020.html
f259a4
f259a4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-2
f259a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f259a4
f259a4
* Wed Jul 15 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.3-1
f259a4
- Few minor bug fixes
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-July/msg00002.html
f259a4
f259a4
* Sat Jul 04 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.2-2
f259a4
- Build requires libuuid-devel instead of e2fsprogs-devel
f259a4
f259a4
* Sat Jul 04 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.2-1
f259a4
- New upstream bug fix release
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-July/msg00000.html
f259a4
f259a4
* Thu Jun 25 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.1-1
f259a4
- Fixes a regression and some bugs
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-June/msg00002.html
f259a4
f259a4
* Wed Jun 17 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.5.0-1
f259a4
- Adds the ability to import Tomboy notes on first run 
f259a4
- http://mail.gnome.org/archives/gnote-list/2009-June/msg00000.html
f259a4
 
f259a4
* Thu May 28 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.4.0-1
f259a4
- Many minor bug fixes from new upstream release
f259a4
  http://www.figuiere.net/hub/blog/?2009/05/27/670-gnote-040
f259a4
f259a4
* Wed May 06 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.3.1-1
f259a4
- new upstream release. Fixes rhbz #498739. Fix #499227
f259a4
f259a4
* Fri May 01 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.3.0-1
f259a4
- new upstream release. Includes applet and more plugins.
f259a4
f259a4
* Fri Apr 24 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.2.0-2
f259a4
- enable spell checker
f259a4
f259a4
* Thu Apr 23 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.2.0-1
f259a4
- new upstream release
f259a4
f259a4
* Thu Apr 16 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.2-2
f259a4
- Add BR on gnome-doc-utils
f259a4
f259a4
* Wed Apr 15 2009 Jesse Keating <jkeating@redhat.com> - 0.1.2-1
f259a4
- Update to 0.1.2 to fix many upstream bugs
f259a4
  http://www.figuiere.net/hub/blog/?2009/04/15/660-gnote-012
f259a4
f259a4
* Fri Apr 10 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.1-4
f259a4
- Drop a unnecessary require, BR and fix summary
f259a4
f259a4
* Wed Apr 08 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.1-3
f259a4
- Fix review issues
f259a4
f259a4
* Wed Apr 08 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.1-2
f259a4
- include pre script for gconf schema
f259a4
f259a4
* Wed Apr 08 2009 Rahul Sundaram <sundaram@fedoraproject.org> - 0.1.1-1
f259a4
- Initial spec file
f259a4