]>
Commit | Line | Data |
---|---|---|
ef4a4c23 MB |
1 | Summary: Photo manager for GNOME |
2 | Name: shotwell | |
3 | Version: 0.5.2 | |
4 | Release: 1 | |
5 | License: LGPL v2+ and CC-BY-SA | |
6 | Group: X11/Applications | |
7 | Source0: http://yorba.org/download/shotwell/0.5/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: a347765f3a6ae8408a97d559ed50b0b8 | |
9 | URL: http://yorba.org/shotwell/ | |
10 | BuildRequires: GConf2-devel >= 2.22.0 | |
11 | BuildRequires: dbus-glib-devel >= 0.80.0 | |
12 | BuildRequires: gettext-devel | |
13 | BuildRequires: gtk+2-devel >= 2:2.14.4 | |
14 | BuildRequires: gtk-webkit-devel >= 1.1.5 | |
15 | BuildRequires: libexif-devel >= 0.6.16 | |
16 | BuildRequires: libgee-devel >= 0.5.0 | |
17 | BuildRequires: libgphoto2-devel >= 2.4.2 | |
18 | BuildRequires: libsoup-devel >= 2.26.0 | |
19 | BuildRequires: libunique-devel >= 1.0.0 | |
20 | BuildRequires: libusb-compat-devel | |
21 | BuildRequires: libxml2-devel >= 1:2.6.32 | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: rpmbuild(macros) >= 1.311 | |
24 | BuildRequires: sqlite3-devel >= 3.5.9 | |
25 | BuildRequires: udev-glib-devel >= 145 | |
26 | BuildRequires: vala >= 0.8.0 | |
27 | Requires(post,postun): desktop-file-utils | |
28 | Requires(post,postun): gtk+2 | |
29 | Requires(post,preun): GConf2 | |
30 | Requires: hicolor-icon-theme | |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | Shotwell is a digital photo organizer designed for the GNOME desktop | |
35 | environment. It allows you to import photos from disk or camera, | |
36 | organize them in various ways, view them in full-window or fullscreen | |
37 | mode, and export them to share with others. | |
38 | ||
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | ./configure \ | |
44 | --prefix=%{_prefix} \ | |
45 | --disable-schemas-install \ | |
46 | --disable-desktop-update \ | |
47 | --disable-icon-update | |
48 | %{__make} \ | |
49 | CC="%{__cc}" \ | |
50 | CFLAGS="%{rpmcflags}" | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %{__make} install \ | |
56 | DESTDIR=$RPM_BUILD_ROOT | |
57 | ||
58 | %find_lang shotwell | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | %gconf_schema_install shotwell.schemas | |
65 | %update_icon_cache hicolor | |
66 | %update_desktop_database | |
67 | ||
68 | %preun | |
69 | %gconf_schema_uninstall shotwell.schemas | |
70 | ||
71 | %postun | |
72 | %update_icon_cache hicolor | |
73 | %update_desktop_database_postun | |
74 | ||
75 | %files -f shotwell.lang | |
76 | %defattr(644,root,root,755) | |
77 | %doc AUTHORS COPYING MAINTAINERS NEWS README THANKS | |
78 | %attr(755,root,root) %{_bindir}/shotwell | |
79 | %{_desktopdir}/shotwell-viewer.desktop | |
80 | %{_desktopdir}/shotwell.desktop | |
81 | %{_datadir}/shotwell | |
82 | %{_sysconfdir}/gconf/schemas/shotwell.schemas | |
83 | %{_iconsdir}/hicolor/*/*/*.svg |