Add further help manual pages
[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.36.0
14 BuildRequires: gtk3-devel >= 3.6
15 BuildRequires: libgphoto2-devel >= 2.4.11
16 BuildRequires: libgudev1-devel >= 145
17 BuildRequires: dbus-glib-devel >= 0.60
18 BuildRequires: lcms2-devel >= 2.0
19 BuildRequires: gobject-introspection-devel
20 BuildRequires: libpeas-devel >= 1.2.0
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 BuildRequires: gnome-icon-theme-symbolic
28 Requires: gnome-icon-theme-symbolic
29
30 Requires(post): desktop-file-utils
31 Requires(postun): desktop-file-utils
32
33 %description
34 Entangle is an application which uses GTK and libgphoto2 to provide a
35 graphical interface for tethered photography with digital cameras.
36
37 It includes control over camera shooting and configuration settings
38 and 'hands off' shooting directly from the controlling computer.
39
40 %prep
41 %setup -q
42
43 %build
44
45 %configure --disable-schemas-compile
46 make %{?_smp_mflags} V=1
47
48 %install
49 rm -fr %{buildroot}
50
51 make install DESTDIR=$RPM_BUILD_ROOT
52 rm -rf %{buildroot}%{_datadir}/%{name}/website
53 %find_lang %{name}
54
55 rm -f %{buildroot}%{_libdir}/libentangle_backend.so
56 rm -f %{buildroot}%{_libdir}/libentangle_backend.la
57 rm -f %{buildroot}%{_libdir}/libentangle_frontend.so
58 rm -f %{buildroot}%{_libdir}/libentangle_frontend.la
59
60 %clean
61 rm -fr %{buildroot}
62
63 %post
64 update-desktop-database %{_datadir}/applications
65 glib-compile-schemas /usr/share/glib-2.0/schemas ||:
66 touch -c %{_datadir}/icons/hicolor
67 if [ -x /usr/bin/gtk-update-icon-cache ]; then
68         /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
69 fi
70
71 %postun
72 update-desktop-database %{_datadir}/applications
73 glib-compile-schemas /usr/share/glib-2.0/schemas ||:
74 touch -c %{_datadir}/icons/hicolor
75 if [ -x /usr/bin/gtk-update-icon-cache ]; then
76         /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
77 fi
78
79 %files -f %{name}.lang
80 %defattr(-, root, root)
81 %doc README COPYING AUTHORS NEWS ChangeLog
82 %{_bindir}/entangle
83 %{_mandir}/man1/entangle.1*
84
85 %{_libdir}/libentangle_backend.so.0
86 %{_libdir}/libentangle_backend.so.0.0.0
87 %{_libdir}/libentangle_frontend.so.0
88 %{_libdir}/libentangle_frontend.so.0.0.0
89
90 %dir %{_libdir}/%{name}
91 %dir %{_libdir}/%{name}/plugins
92 %dir %{_datadir}/%{name}
93 %dir %{_datadir}/%{name}/plugins
94
95 %{_datadir}/%{name}/%{name}-camera-manager.ui
96 %{_datadir}/%{name}/%{name}-camera-picker.ui
97 %{_datadir}/%{name}/%{name}-camera-support.ui
98 %{_datadir}/%{name}/%{name}-help-about.ui
99 %{_datadir}/%{name}/%{name}-image-popup.ui
100 %{_datadir}/%{name}/%{name}-preferences-display.ui
101
102 %{_datadir}/icons/hicolor/*/apps/entangle.png
103 %{_datadir}/icons/hicolor/*/apps/entangle-*.png
104 %{_datadir}/icons/hicolor/scalable/apps/entangle.svg
105
106 %dir %{_datadir}/help/C/entangle/
107 %{_datadir}/help/C/entangle/*.page
108 %{_datadir}/help/C/entangle/*.xml
109 %dir %{_datadir}/help/C/entangle/figures
110 %{_datadir}/help/C/entangle/figures/*.png
111
112 %dir %{_libdir}/%{name}/plugins/photobox
113 %dir %{_datadir}/%{name}/plugins/photobox
114 %dir %{_datadir}/%{name}/plugins/photobox/schemas
115 %{_libdir}/%{name}/plugins/photobox/photobox.plugin
116 %{_libdir}/%{name}/plugins/photobox/photobox.py*
117 %{_datadir}/%{name}/plugins/photobox/schemas/gschemas.compiled
118 %{_datadir}/%{name}/plugins/photobox/schemas/org.entangle-photo.plugins.photobox.gschema.xml
119
120 %dir %{_libdir}/%{name}/plugins/shooter
121 %dir %{_datadir}/%{name}/plugins/shooter
122 %dir %{_datadir}/%{name}/plugins/shooter/schemas
123 %{_libdir}/%{name}/plugins/shooter/shooter.plugin
124 %{_libdir}/%{name}/plugins/shooter/shooter.py*
125 %{_datadir}/%{name}/plugins/shooter/schemas/gschemas.compiled
126 %{_datadir}/%{name}/plugins/shooter/schemas/org.entangle-photo.plugins.shooter.gschema.xml
127
128 %{_datadir}/%{name}/sRGB.icc
129 %{_datadir}/gtk-doc/html/Entangle
130 %{_datadir}/applications/%{name}.desktop
131 %{_datadir}/appdata/%{name}.appdata.xml
132 %{_datadir}/glib-2.0/schemas/org.entangle-photo.manager.gschema.xml
133 %{_datadir}/gir-1.0/Entangle-0.1.gir
134 %{_libdir}/girepository-1.0/Entangle-0.1.typelib
135
136 %changelog