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