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