1 |
%define name rapid-photo-downloader |
2 |
%define version 0.3.4 |
3 |
%define release %mkrel 1 |
4 |
%define Summary Images downloader for external devices |
5 |
%define _iconstheme hicolor |
6 |
%define _icons16dir %_iconsdir/%{_iconstheme}/16x16/apps |
7 |
%define _icons22dir %_iconsdir/%{_iconstheme}/22x22/apps |
8 |
%define _icons24dir %_iconsdir/%{_iconstheme}/24x24/apps |
9 |
%define _icons48dir %_iconsdir/%{_iconstheme}/48x48/apps |
10 |
|
11 |
|
12 |
Summary: %Summary |
13 |
Name: %name |
14 |
Version: %version |
15 |
Release: %release |
16 |
Source0: http://launchpad.net/rapid/trunk/%{version}/+download/%{name}-%{version}.tar.gz |
17 |
License: GPLv2 |
18 |
Group: Graphics |
19 |
URL: http://damonlynch.net/rapid |
20 |
BuildArch: noarch |
21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
22 |
BuildRequires: python-devel >= 2.5 |
23 |
BuildRequires: desktop-file-utils |
24 |
Requires: findutils |
25 |
Requires: python-imaging |
26 |
Requires: python-kaa-metadata |
27 |
Requires: gtk2 |
28 |
Requires: pygtk2 |
29 |
Requires: python-exiv2 |
30 |
Requires: exiv2 |
31 |
Requires: hicolor-icon-theme |
32 |
Requires: gnome-python-gconf |
33 |
Requires: ffmpegthumbnailer |
34 |
Suggests: librsvg2 |
35 |
|
36 |
%description |
37 |
Rapid Photo Downloader is written by a photographer for professional |
38 |
and amateur photographers. Released under the GNU GPL license, it is |
39 |
designed for use on the Linux Desktop. It can download photos from |
40 |
multiple cameras, memory cards, and Portable Storage Devices |
41 |
simultaneously. It provides many options for subfolder |
42 |
creation, image renaming and backup. |
43 |
|
44 |
%files -f %{name}.lang |
45 |
%defattr(-,root,root) |
46 |
%doc rapid/AUTHORS rapid/ChangeLog rapid/COPYING README |
47 |
%{_bindir}/%{name} |
48 |
%{_datadir}/applications/%{name}.desktop |
49 |
%_icons16dir/%{name}.png |
50 |
%_icons22dir/%{name}.png |
51 |
%_icons24dir/%{name}.png |
52 |
%_icons48dir/%{name}.png |
53 |
%_datadir/pixmaps/%{name}.png |
54 |
%_datadir/pixmaps/%{name}.xpm |
55 |
%{py_puresitedir}/rapid/ |
56 |
%{py_puresitedir}/*.egg-info |
57 |
|
58 |
#--------------------------------------------------------------------- |
59 |
|
60 |
%prep |
61 |
%setup -q |
62 |
|
63 |
%build |
64 |
|
65 |
|
66 |
%install |
67 |
%__rm -rf %{buildroot} |
68 |
%__python setup.py install --root=%{buildroot} |
69 |
|
70 |
chmod 755 %{buildroot}/%{py_puresitedir}/rapid/renamesubfolderprefs.py \ |
71 |
%{buildroot}/%{py_puresitedir}/rapid/common.py %{buildroot}/%{py_puresitedir}/rapid/metadata.py \ |
72 |
%{buildroot}/%{py_puresitedir}/rapid/media.py %{buildroot}/%{py_puresitedir}/rapid/tableplusminus.py \ |
73 |
%{buildroot}/%{py_puresitedir}/rapid/misc.py %{buildroot}/%{py_puresitedir}/rapid/rapid.py \ |
74 |
%{buildroot}/%{py_puresitedir}/rapid/renamesubfolderprefstest.py |
75 |
|
76 |
%find_lang %{name} |
77 |
|
78 |
%clean |
79 |
%__rm -rf %{buildroot} |
80 |
|
81 |
|