]> git.pld-linux.org Git - packages/shotwell.git/blame - shotwell.spec
Version: 0.13.0
[packages/shotwell.git] / shotwell.spec
CommitLineData
ef4a4c23
MB
1Summary: Photo manager for GNOME
2Name: shotwell
0bc3d124 3Version: 0.13.0
7d9edc2a 4Release: 1
ef4a4c23
MB
5License: LGPL v2+ and CC-BY-SA
6Group: X11/Applications
0bc3d124
JK
7Source0: http://yorba.org/download/shotwell/0.13/%{name}-%{version}.tar.xz
8# Source0-md5: c1c3e6744e830b4db38219bb470ade4e
16625d9e 9Patch0: %{name}-cflags.patch
ef4a4c23 10URL: http://yorba.org/shotwell/
cbd0b1ac 11# The dependencies are listed in Makefile
6cdc458b 12BuildRequires: bash
ef4a4c23 13BuildRequires: gettext-devel
2336a66e 14BuildRequires: gexiv2-devel
cbd0b1ac
JK
15BuildRequires: glib2-devel >= 2.30.0
16BuildRequires: gstreamer-devel >= 0.10.28
17BuildRequires: gstreamer-plugins-base-devel >= 0.10.32
18BuildRequires: gtk+3-devel >= 3.0.11
19BuildRequires: gtk-webkit3-devel >= 1.4.0
20BuildRequires: json-glib-devel >= 0.6.16
ef4a4c23 21BuildRequires: libexif-devel >= 0.6.16
ef4a4c23 22BuildRequires: libgphoto2-devel >= 2.4.2
0bc3d124 23BuildRequires: libraw-devel >= 0.14.7-2
ef4a4c23 24BuildRequires: libsoup-devel >= 2.26.0
cbd0b1ac 25BuildRequires: libunique3-devel >= 3.0.0
ef4a4c23
MB
26BuildRequires: libusb-compat-devel
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
0bc3d124 34BuildRequires: vala >= 1:0.17.2
cbd0b1ac 35BuildRequires: vala-gexiv2 >= 0.3.92
3352f896 36BuildRequires: vala-libgee >= 0.5.0
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} \
ef4a4c23
MB
59 --disable-schemas-install \
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
73407465
JB
73# ta_IN is a duplicate of ta
74# te_IN is incomplete duplicate of te
75%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ta_IN,te_IN}
57bbc534 76
c88ae34c 77%find_lang shotwell --with-gnome
910bb999
MB
78%find_lang shotwell-extras
79
80cat shotwell.lang shotwell-extras.lang > shotwell-all.lang
ef4a4c23 81
73407465 82%{__rm} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled
57bbc534 83
ef4a4c23
MB
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post
ef4a4c23
MB
88%update_icon_cache hicolor
89%update_desktop_database
3352f896 90%glib_compile_schemas
ef4a4c23 91
ef4a4c23
MB
92%postun
93%update_icon_cache hicolor
94%update_desktop_database_postun
3352f896 95%glib_compile_schemas
ef4a4c23 96
910bb999 97%files -f shotwell-all.lang
ef4a4c23
MB
98%defattr(644,root,root,755)
99%doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
fb983c00 100%attr(755,root,root) %{_bindir}/shotwell*
16625d9e
JK
101%{_desktopdir}/%{name}-viewer.desktop
102%{_desktopdir}/%{name}.desktop
103%{_datadir}/%{name}
9efefa8e 104%{_datadir}/GConf/gsettings/*.convert
105%{_datadir}/glib-2.0/schemas/*.gschema.xml
16625d9e
JK
106%dir %{_libdir}/%{name}
107%dir %{_libdir}/%{name}/plugins
108%dir %{_libdir}/%{name}/plugins/builtin
109%{_libdir}/%{name}/plugins/builtin/*.png
110%{_libdir}/%{name}/plugins/builtin/*.glade
111%attr(755,root,root) %{_libdir}/%{name}/plugins/builtin/*.so
ef4a4c23 112%{_iconsdir}/hicolor/*/*/*.svg
This page took 0.14819 seconds and 4 git commands to generate.