]> git.pld-linux.org Git - packages/shotwell.git/blame - shotwell.spec
Update to 0.20.2
[packages/shotwell.git] / shotwell.spec
CommitLineData
ef4a4c23
MB
1Summary: Photo manager for GNOME
2Name: shotwell
bdea6d84 3Version: 0.20.2
76a9c8e4 4Release: 1
ef4a4c23
MB
5License: LGPL v2+ and CC-BY-SA
6Group: X11/Applications
add30512 7Source0: http://ftp.gnome.org/pub/GNOME/sources/shotwell/0.20/%{name}-%{version}.tar.xz
bdea6d84 8# Source0-md5: 0adb93edba5832c6572e2c851c5c920f
16625d9e 9Patch0: %{name}-cflags.patch
558cb62b 10URL: http://www.yorba.org/projects/shotwell/
cbd0b1ac 11# The dependencies are listed in Makefile
385f8f1c 12BuildRequires: atk-devel
6cdc458b 13BuildRequires: bash
ef4a4c23 14BuildRequires: gettext-devel
2336a66e 15BuildRequires: gexiv2-devel
add30512 16BuildRequires: glib2-devel >= 2.32.0
385f8f1c
MB
17BuildRequires: gstreamer-devel >= 1.0.0
18BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
19BuildRequires: gtk+3-devel >= 3.6
cbd0b1ac
JK
20BuildRequires: gtk-webkit3-devel >= 1.4.0
21BuildRequires: json-glib-devel >= 0.6.16
ef4a4c23 22BuildRequires: libexif-devel >= 0.6.16
385f8f1c 23BuildRequires: libgee-devel >= 0.8.5
ef4a4c23 24BuildRequires: libgphoto2-devel >= 2.4.2
0bc3d124 25BuildRequires: libraw-devel >= 0.14.7-2
ef4a4c23 26BuildRequires: libsoup-devel >= 2.26.0
ef4a4c23 27BuildRequires: libxml2-devel >= 1:2.6.32
6cdc458b 28BuildRequires: m4
ef4a4c23 29BuildRequires: pkgconfig
57bbc534 30BuildRequires: rest-devel >= 0.7
ef4a4c23
MB
31BuildRequires: rpmbuild(macros) >= 1.311
32BuildRequires: sqlite3-devel >= 3.5.9
33BuildRequires: udev-glib-devel >= 145
385f8f1c 34BuildRequires: vala >= 1:0.20.1
7eebc5c3 35BuildRequires: vala-gexiv2 >= 0.4.90
385f8f1c 36BuildRequires: vala-libgee >= 0.8.5
ef4a4c23 37Requires(post,postun): desktop-file-utils
3352f896 38Requires(post,postun): glib2 >= 1:2.26.0
a7666439
AF
39Requires(post,postun): gtk-update-icon-cache
40Requires(post,postun): hicolor-icon-theme
ef4a4c23
MB
41Requires: hicolor-icon-theme
42BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44%description
45Shotwell is a digital photo organizer designed for the GNOME desktop
46environment. It allows you to import photos from disk or camera,
47organize them in various ways, view them in full-window or fullscreen
48mode, and export them to share with others.
49
50%prep
51%setup -q
57bbc534 52%patch0 -p1
ef4a4c23
MB
53
54%build
6cdc458b 55# this is not autoconf generated
ef4a4c23
MB
56./configure \
57 --prefix=%{_prefix} \
6426964a 58 --lib=%{_lib} \
385f8f1c 59 --libexec=%{_libexecdir} \
ef4a4c23
MB
60 --disable-desktop-update \
61 --disable-icon-update
16625d9e 62
ef4a4c23
MB
63%{__make} \
64 CC="%{__cc}" \
57bbc534 65 RPMCFLAGS="%{rpmcflags}"
ef4a4c23
MB
66
67%install
68rm -rf $RPM_BUILD_ROOT
69
70%{__make} install \
6426964a 71 DESTDIR=$RPM_BUILD_ROOT
16625d9e 72
c88ae34c 73%find_lang shotwell --with-gnome
ef4a4c23 74
73407465 75%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled
57bbc534 76
ef4a4c23
MB
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post
ef4a4c23
MB
81%update_icon_cache hicolor
82%update_desktop_database
3352f896 83%glib_compile_schemas
ef4a4c23 84
ef4a4c23
MB
85%postun
86%update_icon_cache hicolor
87%update_desktop_database_postun
3352f896 88%glib_compile_schemas
ef4a4c23 89
558cb62b 90%files -f shotwell.lang
ef4a4c23
MB
91%defattr(644,root,root,755)
92%doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
fb983c00 93%attr(755,root,root) %{_bindir}/shotwell*
16625d9e
JK
94%{_desktopdir}/%{name}-viewer.desktop
95%{_desktopdir}/%{name}.desktop
385f8f1c
MB
96%attr(755,root,root) %{_libexecdir}/shotwell-settings-migrator
97%attr(755,root,root) %{_libexecdir}/shotwell-video-thumbnailer
98%{_datadir}/appdata/shotwell.appdata.xml
16625d9e 99%{_datadir}/%{name}
9efefa8e 100%{_datadir}/GConf/gsettings/*.convert
101%{_datadir}/glib-2.0/schemas/*.gschema.xml
16625d9e
JK
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
ef4a4c23 108%{_iconsdir}/hicolor/*/*/*.svg
This page took 0.106986 seconds and 4 git commands to generate.