Summary: Photo manager for GNOME
+Summary(pl.UTF-8): Zarządca zdjęć dla GNOME
Name: shotwell
-Version: 0.20.2
-Release: 2
+Version: 0.22.0
+Release: 1
License: LGPL v2+ and CC-BY-SA
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.20/%{name}-%{version}.tar.xz
-# Source0-md5: 0adb93edba5832c6572e2c851c5c920f
+Source0: http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.22/%{name}-%{version}.tar.xz
+# Source0-md5: 18421a67a1b859caf8542777a42b9ce3
Patch0: %{name}-cflags.patch
-URL: http://www.yorba.org/projects/shotwell/
+Patch1: %{name}-plugins.patch
+URL: https://wiki.gnome.org/Apps/Shotwell
# The dependencies are listed in Makefile
BuildRequires: atk-devel
BuildRequires: bash
BuildRequires: gettext-tools
-BuildRequires: gexiv2-devel
-BuildRequires: glib2-devel >= 2.32.0
+BuildRequires: gexiv2-devel >= 0.4.90
+BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gnome-doc-utils
BuildRequires: gstreamer-devel >= 1.0.0
BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
-BuildRequires: gtk+3-devel >= 3.6
+BuildRequires: gtk+3-devel >= 3.12.2
BuildRequires: gtk-webkit3-devel >= 1.4.0
BuildRequires: json-glib-devel >= 0.6.16
-BuildRequires: libexif-devel >= 0.6.16
+BuildRequires: libexif-devel >= 1:0.6.16
BuildRequires: libgee-devel >= 0.8.5
BuildRequires: libgphoto2-devel >= 2.4.2
BuildRequires: libraw-devel >= 0.14.7-2
BuildRequires: rest-devel >= 0.7
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: sqlite3-devel >= 3.5.9
-BuildRequires: udev-glib-devel >= 145
+BuildRequires: udev-glib-devel >= 1:145
BuildRequires: vala >= 1:0.20.1
BuildRequires: vala-gexiv2 >= 0.4.90
BuildRequires: vala-libgee >= 0.8.5
Requires(post,postun): glib2 >= 1:2.26.0
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
+Requires: glib2 >= 1:2.32.0
+Requires: gtk+3 >= 3.12.2
+Requires: gtk-webkit3 >= 1.4.0
Requires: hicolor-icon-theme
+Requires: libexif >= 1:0.6.16
+Requires: libgphoto2 >= 2.4.2
+Requires: libraw >= 0.14.7-2
+Requires: libsoup >= 2.26.0
+Requires: libxml2 >= 1:2.6.32
+Requires: sqlite3 >= 3.5.9
+Requires: udev-glib >= 1:145
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
organize them in various ways, view them in full-window or fullscreen
mode, and export them to share with others.
+%description -l pl.UTF-8
+Shotwell to organizator zdjęć cyfrowych, zaprojektowany dla środowiska
+graficznego GNOME. Pozwala importować zdjęcia z dysku lub aparatu,
+organizować je na różne sposoby, przeglądać w trybie okienkowym lub
+pełnoekranowym oraz eksportować, aby podzielić się nimi z innymi.
+
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
# this is not autoconf generated
%files -f shotwell.lang
%defattr(644,root,root,755)
%doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
-%attr(755,root,root) %{_bindir}/shotwell*
+%attr(755,root,root) %{_bindir}/shotwell
%{_desktopdir}/%{name}-viewer.desktop
%{_desktopdir}/%{name}.desktop
%attr(755,root,root) %{_libexecdir}/shotwell-settings-migrator
%attr(755,root,root) %{_libexecdir}/shotwell-video-thumbnailer
%{_datadir}/appdata/shotwell.appdata.xml
%{_datadir}/%{name}
-%{_datadir}/GConf/gsettings/*.convert
-%{_datadir}/glib-2.0/schemas/*.gschema.xml
+%{_datadir}/GConf/gsettings/shotwell.convert
+%{_datadir}/glib-2.0/schemas/org.yorba.shotwell.gschema.xml
+%{_datadir}/glib-2.0/schemas/org.yorba.shotwell-extras.gschema.xml
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/plugins
%dir %{_libdir}/%{name}/plugins/builtin
%{_libdir}/%{name}/plugins/builtin/*.png
%{_libdir}/%{name}/plugins/builtin/*.glade
%attr(755,root,root) %{_libdir}/%{name}/plugins/builtin/*.so
-%{_iconsdir}/hicolor/*/*/*.svg
+%{_iconsdir}/hicolor/*/apps/shotwell.svg