1 Summary: Photo manager for GNOME
5 License: LGPL v2+ and CC-BY-SA
6 Group: X11/Applications
7 Source0: http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.20/%{name}-%{version}.tar.xz
8 # Source0-md5: 0adb93edba5832c6572e2c851c5c920f
9 Patch0: %{name}-cflags.patch
10 URL: http://www.yorba.org/projects/shotwell/
11 # The dependencies are listed in Makefile
12 BuildRequires: atk-devel
14 BuildRequires: gettext-devel
15 BuildRequires: gexiv2-devel
16 BuildRequires: glib2-devel >= 2.32.0
17 BuildRequires: gstreamer-devel >= 1.0.0
18 BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
19 BuildRequires: gtk+3-devel >= 3.6
20 BuildRequires: gtk-webkit3-devel >= 1.4.0
21 BuildRequires: json-glib-devel >= 0.6.16
22 BuildRequires: libexif-devel >= 0.6.16
23 BuildRequires: libgee-devel >= 0.8.5
24 BuildRequires: libgphoto2-devel >= 2.4.2
25 BuildRequires: libraw-devel >= 0.14.7-2
26 BuildRequires: libsoup-devel >= 2.26.0
27 BuildRequires: libxml2-devel >= 1:2.6.32
29 BuildRequires: pkgconfig
30 BuildRequires: rest-devel >= 0.7
31 BuildRequires: rpmbuild(macros) >= 1.311
32 BuildRequires: sqlite3-devel >= 3.5.9
33 BuildRequires: udev-glib-devel >= 145
34 BuildRequires: vala >= 1:0.20.1
35 BuildRequires: vala-gexiv2 >= 0.4.90
36 BuildRequires: vala-libgee >= 0.8.5
37 Requires(post,postun): desktop-file-utils
38 Requires(post,postun): glib2 >= 1:2.26.0
39 Requires(post,postun): gtk-update-icon-cache
40 Requires(post,postun): hicolor-icon-theme
41 Requires: hicolor-icon-theme
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Shotwell is a digital photo organizer designed for the GNOME desktop
46 environment. It allows you to import photos from disk or camera,
47 organize them in various ways, view them in full-window or fullscreen
48 mode, and export them to share with others.
55 # this is not autoconf generated
59 --libexec=%{_libexecdir} \
60 --disable-desktop-update \
65 RPMCFLAGS="%{rpmcflags}"
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 %find_lang shotwell --with-gnome
75 %{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled
78 rm -rf $RPM_BUILD_ROOT
81 %update_icon_cache hicolor
82 %update_desktop_database
86 %update_icon_cache hicolor
87 %update_desktop_database_postun
90 %files -f shotwell.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
93 %attr(755,root,root) %{_bindir}/shotwell*
94 %{_desktopdir}/%{name}-viewer.desktop
95 %{_desktopdir}/%{name}.desktop
96 %attr(755,root,root) %{_libexecdir}/shotwell-settings-migrator
97 %attr(755,root,root) %{_libexecdir}/shotwell-video-thumbnailer
98 %{_datadir}/appdata/shotwell.appdata.xml
100 %{_datadir}/GConf/gsettings/*.convert
101 %{_datadir}/glib-2.0/schemas/*.gschema.xml
102 %dir %{_libdir}/%{name}
103 %dir %{_libdir}/%{name}/plugins
104 %dir %{_libdir}/%{name}/plugins/builtin
105 %{_libdir}/%{name}/plugins/builtin/*.png
106 %{_libdir}/%{name}/plugins/builtin/*.glade
107 %attr(755,root,root) %{_libdir}/%{name}/plugins/builtin/*.so
108 %{_iconsdir}/hicolor/*/*/*.svg