]> git.pld-linux.org Git - packages/shotwell.git/blame - shotwell.spec
- Version: 0.12.1
[packages/shotwell.git] / shotwell.spec
CommitLineData
ef4a4c23
MB
1Summary: Photo manager for GNOME
2Name: shotwell
c36b8ab3
JK
3Version: 0.12.1
4Release: 1
ef4a4c23
MB
5License: LGPL v2+ and CC-BY-SA
6Group: X11/Applications
cbd0b1ac 7Source0: http://yorba.org/download/shotwell/0.12/%{name}-%{version}.tar.bz2
c36b8ab3 8# Source0-md5: af2fa1f6d9ee498c0e23c23d8bb9fc7b
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
cbd0b1ac
JK
14BuildRequires: glib2-devel >= 2.30.0
15BuildRequires: gstreamer-devel >= 0.10.28
16BuildRequires: gstreamer-plugins-base-devel >= 0.10.32
17BuildRequires: gtk+3-devel >= 3.0.11
18BuildRequires: gtk-webkit3-devel >= 1.4.0
19BuildRequires: json-glib-devel >= 0.6.16
ef4a4c23 20BuildRequires: libexif-devel >= 0.6.16
ef4a4c23 21BuildRequires: libgphoto2-devel >= 2.4.2
cbd0b1ac 22BuildRequires: libraw-devel >= 0.9.0
ef4a4c23 23BuildRequires: libsoup-devel >= 2.26.0
cbd0b1ac 24BuildRequires: libunique3-devel >= 3.0.0
ef4a4c23
MB
25BuildRequires: libusb-compat-devel
26BuildRequires: libxml2-devel >= 1:2.6.32
6cdc458b 27BuildRequires: m4
ef4a4c23 28BuildRequires: pkgconfig
57bbc534 29BuildRequires: rest-devel >= 0.7
ef4a4c23
MB
30BuildRequires: rpmbuild(macros) >= 1.311
31BuildRequires: sqlite3-devel >= 3.5.9
32BuildRequires: udev-glib-devel >= 145
cbd0b1ac 33BuildRequires: vala >= 1:0.15.2
efb01975 34BuildRequires: vala-libgee >= 0.5.0
cbd0b1ac 35BuildRequires: vala-gexiv2 >= 0.3.92
ef4a4c23 36Requires(post,postun): desktop-file-utils
a7666439
AF
37Requires(post,postun): gtk-update-icon-cache
38Requires(post,postun): hicolor-icon-theme
ef4a4c23
MB
39Requires: hicolor-icon-theme
40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43Shotwell is a digital photo organizer designed for the GNOME desktop
44environment. It allows you to import photos from disk or camera,
45organize them in various ways, view them in full-window or fullscreen
46mode, and export them to share with others.
47
48%prep
49%setup -q
57bbc534 50%patch0 -p1
ef4a4c23
MB
51
52%build
6cdc458b 53# this is not autoconf generated
ef4a4c23
MB
54./configure \
55 --prefix=%{_prefix} \
6426964a 56 --lib=%{_lib} \
ef4a4c23
MB
57 --disable-schemas-install \
58 --disable-desktop-update \
59 --disable-icon-update
16625d9e 60
ef4a4c23
MB
61%{__make} \
62 CC="%{__cc}" \
57bbc534 63 RPMCFLAGS="%{rpmcflags}"
ef4a4c23
MB
64
65%install
66rm -rf $RPM_BUILD_ROOT
67
68%{__make} install \
6426964a 69 DESTDIR=$RPM_BUILD_ROOT
16625d9e 70
57bbc534
JK
71# not in glibc
72rm -r $RPM_BUILD_ROOT%{_localedir}/{ta_IN,te_IN}
73
c88ae34c 74%find_lang shotwell --with-gnome
910bb999
MB
75%find_lang shotwell-extras
76
77cat shotwell.lang shotwell-extras.lang > shotwell-all.lang
ef4a4c23 78
57bbc534
JK
79rm $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/gschemas.compiled
80
ef4a4c23
MB
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post
ef4a4c23
MB
85%update_icon_cache hicolor
86%update_desktop_database
87
ef4a4c23
MB
88%postun
89%update_icon_cache hicolor
90%update_desktop_database_postun
91
910bb999 92%files -f shotwell-all.lang
ef4a4c23
MB
93%defattr(644,root,root,755)
94%doc AUTHORS COPYING MAINTAINERS NEWS README THANKS
fb983c00 95%attr(755,root,root) %{_bindir}/shotwell*
16625d9e
JK
96%{_desktopdir}/%{name}-viewer.desktop
97%{_desktopdir}/%{name}.desktop
98%{_datadir}/%{name}
9efefa8e 99%{_datadir}/GConf/gsettings/*.convert
100%{_datadir}/glib-2.0/schemas/*.gschema.xml
16625d9e
JK
101%dir %{_libdir}/%{name}
102%dir %{_libdir}/%{name}/plugins
103%dir %{_libdir}/%{name}/plugins/builtin
104%{_libdir}/%{name}/plugins/builtin/*.png
105%{_libdir}/%{name}/plugins/builtin/*.glade
106%attr(755,root,root) %{_libdir}/%{name}/plugins/builtin/*.so
ef4a4c23 107%{_iconsdir}/hicolor/*/*/*.svg
This page took 0.308575 seconds and 4 git commands to generate.