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