Blame SPECS/gnome-documents.spec

cd0455
%define evince_version 3.13.3
cd0455
%define gtk3_version 3.13.2
d4f982
d4f982
Name:           gnome-documents
cd0455
Version:        3.14.3
cd0455
Release:        2%{?dist}
d4f982
Summary:        A document manager application for GNOME
d4f982
d4f982
License:        GPLv2+
d4f982
URL:            https://live.gnome.org/Design/Apps/Documents
cd0455
Source0:        http://download.gnome.org/sources/%{name}/3.14/%{name}-%{version}.tar.xz
cd0455
cd0455
# https://bugzilla.redhat.com/show_bug.cgi?id=1057160
cd0455
Patch0:         gnome-documents-show-a-back-button-while-loading.patch
cd0455
242d67
Patch100:       translations.patch
d4f982
cd0455
BuildRequires:  evince-devel >= %{evince_version}
cd0455
BuildRequires:  gtk3-devel >= %{gtk3_version}
d4f982
BuildRequires:  intltool
d4f982
BuildRequires:  libgdata-devel
d4f982
BuildRequires:  gnome-desktop3-devel
d4f982
BuildRequires:  liboauth-devel
d4f982
BuildRequires:  gnome-online-accounts-devel
cd0455
BuildRequires:  tracker-devel >= 0.17.0
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
cd0455
Requires:       evince-libs%{?_isa} >= %{evince_version}
cd0455
Requires:       gtk3%{?_isa} >= %{gtk3_version}
cd0455
Requires:       gnome-online-miners
cd0455
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
cd0455
%patch0 -p1 -b .back-button-loading
cd0455
%patch100 -p1 -b .translations
d4f982
d4f982
%build
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 {} ';'
cd0455
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.Documents.desktop
cd0455
%find_lang %{name} --with-gnome
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}
cd0455
%{_datadir}/appdata/org.gnome.Documents.appdata.xml
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/
cd0455
%{_mandir}/man1/%{name}.1.gz
d4f982
# co-own these directories
d4f982
%dir %{_datadir}/gnome-shell
d4f982
%dir %{_datadir}/gnome-shell/search-providers
cd0455
%{_datadir}/gnome-shell/search-providers/org.gnome.Documents.search-provider.ini
d4f982
d4f982
%changelog
cd0455
* Wed May 20 2015 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-2
cd0455
- Show a back button when loading
cd0455
  Resolves: #1057160
cd0455
cd0455
* Fri May 15 2015 Debarshi Ray <rishi@fedoraproject.org> - 3.14.3-1
cd0455
- Update to 3.14.3
cd0455
  Update translations
cd0455
  Resolves: #1174601
cd0455
cd0455
* Mon Mar 23 2015 Richard Hughes <rhughes@redhat.com> - 3.14.2-1
cd0455
- Update to 3.14.2
cd0455
  Resolves: #1174601
cd0455
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