Keep the progress/cancel toolbar permanently visible
[entangle:entangle.git] / entangle.spec.in
1 # -*- rpm-spec -*-
2
3 Summary: Tethered shooting & control of digital cameras
4 Name: entangle
5 Version: @VERSION@
6 Release: 1%{?dist}%{?extra_release}
7 License: GPLv3+
8 Group: Applications/Multimedia
9 Source: http://entangle-photo.org/download/sources/%{name}-%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
11 URL: http://entangle-photo.org/
12
13 BuildRequires: glib2-devel >= 2.26.0
14 BuildRequires: gtk3-devel >= 3.0
15 BuildRequires: libgphoto2-devel >= 2.4.11
16 BuildRequires: libgudev1-devel >= 145
17 BuildRequires: dbus-glib-devel >= 0.60
18 BuildRequires: lcms-devel >= 1.18
19 BuildRequires: gobject-introspection-devel
20 BuildRequires: libpeas-devel >= 0.5.5
21 BuildRequires: libgexiv2-devel >= 0.2.2
22 BuildRequires: intltool
23 BuildRequires: libX11-devel
24 BuildRequires: libXext-devel >= 1.3.0
25 BuildRequires: LibRaw-devel >= 0.9.0
26
27 Requires(post): desktop-file-utils
28 Requires(postun): desktop-file-utils
29
30 %description
31 Entangle is an application which uses GTK and libgphoto2 to provide a
32 graphical interface for tethered photography with digital cameras.
33
34 It includes control over camera shooting and configuration settings
35 and 'hands off' shooting directly from the controlling computer.
36
37 %prep
38 %setup -q
39
40 %build
41
42 %configure --disable-schemas-compile
43 make %{?_smp_mflags} V=1
44
45 %install
46 rm -fr %{buildroot}
47
48 make install DESTDIR=$RPM_BUILD_ROOT
49 rm -rf %{buildroot}%{_datadir}/%{name}/website
50 %find_lang %{name}
51
52 %clean
53 rm -fr %{buildroot}
54
55 %post
56 update-desktop-database %{_datadir}/applications
57 glib-compile-schemas /usr/share/glib-2.0/schemas ||:
58
59 %postun
60 update-desktop-database %{_datadir}/applications
61 glib-compile-schemas /usr/share/glib-2.0/schemas ||:
62
63 %files -f %{name}.lang
64 %defattr(-, root, root)
65 %doc README COPYING AUTHORS NEWS ChangeLog
66 %{_bindir}/entangle
67 %{_mandir}/man1/entangle.1*
68 %{_datadir}/%{name}/%{name}-camera-info.ui
69 %{_datadir}/%{name}/%{name}-camera-manager.ui
70 %{_datadir}/%{name}/%{name}-camera-picker.ui
71 %{_datadir}/%{name}/%{name}-camera-support.ui
72 %{_datadir}/%{name}/%{name}-help-about.ui
73 %{_datadir}/%{name}/%{name}-image-popup.ui
74 %{_datadir}/%{name}/%{name}-preferences-display.ui
75 %{_datadir}/%{name}/%{name}-16x16.png
76 %{_datadir}/%{name}/%{name}-32x32.png
77 %{_datadir}/%{name}/%{name}-48x48.png
78 %{_datadir}/%{name}/%{name}-64x64.png
79 %{_datadir}/%{name}/%{name}-128x128.png
80 %{_datadir}/%{name}/%{name}-256x256.png
81 %{_datadir}/%{name}/%{name}.svg
82 %{_datadir}/%{name}/icons
83 %{_datadir}/%{name}/plugins.png
84 %{_datadir}/%{name}/plugins-22.png
85 %{_datadir}/%{name}/capture.png
86 %{_datadir}/%{name}/capture-22.png
87 %{_datadir}/%{name}/color-management.png
88 %{_datadir}/%{name}/color-management-22.png
89 %{_datadir}/%{name}/interface.png
90 %{_datadir}/%{name}/interface-22.png
91 %{_datadir}/%{name}/imageviewer.png
92 %{_datadir}/%{name}/imageviewer-22.png
93 %{_datadir}/%{name}/sRGB.icc
94 %{_datadir}/gtk-doc/html/Entangle
95 %{_datadir}/applications/%{name}.desktop
96 %{_datadir}/appdata/%{name}.appdata.xml
97 %{_datadir}/glib-2.0/schemas/org.entangle-photo.manager.gschema.xml
98 %{_datadir}/gir-1.0/Entangle-0.1.gir
99 %{_libdir}/girepository-1.0/Entangle-0.1.typelib
100 %dir %{_libdir}/%{name}
101 %dir %{_libdir}/%{name}/plugins
102 %dir %{_datadir}/%{name}/plugins
103
104 %changelog