]>
Commit | Line | Data |
---|---|---|
71912001 | 1 | |
2 | Summary: A KDE frontend for gphoto2 | |
3 | Name: digikam | |
4 | Version: 0.5.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Source0: http://dl.sourceforge.net/digikam/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 94ec87692a673a5a479162041a10e2fc | |
10 | URL: http://digikam.sourceforge.net/ | |
11 | BuildRequires: libgphoto2-devel | |
12 | BuildRequires: kdelibs-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _htmldir /usr/share/doc/kde/HTML | |
16 | %define _prefix /usr/X11R6 | |
17 | %define _mandir %{_prefix}/man | |
18 | ||
19 | ||
20 | %description | |
21 | Designed to be a standalone application to preview and download images | |
22 | from a digital camera on a linux machine. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | kde_appsdir="%{_applnkdir}"; export kde_appsdir | |
29 | kde_htmldir="%{_htmldir}"; export kde_htmldir | |
30 | kde_icondir="%{_pixmapsdir}"; export kde_icondir | |
31 | ||
32 | ||
33 | %configure2_13 \ | |
34 | --disable-rpath \ | |
35 | --enable-final | |
36 | ||
37 | %{__make} | |
38 | ||
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | %{__make} DESTDIR=$RPM_BUILD_ROOT install | |
43 | ||
44 | %find_lang %{name} --with-kde | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files -f %{name}.lang | |
50 | %defattr(644,root,root,755) | |
51 | %doc README | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %{_applnkdir}/Graphics/* | |
54 | %{_datadir}/apps/digikam | |
55 | %{_pixmapsdir}/[!l]*/*/*/* |