Blame SPECS/gnome-documents.spec

d4f982
%define evince_version 3.3.92
d4f982
d4f982
Name:           gnome-documents
d4f982
Version:        3.8.5
242d67
Release:        10%{?dist}
d4f982
Summary:        A document manager application for GNOME
d4f982
d4f982
License:        GPLv2+
d4f982
URL:            https://live.gnome.org/Design/Apps/Documents
d4f982
Source0:        http://ftp.acc.umu.se/pub/GNOME/sources/%{name}/3.8/%{name}-%{version}.tar.xz
d4f982
d4f982
# https://bugzilla.gnome.org/show_bug.cgi?id=700716
d4f982
Patch0:         0001-Support-previewing-of-password-protected-PDFs.patch
242d67
# https://bugzilla.redhat.com/show_bug.cgi?id=1056032
242d67
Patch1:         0002-Protect-against-spurious-view-as-signals.patch
242d67
# https://bugzilla.redhat.com/show_bug.cgi?id=1062299
242d67
Patch2:         0003-documents-Miscellaneous-printing-fixes.patch
242d67
# https://bugzilla.redhat.com/show_bug.cgi?id=1035573
242d67
Patch3:         0004-documents.js-Use-decimal-instead-of-octal-literal.patch
242d67
# https://bugzilla.redhat.com/show_bug.cgi?id=1062608
242d67
Patch4:         0005-documents-Let-DocCommon-children-indicate-whether-th.patch
242d67
# https://bugzilla.redhat.com/show_bug.cgi?id=1073383
242d67
Patch5:         0006-places-bookmarks-UTF-8-characters-may-take-more-than.patch
242d67
242d67
# https://bugzilla.redhat.com/show_bug.cgi?id=1030340
242d67
Patch100:       translations.patch
d4f982
d4f982
BuildRequires:  autoconf
d4f982
BuildRequires:  intltool
d4f982
BuildRequires:  libgdata-devel
d4f982
BuildRequires:  gnome-desktop3-devel
d4f982
BuildRequires:  liboauth-devel
d4f982
BuildRequires:  evince-devel >= %{evince_version}
d4f982
BuildRequires:  gnome-online-accounts-devel
d4f982
BuildRequires:  tracker-devel
d4f982
BuildRequires:  desktop-file-utils
d4f982
BuildRequires:  gjs-devel
d4f982
BuildRequires:  libzapojit-devel
d4f982
BuildRequires:  webkitgtk3-devel
d4f982
BuildRequires:  itstool
d4f982
BuildRequires:  inkscape
d4f982
BuildRequires:  poppler-utils
d4f982
BuildRequires:  docbook-style-xsl
d4f982
d4f982
%description
d4f982
gnome-documents is a document manager application for GNOME,
d4f982
aiming to be a simple and elegant replacement for using Files to show
d4f982
the Documents directory.
d4f982
d4f982
%prep
d4f982
%setup -q
d4f982
%patch0 -p1
242d67
%patch1 -p1
242d67
%patch2 -p1
242d67
%patch3 -p1
242d67
%patch4 -p1
242d67
%patch5 -p1
242d67
%patch100 -p2
d4f982
d4f982
%build
d4f982
autoreconf -fi
d4f982
intltoolize --automake -f
d4f982
d4f982
%configure --disable-static --enable-getting-started
d4f982
make %{?_smp_mflags}
d4f982
d4f982
%install
d4f982
make install DESTDIR=$RPM_BUILD_ROOT
d4f982
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
d4f982
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
d4f982
%find_lang %{name}
d4f982
d4f982
d4f982
%post
d4f982
/sbin/ldconfig
d4f982
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
d4f982
d4f982
d4f982
%postun
d4f982
/sbin/ldconfig
d4f982
if [ $1 -eq 0 ] ; then
d4f982
    touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
d4f982
    gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
d4f982
    /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
d4f982
fi
d4f982
d4f982
%posttrans
d4f982
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
d4f982
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
d4f982
d4f982
%files -f %{name}.lang
d4f982
%doc README AUTHORS NEWS TODO COPYING
d4f982
%{_datadir}/%{name}
d4f982
%{_bindir}/%{name}
d4f982
%{_libexecdir}/*
d4f982
%{_datadir}/dbus-1/services/*
d4f982
%{_datadir}/glib-2.0/schemas/*
d4f982
%{_datadir}/applications/*
d4f982
%{_datadir}/icons/hicolor/*/apps/gnome-documents.png
d4f982
%{_libdir}/gnome-documents/
d4f982
# co-own these directories
d4f982
%dir %{_datadir}/gnome-shell
d4f982
%dir %{_datadir}/gnome-shell/search-providers
d4f982
%{_datadir}/gnome-shell/search-providers/gnome-documents-search-provider.ini
d4f982
%{_mandir}/man1/gnome-documents.1.gz
d4f982
d4f982
%changelog
242d67
* Fri Mar  7 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-10
242d67
- get_pretty_name mixes up ASCII and UTF8 characters
242d67
  Resolves: #1073383
242d67
242d67
* Wed Feb 26 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-9
242d67
- The sharing dialog is Google specific
242d67
  Resolves: #1062608
242d67
242d67
* Tue Feb 25 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-8
242d67
- Fix the patch to preview encrypted PDFs
242d67
- Fix the patch to protect against spurious view-as signals
242d67
  Resolves: #959175
242d67
242d67
* Tue Feb 11 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-7
242d67
- Use decimal instead of octal literal
242d67
  Resolves: #1035573
242d67
242d67
* Tue Feb 11 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-6
242d67
- No indication of a document failing to print
242d67
  Resolves: #162299
242d67
242d67
* Mon Feb 10 2014 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-5
242d67
- Protect against spurious changed::view-as signals
242d67
  Resolves: #1056032
242d67
242d67
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.8.5-4
242d67
- Mass rebuild 2014-01-24
242d67
242d67
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.8.5-3
242d67
- Mass rebuild 2013-12-27
242d67
242d67
* Wed Dec 11 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.5-2
242d67
- Update translations
242d67
  Resolves: #1030340
242d67
d4f982
* Thu Oct 24 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.5-1
d4f982
- Update to 3.8.5
d4f982
d4f982
* Fri Aug 30 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.4-1
d4f982
- Update to 3.8.4
d4f982
d4f982
* Thu Jul 11 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.3.1-2
d4f982
- Backport support for previewing password protected PDFs (GNOME #700716)
d4f982
d4f982
* Fri Jun 14 2013 Debarshi Ray <rishi@fedoraproject.org> - 3.8.3.1-1
d4f982
- Update to 3.8.3.1
d4f982
d4f982
* Sun Jun  9 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.3-1
d4f982
- Update to 3.8.3
d4f982
d4f982
* Mon May 13 2013 Matthias Clasen <mclasen@redhat.com> - 3.8.2.1-1
d4f982
- Update to 3.8.2.1
d4f982
d4f982
* Tue Apr 16 2013 Richard Hughes <rhughes@redhat.com> - 3.8.1-1
d4f982
- Update to 3.8.1
d4f982
d4f982
* Thu Mar 28 2013 Cosimo Cecchi <cosimoc@gnome.org> - 3.8.0-2
d4f982
- Enable generation of getting-started tutorial PDF
d4f982
d4f982
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.8.0-1
d4f982
- Update to 3.8.0
d4f982
d4f982
* Wed Mar 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.92-1
d4f982
- Update to 3.7.92
d4f982
d4f982
* Thu Mar  7 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.91-1
d4f982
- Update to 3.7.91
d4f982
d4f982
* Tue Feb 26 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.90-1
d4f982
- Update to 3.7.90
d4f982
d4f982
* Thu Feb 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-3
d4f982
- Rebuilt for cogl soname bump
d4f982
d4f982
* Wed Feb 20 2013 Kalev Lember <kalevlember@gmail.com> - 3.7.5-2
d4f982
- Rebuilt for libgnome-desktop soname bump
d4f982
d4f982
* Thu Feb 07 2013 Richard Hughes <rhughes@redhat.com> - 3.7.5-1
d4f982
- Update to 3.7.5
d4f982
d4f982
* Fri Jan 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 3.7.4-2
d4f982
- Rebuild for new cogl
d4f982
d4f982
* Tue Jan 15 2013 Matthias Clasen <mclasen@redhat.com> - 3.7.4-1
d4f982
- Update to 3.7.4
d4f982
d4f982
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 3.7.3-1
d4f982
- Update to 3.7.3
d4f982
d4f982
* Tue Nov 20 2012 Richard Hughes <hughsient@gmail.com> - 3.7.2-1
d4f982
- Update to 3.7.2
d4f982
d4f982
* Tue Nov 13 2012 Kalev Lember <kalevlember@gmail.com> - 3.6.2-1
d4f982
- Update to 3.6.2
d4f982
d4f982
* Mon Oct 15 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.6.1-1
d4f982
- Update to 3.6.1
d4f982
d4f982
* Tue Sep 25 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.6.0-1
d4f982
- Update to 3.6.0
d4f982
d4f982
* Tue Sep 18 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.5.92-1
d4f982
- Update to 3.5.92
d4f982
d4f982
* Sun Sep 09 2012 Kalev Lember <kalevlember@gmail.com> - 3.5.91-2
d4f982
- Rebuild against new cogl/clutter
d4f982
d4f982
* Tue Sep 04 2012 Cosimo Cecchi <cosimoc@redhat.com> - 3.5.91-1
d4f982
- Update to 3.5.91
d4f982
d4f982
* Tue Aug 28 2012 Matthias Clasen <mclasen@redhat.com> - 3.5.90-2
d4f982
- Rebuild against new cogl/clutter
d4f982
d4f982
* Tue Aug 21 2012 Elad Alfassa <elad@fedoraproject.org> - 3.5.90-1
d4f982
- Update to latest upstream release
d4f982
d4f982
* Fri Aug 10 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.5.5-1
d4f982
- Update to 0.5.5
d4f982
d4f982
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
d4f982
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d4f982
d4f982
* Tue Jul 17 2012 Richard Hughes <hughsient@gmail.com> - 0.5.4-1
d4f982
- Update to 0.5.4
d4f982
d4f982
* Wed Jun 27 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.5.3-1
d4f982
- Update to 0.5.3
d4f982
d4f982
* Thu Jun 07 2012 Matthias Clasen <mclasen@redhat.com> - 0.5.2.1-2
d4f982
- Rebuild
d4f982
d4f982
* Thu Jun 07 2012 Richard Hughes <hughsient@gmail.com> - 0.5.2.1-1
d4f982
- Update to 0.5.2.1
d4f982
d4f982
* Sat May 05 2012 Kalev Lember <kalevlember@gmail.com> - 0.5.1-1
d4f982
- Update to 0.5.1
d4f982
d4f982
* Tue Apr 17 2012 Kalev Lember <kalevlember@gmail.com> - 0.4.1-1
d4f982
- Update to 0.4.1
d4f982
d4f982
* Mon Mar 26 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.4.0.1-1
d4f982
- Update to 0.4.0.1
d4f982
d4f982
* Mon Mar 26 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.4.0-2
d4f982
- Rebuild against current libevdocument3 soname
d4f982
d4f982
* Mon Mar 26 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.4.0-1
d4f982
- Update to 0.4.0
d4f982
d4f982
* Wed Mar 21 2012 Kalev Lember <kalevlember@gmail.com> - 0.3.92-4
d4f982
- Rebuild for libevdocument3 soname bump
d4f982
d4f982
* Tue Mar 20 2012 Adam Williamson <awilliam@redhat.com> - 0.3.92-3
d4f982
- revert unoconv requirement, it pulls LO into the live image
d4f982
d4f982
* Tue Mar 20 2012 Adam Williamson <awilliam@redhat.com> - 0.3.92-2
d4f982
- requires: unoconv (RHBZ #754516)
d4f982
d4f982
* Tue Mar 20 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.3.92-1
d4f982
- Update to 0.3.92
d4f982
d4f982
* Sat Mar 10 2012 Matthias Clasen <mclasen@redhat.com> - 0.3.91-2
d4f982
- Rebuild against new cogl
d4f982
d4f982
* Tue Mar 06 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.3.91-1
d4f982
- Update to 0.3.91
d4f982
d4f982
* Sun Feb 26 2012 Matthias Clasen <mclasen@redhat.com> - 0.3.90-1
d4f982
- Update to 0.3.90
d4f982
d4f982
* Thu Jan 19 2012 Matthias Clasen <mclasen@redhat.com> - 0.3.4-2
d4f982
- Rebuild against new cogl
d4f982
d4f982
* Tue Jan 17 2012 Cosimo Cecchi <cosimoc@redhat.com> - 0.3.4-1
d4f982
- Update to 0.3.4
d4f982
d4f982
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.3-2
d4f982
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d4f982
d4f982
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.3-1
d4f982
- Update to 0.3.3
d4f982
d4f982
* Wed Nov 23 2011 Matthias Clasen <mclasen@redhat.com> - 0.3.2-1
d4f982
- Update to 0.3.2
d4f982
d4f982
* Tue Oct 18 2011 Elad Alfassa <elad@fedoraproject.org> - 0.2.1-1
d4f982
- New upstream release
d4f982
d4f982
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 0.2.0-1
d4f982
- Update to 0.2.0
d4f982
d4f982
* Tue Sep 20 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.92-2
d4f982
- Rebuild against newer clutter
d4f982
d4f982
* Tue Sep 20 2011 Elad Alfassa <elad@fedoraproject.org> - 0.1.92-1
d4f982
- Update to 0.1.92
d4f982
d4f982
* Wed Sep  7 2011 Matthias Clasen <mclasen@redhat.com> - 0.1.91-1
d4f982
- Update to 0.1.91
d4f982
d4f982
* Sat Sep 03 2011 Elad Alfassa <elad@fedoraproject.org> - 0.1.90-2
d4f982
- Fix #735341
d4f982
d4f982
* Fri Sep 02 2011 Elad Alfassa <elad@fedoraproject.org> - 0.1.90-1
d4f982
- Initial packaging.
d4f982