]> git.pld-linux.org Git - packages/shotwell.git/blame - shotwell.spec
- new
[packages/shotwell.git] / shotwell.spec
CommitLineData
ef4a4c23
MB
1Summary: Photo manager for GNOME
2Name: shotwell
3Version: 0.5.2
4Release: 1
5License: LGPL v2+ and CC-BY-SA
6Group: X11/Applications
7Source0: http://yorba.org/download/shotwell/0.5/%{name}-%{version}.tar.bz2
8# Source0-md5: a347765f3a6ae8408a97d559ed50b0b8
9URL: http://yorba.org/shotwell/
10BuildRequires: GConf2-devel >= 2.22.0
11BuildRequires: dbus-glib-devel >= 0.80.0
12BuildRequires: gettext-devel
13BuildRequires: gtk+2-devel >= 2:2.14.4
14BuildRequires: gtk-webkit-devel >= 1.1.5
15BuildRequires: libexif-devel >= 0.6.16
16BuildRequires: libgee-devel >= 0.5.0
17BuildRequires: libgphoto2-devel >= 2.4.2
18BuildRequires: libsoup-devel >= 2.26.0
19BuildRequires: libunique-devel >= 1.0.0
20BuildRequires: libusb-compat-devel
21BuildRequires: libxml2-devel >= 1:2.6.32
22BuildRequires: pkgconfig
23BuildRequires: rpmbuild(macros) >= 1.311
24BuildRequires: sqlite3-devel >= 3.5.9
25BuildRequires: udev-glib-devel >= 145
26BuildRequires: vala >= 0.8.0
27Requires(post,postun): desktop-file-utils
28Requires(post,postun): gtk+2
29Requires(post,preun): GConf2
30Requires: hicolor-icon-theme
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34Shotwell is a digital photo organizer designed for the GNOME desktop
35environment. It allows you to import photos from disk or camera,
36organize them in various ways, view them in full-window or fullscreen
37mode, 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
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%find_lang shotwell
59
60%clean
61rm -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
This page took 0.832067 seconds and 4 git commands to generate.